orc.runtime.nodes
Class Assign

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

public class Assign
extends Node

Compiled node for assignment.

Author:
dkitchin, wcook
See Also:
Serialized Form

Field Summary
 Node next
           
 
Constructor Summary
Assign(Node next)
           
 
Method Summary
 void process(Token t)
          When executed, extends the environment with a new 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
Constructor Detail

Assign

public Assign(Node next)
Method Detail

process

public void process(Token t)
When executed, extends the environment with a new binding. The result value in the input token is pushed onto the env stack. 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)