Expr
@Js
const abstract class Expr : Obj
Expr is the base class for Axon AST nodes. All expressions are immutable classes safe to share between threads once parsed.
Encode the AST into a tree of dicts
Print to string
Location of this expression in source code or Loc.unknown
Evaluate this expression
Dict encode()
Encode the AST into a tree of dicts. See parseAst().
abstract Obj? eval(AxonContext cx)
Evaluate this expression.
abstract Loc loc()
Location of this expression in source code or Loc.unknown.
virtual Str toStr()
Print to string