class
compiler::CallExpr
sys::Obj compiler::Node compiler::Expr compiler::NameExpr compiler::CallExpr
CallExpr is a method call.
Slots
- argsSource
-
Expr[] args
- isCompareSource
-
virtual Bool isCompare()
- isCtorChainSource
-
Bool isCtorChain
- isDefiniteAssignSource
-
override Bool isDefiniteAssign(|Expr -> Bool| f)
Overrides compiler::Expr.isDefiniteAssign
Doc inherited from compiler::Expr.isDefiniteAssign
If this an assignment expression, then return the result of calling the given function with the LHS. Otherwise return false.
- isDynamicSource
-
Bool isDynamic
- isStmtSource
-
override Bool isStmt()
Overrides compiler::Expr.isStmt
Doc inherited from compiler::Expr.isStmt
Does this expression make up a complete statement. If you override this to true, then you must make sure the expr is popped in CodeAsm.
- makeSource
-
new make(Loc loc, Expr? target := null, Str? name := null, ExprId id := ExprId.call)
- makeWithMethodSource
-
new makeWithMethod(Loc loc, Expr? target, CMethod method, Expr[]? args := null)
- methodSource
-
CMethod? method
- noParensSource
-
Bool noParens
- printSource
-
override Void print(AstWriter out)
Overrides compiler::Expr.print
Doc inherited from compiler::Node.print
Pretty print this node and it's descendants.
- 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.
- syntheticSource
-
override Bool synthetic := false
Overrides compiler::Expr.synthetic
Doc inherited from compiler::Expr.synthetic
Was this expression generated by the compiler (not necessarily everything auto-generated has this flag true, but we set in cases where error checking needs to be handled special)
- toStrSource
-
override Str toStr()
Overrides compiler::NameExpr.toStr
Doc inherited from sys::Obj.toStr
Return a string representation of this object.
- walkChildrenSource
-
override Void walkChildren(Visitor v)
Overrides compiler::NameExpr.walkChildren