
LocalDefStmt models a local variable declaration and its optional initialization expression.
Slots
- ctype
-
CType ctype
- init
-
Expr init
- isCatchVar
-
Bool isCatchVar
- isExit
-
override Bool isExit()
Does this statement always cause us to exit the method (or does it cause us to loop forever without a break to the next statement)
- make
-
new make(Location location)
- makeCatchVar
-
new makeCatchVar(Catch c)
- name
-
Str name
-
override Void print(AstWriter out)
Pretty print this node and it's descendants.
- printOpt
- var
-
MethodVar var
- walkChildren
-
override Void walkChildren(Visitor v, VisitDepth depth)