public class ASTOperation extends SimpleNode
| Modifier and Type | Class and Description |
|---|---|
static class |
ASTOperation.OperationType |
children, id, parent, parser, specialTokens| Constructor and Description |
|---|
ASTOperation(int id) |
ASTOperation(PanParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getOperation()
Return the associated Operation.
|
ASTOperation.OperationType |
getOperationType()
Return the associated Operation.
|
Object |
getSubtype() |
protected void |
setOperation(Operation operation)
Subclasses should call this method to set the Operation for this node.
|
protected void |
setOperationType(ASTOperation.OperationType operationType)
Subclasses should call this method to set the Operation for this node.
|
String |
toString()
Provide a reasonable String representation of this node.
|
addSpecialToken, dump, getId, getSourceRange, getSpecialTokens, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setSourceRange, toStringpublic ASTOperation(int id)
public ASTOperation(PanParser p, int id)
protected void setOperationType(ASTOperation.OperationType operationType)
public Object getSubtype()
getSubtype in class SimpleNodepublic ASTOperation.OperationType getOperationType()
protected void setOperation(Operation operation)
public Operation getOperation()
public String toString()
toString in class SimpleNodeCopyright © 2014 Quattor. All Rights Reserved.