Private abstract syntax three
Private contextual (semantic) syntax three
Private tokens array with token context
Expose _ast
Expose _tokens
Give context to each command and expose as _semantic
Convert _tokens into nodes and attach values
Check if a value is required by the token
Token enum
Check if the token is actually an annotation
Token enum
Check if a token is a keyword
Token enum
Check if the token is a top level (seperate) one
Token enum
Function that takes a statement array and an index to start looking for tokens with values and attach them with annotations if possible. Returns a node for the new keyword + values with annotations and the index it finished on so the main process can continue from there.
Array of TokenContext that forms a statement
Index to start looking for values + annotations
Generated using TypeDoc
Parser class that converts tokens into a abstract syntax three