Fan

 

class

compiler::ComplexLiteral

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::ComplexLiteral

ComplexLiteral is used to model a serialized complex object declared in facets. It is only used in facets, in all other code complex literals are parsed as it-block ClosureExprs.

Slots

doToStrSource

Str doToStr(|Expr -> Str| f)

makeSource

new make(Location location, CType ctype)

namesSource

Str[] names

serializeSource

override Str serialize()

Overrides compiler::Expr.serialize

Doc inherited from compiler::Expr.serialize

Return this expression as serialization text or throw exception if not serializable.

toStrSource

override Str toStr()

Overrides compiler::Expr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

valsSource

Expr[] vals

walkChildrenSource

override Void walkChildren(Visitor v)