KeyValStmt class
For convenience, table {key, value} expressions
are encoded as this node.
Constructors
- KeyValStmt({required MathExpr key, required MathExpr value})
-
Constructs the pair with a given
key. - KeyValStmt.autokey(MathExpr value)
- Constructs the pair without a key. Lua assigns an integer key in this situation.
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