Crate tonic_parser[][src]


The main Lexer that handles producing Token instances.

The Parameter struct is used to represent a function parameter.

Stores information regarding a token.


The Op enumeration is used to represent prefix, infix and other operations.

The main type of Node in Tonic. Every line in the source code will eventually be parsed into a Statement, including arbitrary expressions.

Represents the “kind” of a token.

Type Definitions

A type-alias that represents the start and end point of a token.