/datum/n_Parser
Vars | |
curToken | The token at |
---|---|
errors | A list of fatal errors found by the parser. If there are any items in this list, then it is not safe to run the returned AST. |
index | The parser's current position in the token's list. |
tokens | A list of tokens in the source code generated by a scanner. |
warnings | A list of non-fatal problems in the script. |
Procs | |
NextToken | Sets |
Parse | Reads the tokens and returns the AST's |
Var Details
curToken
The token at
errors
A list of fatal errors found by the parser. If there are any items in this list, then it is not safe to run the returned AST.
index
The parser's current position in the token's list.
tokens
A list of tokens in the source code generated by a scanner.
warnings
A list of non-fatal problems in the script.
Proc Details
NextToken
Sets
Parse
Reads the tokens and returns the AST's