|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.parser.SimpleNode
org.quattor.pan.parser.ASTOperation
public class ASTOperation
This node implements the methods required for JJTree and also provides the methods to associate an Operation with the node.
| Nested Class Summary | |
|---|---|
static class |
ASTOperation.OperationType
|
| Field Summary |
|---|
| Fields inherited from class org.quattor.pan.parser.SimpleNode |
|---|
children, id, parent, parser, specialTokens |
| Constructor Summary | |
|---|---|
ASTOperation(int id)
|
|
ASTOperation(PanParser p,
int id)
|
|
| Method Summary | |
|---|---|
Operation |
getOperation()
Return the associated Operation. |
ASTOperation.OperationType |
getOperationType()
Return the associated Operation. |
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. |
java.lang.String |
toString()
Provide a reasonable String representation of this node. |
| Methods inherited from class org.quattor.pan.parser.SimpleNode |
|---|
addSpecialToken, dump, getId, getSourceRange, getSpecialTokens, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setSourceRange, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTOperation(int id)
public ASTOperation(PanParser p,
int id)
| Method Detail |
|---|
protected void setOperationType(ASTOperation.OperationType operationType)
public ASTOperation.OperationType getOperationType()
protected void setOperation(Operation operation)
public Operation getOperation()
public java.lang.String toString()
toString in class SimpleNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||