|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- The node types for the AST.public interface IAST<E extends java.lang.Enum<?>>
An interface for an AST node.
Method Summary | |
---|---|
void |
acceptASTVisitor(IASTVisitor visitor)
Accepts the visitor. |
java.lang.String |
childrenAsString()
Treats the children of the AST as IChar's and concatenates their values into a String. |
java.util.List<IAST<E>> |
getChildren()
Returns the children. |
Position |
getPosition()
Returns the position. |
E |
getType()
Returns the type. |
Method Detail |
---|
java.util.List<IAST<E>> getChildren()
Position getPosition()
null
if the AST doesn't have a position set.
E getType()
void acceptASTVisitor(IASTVisitor visitor)
visitor
- The visitor to accept.java.lang.String childrenAsString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |