Fantom

 

abstract class

compiler::NameExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::NameExpr

NameExpr is the base class for an identifier expression which has an optional base expression. NameExpr is the base class for UnknownVarExpr and CallExpr which are resolved via CallResolver

Slots

isAlwaysNullableSource

override Bool isAlwaysNullable()

Return if this expression is guaranteed to sometimes return a null result (safe invoke, as, etc)

isSafeSource

Bool isSafe

makeSource

new make(Loc loc, ExprId id, Expr? target, Str? name)

nameSource

Str? name

targetSource

Expr? target

toStrSource

override Str toStr()

Overrides compiler::Expr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

walkChildrenSource

override Void walkChildren(Visitor v)