[][src]Module bracket::lexer

Iterator for grammar tokens.

Structs

Extras

Identity type for the lexer modes.

Lexer

Iterator for a stream of grammar tokens.

Enums

Array
Block
Comment
DoubleQuoteString
Parameters
RawComment
RawStatement
SingleQuoteString
Statement
Token

Type emitted by the iterator.

Functions

collect

Collect the input source into a vector of tokens.

lex

Get a token iterator for the given source template.