org.cytoscape.equations.parse_tree
Class BooleanConstantNode
java.lang.Object
org.cytoscape.equations.parse_tree.Node
org.cytoscape.equations.parse_tree.BooleanConstantNode
public class BooleanConstantNode
- extends Node
A node in the parse tree representing an integer constant.
BooleanConstantNode
public BooleanConstantNode(int sourceLocation,
boolean value)
toString
public String toString()
- Specified by:
toString
in class Node
getType
public Class getType()
- Specified by:
getType
in class Node
getLeftChild
public Node getLeftChild()
- Specified by:
getLeftChild
in class Node
- Returns:
- null, This type of node never has any children!
getRightChild
public Node getRightChild()
- Specified by:
getRightChild
in class Node
- Returns:
- null, This type of node never has any children!
getValue
public boolean getValue()
genCode
public void genCode(Stack<CodeAndSourceLocation> codeStack)
- Specified by:
genCode
in class Node
Copyright 2010 Cytoscape Consortium. All rights reserved.