orc.runtime.nodes
Class Node

java.lang.Object
  extended by orc.runtime.nodes.Node
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Assign, Atomic, Call, Defs, Fork, Isolate, Leave, Let, Pub, Return, Semi, Silent, Store, Subgoal, Unisolate, Unwind, WithLocation

public abstract class Node
extends java.lang.Object
implements java.io.Serializable

Abstract base class for compile nodes

Author:
wcook
See Also:
Serialized Form

Constructor Summary
Node()
           
 
Method Summary
 boolean isTerminal()
          Does this node kill the incoming token?
abstract  void process(Token t)
          The process method is the fundamental operation in the execution engine.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

process

public abstract void process(Token t)
The process method is the fundamental operation in the execution engine. It is called to perform the action of the node on a token.

Parameters:
t - input token being processed

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isTerminal

public boolean isTerminal()
Does this node kill the incoming token?