orc.runtime.nodes
Class Call

java.lang.Object
  extended by orc.runtime.nodes.Node
      extended by 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

Field Summary
 java.util.List<Arg> args
           
 Arg callee
           
 Node next
           
 
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 orc.runtime.nodes.Node
isTerminal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

callee

public Arg callee

args

public java.util.List<Arg> args

next

public Node next
Constructor Detail

Call

public Call(Arg callee,
            java.util.List<Arg> args,
            Node next)
Method Detail

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