Fantom

 

class compiler::LocalDefStmt

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

Source

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

ctype

CType? ctype

Source

init

Expr? init

Source

isCatchVar

Bool isCatchVar

Source

isDefiniteAssign

virtual override Bool isDefiniteAssign(|Expr->Bool| f)

Source

isExit

virtual override Bool isExit()

Source

make

new make(Loc loc, CType? ctype := null, Str name := "")

Source

makeCatchVar

new makeCatchVar(Catch c)

Source

name

Str name

Source

print

virtual override Void print(AstWriter out)

Source

printOpt

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

Source

toStr

virtual override Str toStr()

Source

var

MethodVar? var

Source

walkChildren

virtual override Void walkChildren(Visitor v, VisitDepth depth)

Source