/datum/n_Scanner
Vars | |
errors | A list of fatal errors found by the scanner. If there are any items in this list, then it is not safe to parse the returned tokens. |
---|---|
warnings | A list of non-fatal problems in the source code found by the scanner. |
Procs | |
LoadCode | Loads source code. |
LoadCodeFromFile | Gets the code from a file and calls LoadCode() |
Scan | Runs the scanner and returns the resulting list of tokens. Ensure that <LoadCode()> has been called first. |
Var Details
errors
A list of fatal errors found by the scanner. If there are any items in this list, then it is not safe to parse the returned tokens.
warnings
A list of non-fatal problems in the source code found by the scanner.
Proc Details
LoadCode
Loads source code.
LoadCodeFromFile
Gets the code from a file and calls LoadCode()
Scan
Runs the scanner and returns the resulting list of tokens. Ensure that <LoadCode()> has been called first.