logo

class

compiler::LocalDefStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::LocalDefStmt

LocalDefStmt models a local variable declaration and its optional initialization expression.

Slots

ctype

CType ctype

Source

init

Expr init

Source

isCatchVar

Bool isCatchVar

Source

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)

Source

make

new make(Location location)

Source

makeCatchVar

new makeCatchVar(Catch c)

Source

name

Str name

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

printOpt

Void printOpt(AstWriter out, Bool nl := true)

Source

var

MethodVar var

Source

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)

Source