toolbus.process
Class Alternative
java.lang.Object
  
toolbus.process.ProcessExpression
      
toolbus.process.Alternative
public class Alternative
- extends ProcessExpression
 
Alternative is the abstract syntax operator for the choice operator (+) in Tscripts. It is
 compiled away and does not exist during execution.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
left
private final ProcessExpression left
right
private final ProcessExpression right
Alternative
public Alternative(ProcessExpression left,
                   ProcessExpression right,
                   TBTermFactory tbfactory,
                   PositionInformation posInfo)
copy
protected ProcessExpression copy()
- Specified by:
 copy in class ProcessExpression
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
computeFirst
protected void computeFirst()
- Specified by:
 computeFirst in class ProcessExpression
 
 
compile
protected void compile(ProcessInstance P,
                       java.util.Stack<java.lang.String> calls,
                       State follow)
                throws ToolBusException
- Specified by:
 compile in class ProcessExpression
 
- Throws:
 ToolBusException
 
replaceFormals
protected void replaceFormals(Environment env)
                       throws ToolBusException
- Specified by:
 replaceFormals in class ProcessExpression
 
- Throws:
 ToolBusException
 
getAtoms
public AtomList getAtoms()
- Specified by:
 getAtoms in class ProcessExpression