| Modifier and Type | Field and Description |
|---|---|
| private final Node | |
| private final Node | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | accept(NodeVisitor<T>
the visitor iVisitor)Implements abstract org. Accept for the visitor pattern. |
| public List | |
| public boolean | Returns: true if you are a while, false if do whileDetermine whether this is while or do while |
| public Node | |
| public Node | |
| public NodeType |
| bodyNode | back to summary |
|---|---|
| private final Node bodyNode | |
| conditionNode | back to summary |
|---|---|
| private final Node conditionNode | |
| evaluateAtStart | back to summary |
|---|---|
| private final boolean evaluateAtStart | |
| UntilNode | back to summary |
|---|---|
| public UntilNode(int line, Node conditionNode, Node bodyNode) | |
| UntilNode | back to summary |
|---|---|
| public UntilNode(int line, Node conditionNode, Node bodyNode, boolean evaluateAtStart) | |
| accept | back to summary |
|---|---|
| public <T> T accept(NodeVisitor<T> iVisitor) Implements abstract org. Accept for the visitor pattern.
| |
| childNodes | back to summary |
|---|---|
| public List Implements abstract org. | |
| evaluateAtStart | back to summary |
|---|---|
| public boolean evaluateAtStart() Determine whether this is while or do while
| |
| getBodyNode | back to summary |
|---|---|
| public Node getBodyNode() Gets the bodyNode.
| |
| getConditionNode | back to summary |
|---|---|
| public Node getConditionNode() Gets the conditionNode.
| |
| getNodeType | back to summary |
|---|---|
| public NodeType getNodeType() Implements abstract org.
| |