orc.runtime.nodes
Class Leave

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

public class Leave
extends Node

Compiled node for leaving the scope of a variable binding.

Author:
dkitchin
See Also:
Serialized Form

Constructor Summary
Leave(Node next)
           
 
Method Summary
 void process(Token t)
          When executed, relocate this token from its current region to that region's parent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Leave

public Leave(Node next)
Method Detail

process

public void process(Token t)
When executed, relocate this token from its current region to that region's parent. The token moves to the next node and reactivates.

Specified by:
process in class Node
Parameters:
t - input token being processed
See Also:
Node.process(orc.runtime.Token)