Modifier and Type | Field and Description |
---|---|
protected Stmt |
bodyStmt
The body statement
|
protected Expr |
predExpr
The predicate expression
|
Constructor and Description |
---|
WhileStmt(int lineNum,
Expr predExpr,
Stmt bodyStmt)
WhileStmt constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(visitor.Visitor v,
java.lang.Object o)
Visitor method
|
Stmt |
getBodyStmt()
Get the body statement
|
Expr |
getPredExpr()
Get the predicate expression
|
getLineNum
protected Expr predExpr
protected Stmt bodyStmt