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 the LHS of an otherwise combinator.

Author:
dkitchin
See Also:
Serialized Form

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

Field Detail

next

public Node next
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)