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

override Int asTableSwitchCase()

make

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

makeFor

static LiteralExpr makeFor(Location loc, CNamespace ns, Obj val)

serialize

override Str serialize()

toStr

override Str toStr()

val

Obj val