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, typeToString
public ASTExpression guard
public ASTBlock body
public ASTWhileLoop(ASTExpression guard, ASTBlock body)
public void traverse(ASTVisitor visitor)
ASTNode
Copyright © 2019. All rights reserved.