public abstract class IlrStatement
extends java.lang.Object
implements java.io.Serializable
A statement is always attached to an syntax tree node which generally represents the root node of a language construct.
| Constructor and Description |
|---|
IlrStatement(IlrSyntaxTree.Node node)
Constructor using a node.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(IlrIntermediateForm.Visitor visitor)
Accepts a visitor.
|
IlrSyntaxTree.Node |
getNode()
Gets the node attached to this statement.
|
boolean |
hasTag(java.lang.String tag)
Returns
true if this statement is tagged by this tag. |
public IlrStatement(IlrSyntaxTree.Node node)
node - The node.public IlrSyntaxTree.Node getNode()
public boolean hasTag(java.lang.String tag)
true if this statement is tagged by this tag.tag - The Tag.true if this statement is tagged by this tag.public abstract void accept(IlrIntermediateForm.Visitor visitor)
© Copyright IBM Corp. 1987, 2017