logo
class

compiler::LiteralExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::LiteralExpr

LiteralExpr puts an Bool, Int, Float, Str, Duration, Uri, or null constant onto the stack.

Slots

asTableSwitchCase

virtual Int asTableSwitchCase()

make

new make(Location location, ExprId id, CType ctype, Obj val)

makeFor

static const LiteralExpr makeFor(Location loc, Namespace ns, Obj val)

serialize

virtual Str serialize()

toStr

virtual Str toStr()

val

Obj val