AST node representing the entry point for a 'set' command with an identifier and a value child
More...
|
| SetASTNode (string ident, VariableASTNode val) |
| Initializes a new instance of the T:MB2D.SetASTNode class. More...
|
|
override void | Handle (MBConsole console) |
| Handles setting the variable using the consoles Vars property. Checks if the identifier only starts with an alpha or underscore and handles any type checking or parse errors. More...
|
|
AST node representing the entry point for a 'set' command with an identifier and a value child
§ SetASTNode()
Initializes a new instance of the T:MB2D.SetASTNode class.
- Parameters
-
ident | Identifier of the variable. |
val | Value to assign. |
§ Handle()
override void MB2D.SetASTNode.Handle |
( |
MBConsole |
console | ) |
|
|
inlinevirtual |
Handles setting the variable using the consoles Vars property. Checks if the identifier only starts with an alpha or underscore and handles any type checking or parse errors.
- Parameters
-
console | Console to handle. |
Implements MB2D.MBConsoleASTNode.
The documentation for this class was generated from the following file:
- MB2D/src/MBConsole/MBConsoleAST.cs