Struct ratel::tokenizer::Tokenizer [] [src]

pub struct Tokenizer<'a> { /* fields omitted */ }

Methods

impl<'a> Tokenizer<'a>
[src]

On top of being called when the opening backtick (`) of a template literal occurs, this method needs to be used by the parser while parsing a complex template string expression.

Note: Parser needs to expect a BraceClose token before calling this method to ensure that the tokenizer state is not corrupted.

Check if Automatic Semicolon Insertion rules can be applied