Cytoscape 2.8.0 API

org.cytoscape.equations.parse_tree
Class FuncCallNode

java.lang.Object
  extended by org.cytoscape.equations.parse_tree.Node
      extended by org.cytoscape.equations.parse_tree.FuncCallNode

public class FuncCallNode
extends Node

A node in the parse tree representing a function call.


Constructor Summary
FuncCallNode(int sourceLocation, Function func, Class returnType, Node[] args)
           
 
Method Summary
 void genCode(Stack<CodeAndSourceLocation> codeStack)
           
 Node getLeftChild()
           
 Node getRightChild()
           
 Class getType()
           
 Object getValue()
           
 String toString()
           
 
Methods inherited from class org.cytoscape.equations.parse_tree.Node
getSourceLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FuncCallNode

public FuncCallNode(int sourceLocation,
                    Function func,
                    Class returnType,
                    Node[] args)
Method Detail

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 Object getValue()
Returns:
null, The return value for this node is only known at runtime!

genCode

public void genCode(Stack<CodeAndSourceLocation> codeStack)
Specified by:
genCode in class Node

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.