class compiler::LocalDefStmt
sys::Obj compiler::Node compiler::Stmt compiler::LocalDefStmt
LocalDefStmt models a local variable declaration and its optional initialization expression.
- ctype
-
CType? ctype - init
-
Expr? init - initVal
-
Expr? initVal() - isCatchVar
-
Bool isCatchVar - isDefiniteAssign
- isExit
-
virtual override Bool isExit() - make
- makeAssign
-
new makeAssign(BinaryExpr init) - makeCatchVar
-
new makeCatchVar(Catch c) - name
-
Str name - printOpt
- toStr
-
virtual override Str toStr() - var
-
MethodVar? var - walkChildren
-
virtual override Void walkChildren(Visitor v, VisitDepth depth)