orc.runtime.nodes
Class Fork

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

public class Fork
extends Node

A compile node that performs a fork to run two subnodes.

Author:
wcook
See Also:
Serialized Form

Constructor Summary
Fork(Node left, Node right)
           
 
Method Summary
 void process(Token t)
          The input token is activated on the right node, and a copy is activated on the left node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fork

public Fork(Node left,
            Node right)
Method Detail

process

public void process(Token t)
The input token is activated on the right node, and a copy is activated on the left node.

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