public class ASTWhileLoop extends ASTStatement
ASTNode.DataType| Modifier and Type | Field and Description |
|---|---|
ASTBlock |
body |
ASTExpression |
guard |
attributes| Constructor and Description |
|---|
ASTWhileLoop(ASTExpression guard,
ASTBlock body) |
| Modifier and Type | Method and Description |
|---|---|
void |
traverse(ASTVisitor visitor)
Generic traversal method for the visitor pattern.
|
getASTTypeStr, getDepth, getParent, getSourceInfo, getType, setDepth, setParent, setSourceInfo, setType, typeToStringpublic ASTExpression guard
public ASTBlock body
public ASTWhileLoop(ASTExpression guard, ASTBlock body)
public void traverse(ASTVisitor visitor)
ASTNodeCopyright © 2019. All rights reserved.