Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/n_Scanner

Vars

errorsA 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.
warningsA list of non-fatal problems in the source code found by the scanner.

Procs

LoadCodeLoads source code.
LoadCodeFromFileGets the code from a file and calls LoadCode()
ScanRuns 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.