class AST
AST Node Interface.
implemented by Constant and Cell.
index
members
-
ast\eval(scope)
– evaluate this AST Node. -
ast\clone(parent)
– create a clone with its own identity. -
ast\stringify()
– stringify this AST Node.
details
members
-
– evaluate this AST Node.
Evaluate this node and return a RTNode.
parameters:
- the scope to evaluate in
returns:
- (RTNode): the evaluation result
-
– create a clone with its own identity.
creates a clone of this Cell with its own identity by prepending a parent Tag (and cloning all child expressions recursively).
parameters:
returns:
- (AST)
-
– stringify this AST Node.
Should return the exact string this node was parsed from (if it was parsed).
returns:
- (string): the exact string this Node was parsed from