orc.runtime.nodes
Class Return

java.lang.Object
  extended by orc.runtime.nodes.Node
      extended by orc.runtime.nodes.Return
All Implemented Interfaces:
java.io.Serializable

public class Return
extends Node

Compiled node marking the end of a procedure

Author:
wcook
See Also:
Serialized Form

Constructor Summary
Return()
           
 
Method Summary
 void process(Token t)
          To execute a return, the caller token and the result of the current execution are identified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Return

public Return()
Method Detail

process

public void process(Token t)
To execute a return, the caller token and the result of the current execution are identified. The caller token points to the node after the call. The caller is then copied, the result of the caller is set, and the token is activated.

Specified by:
process in class Node
Parameters:
t - input token being processed