orc.runtime.nodes
Class Unwind

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

public class Unwind
extends Node

Compiled node for leaving the scope of a variable binding.

Author:
dkitchin
See Also:
Serialized Form

Field Summary
 Node next
           
 int width
           
 
Constructor Summary
Unwind(Node next)
           
Unwind(Node next, int width)
           
 
Method Summary
 void process(Token t)
          When executed, pops the env stack to remove the most recent binding.
 
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

width

public int width
Constructor Detail

Unwind

public Unwind(Node next)

Unwind

public Unwind(Node next,
              int width)
Method Detail

process

public void process(Token t)
When executed, pops the env stack to remove the most recent binding. 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)