DeclVar class
This represents a variable declaration in lua. The variable name will be id. It may have initialization terms provided by init.
Constructors
- DeclVar.initNil(Token id)
- Convenience to construct nil lua grammar node.
- DeclVar.initValue(Token id, {required MathExpr value})
-
Constructor expects a
value. If constructing a nil variable, see DeclVar.initNil.
Properties
Methods
-
accept<
R> (Visitor< R> v) → R -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited