[][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

Tokens for square bracket raw literals.

Block

Tokens for the document and nested blocks.

Comment

Tokens for comments.

DoubleQuoteString

Tokens for double-quoted string literals.

Link

Tokens for links.

Parameters

Tokens for parameters.

RawComment

Tokens for raw comments.

RawStatement

Tokens for raw statements.

SingleQuoteString

Tokens for single-quoted string literals.

Token

Enumeration of the token types.

Functions

collect

Collect the input source into a vector of tokens.

lex

Get a token iterator for the given source template.