/datum/n_Scanner/nS_Scanner
Vars | |
codepos | The scanner's position in the source code. |
---|---|
delim | List of characters that denote the start of a new token. This list is automatically populated. |
end_stmt | List of characters that end a statement. Each item may only be one character long. Default is a semicolon. |
ignore | List of characters that are ignored by the scanner. Default is whitespace. |
string_delim | List of characters that can start and end strings. Default is double and single quotes. |
Procs | |
ReadNumber | Reads a number into a token. |
ReadString | ReadString Reads a string in the source code into a token. Arguments: start - The character used to start the string. |
ReadSymbol | Reads a symbol into a token. |
ReadWord | Reads characters separated by an item in |
Var Details
codepos
The scanner's position in the source code.
delim
List of characters that denote the start of a new token. This list is automatically populated.
end_stmt
List of characters that end a statement. Each item may only be one character long. Default is a semicolon.
ignore
List of characters that are ignored by the scanner. Default is whitespace.
string_delim
List of characters that can start and end strings. Default is double and single quotes.
Proc Details
ReadNumber
Reads a number into a token.
ReadString
ReadString Reads a string in the source code into a token. Arguments: start - The character used to start the string.
ReadSymbol
Reads a symbol into a token.
ReadWord
Reads characters separated by an item in