orc.runtime.nodes
Class Semi

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

public class Semi
extends Node

A compile node that runs its left side to completion, then initiates the right side if the left side did not publish anything. Implemented using regions.

Author:
dkitchin
See Also:
Serialized Form

Field Summary
 Node left
           
 Node right
           
 
Constructor Summary
Semi(Node left, Node right)
           
 
Method Summary
 void process(Token t)
          The token is forked.
 
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

Semi

public Semi(Node left,
            Node right)
Method Detail

process

public void process(Token t)
The token is forked. The left branch is associated with a new region that starts the right branch when it completes.

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