[−][src]Module sixtyfps_compilerlib::parser
The sixtyfps language parser
This module is responsible to parse a string onto a syntax tree.
The core of it is the DefaultParser
class that holds a list of token and
generates a rowan::GreenNode
This module has different sub modules with the actual parser functions
Modules
syntax_nodes |
Structs
DefaultParser | |
Node | The return value of |
NodeOrTokenWithSourceFile | |
NodeToken | A token to proof that start_node_impl and finish_node_impl are only called from the Node implementation |
SmolStr | A |
SyntaxNodeWithSourceFile | |
SyntaxTokenWithSourceFile | |
Token |
Enums
Language | |
SyntaxKind |
Traits
Parser | |
SyntaxNodeEx | Helper functions to easily get the children of a given kind. This traits is only supposed to be implemented on SyntaxNope |
Functions
lex_next_token | Returns a pair of the matched token type at the beginning of |
parse | |
parse_file | |
parse_tokens |
Type Definitions
SyntaxNode | |
SyntaxToken |