orc.runtime.nodes
Class Call
java.lang.Object
orc.runtime.nodes.Node
orc.runtime.nodes.Call
- All Implemented Interfaces:
- java.io.Serializable
public class Call
- extends Node
Compiled node for a call (either a site call or a definition call)
- Author:
- wcook
- See Also:
- Serialized Form
Constructor Summary |
Call(Arg callee,
java.util.List<Arg> args,
Node next)
|
Method Summary |
void |
process(Token t)
Looks up the function to be called, then creates a call
token using the argument expressions. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
callee
public Arg callee
args
public java.util.List<Arg> args
next
public Node next
Call
public Call(Arg callee,
java.util.List<Arg> args,
Node next)
process
public void process(Token t)
- Looks up the function to be called, then creates a call
token using the argument expressions.
- Specified by:
process
in class Node
- Parameters:
t
- input token being processed
toString
public java.lang.String toString()
- Overrides:
toString
in class Node