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

Field Summary
 Node left
           
 Node right
           
 
Constructor Summary
Fork(Node left, Node right)
           
 
Method Summary
 void process(Token t)
          The process method is the fundamental operation in the execution engine.
 
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

left

public Node left

right

public Node right
Constructor Detail

Fork

public Fork(Node left,
            Node right)
Method Detail

process

public void process(Token t)
Description copied from class: Node
The process method is the fundamental operation in the execution engine. It is called to perform the action of the node on a token.

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