|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeNode
The interface for a node within the Equation parse tree.
Method Summary | |
---|---|
void |
genCode(Stack<CodeAndSourceLocation> codeStack)
Generated code for this node and pushes it onto the execution stack. |
TreeNode |
getLeftChild()
Returns the left child if it exists or null if it doesn't. |
TreeNode |
getRightChild()
Returns the right child if it exists or null if it doesn't. |
int |
getSourceLocation()
Returns the start of the location in the equation where the code was found that was turned into a node in the parse tree. |
Class |
getType()
Returns the type of this node. |
Method Detail |
---|
int getSourceLocation()
Class getType()
TreeNode getLeftChild()
TreeNode getRightChild()
void genCode(Stack<CodeAndSourceLocation> codeStack)
codeStack
- the execution stack to push the generated code for this node.
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |