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.
- asTableSwitchCase
-
virtual override Int? asTableSwitchCase()
- isAlwaysNullable
-
virtual override Bool isAlwaysNullable()
- make
- makeDefaultLiteral
-
static LiteralExpr makeDefaultLiteral(Loc loc, CNamespace ns, CType ctype)
- makeFalse
-
new makeFalse(Loc loc, CNamespace ns)
- makeNull
-
new makeNull(Loc loc, CNamespace ns)
- makeStr
-
new makeStr(Loc loc, CNamespace ns, Str val)
- makeTrue
-
new makeTrue(Loc loc, CNamespace ns)
- serialize
-
virtual override Str serialize()
- toStr
-
virtual override Str toStr()
- val
-
Obj? val