cgp.runtime
Class ProcessType

java.lang.Object
  |
  +--cgp.runtime.Type
        |
        +--cgp.runtime.ProcessType

public class ProcessType
extends Type


Field Summary
private  FormalParameter[] formals
           
private  antlr.collections.AST initialBlock
           
private  java.lang.String name
           
private  Rule[] rules
           
 
Fields inherited from class cgp.runtime.Type
kbStack, scopeStack, type
 
Constructor Summary
ProcessType(java.lang.String name, FormalParameter[] formals, antlr.collections.AST initialBlock, Rule[] rules)
           
 
Method Summary
 FormalParameter[] getFormals()
           
 java.lang.String getId()
           
 antlr.collections.AST getInitialBlock()
           
 StringType getName()
          Getter and setter methods for attributes.
 Rule[] getRules()
           
 java.lang.String toString()
           
 
Methods inherited from class cgp.runtime.Type
addOp, andOp, divideOp, eqOp, geOp, getAttr, getKBStack, getNthOp, getScopeStack, getType, gtOp, invokeMemberFunc, isOp, leOp, ltOp, modulusOp, multiplyOp, negateOp, neOp, notOp, operationError, orOp, setAttr, setKBStack, setNthOp, setScopeStack, setType, subtractOp
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

name

private java.lang.String name

formals

private FormalParameter[] formals

initialBlock

private antlr.collections.AST initialBlock

rules

private Rule[] rules
Constructor Detail

ProcessType

public ProcessType(java.lang.String name,
                   FormalParameter[] formals,
                   antlr.collections.AST initialBlock,
                   Rule[] rules)
Method Detail

getId

public java.lang.String getId()

getFormals

public FormalParameter[] getFormals()

getInitialBlock

public antlr.collections.AST getInitialBlock()

getRules

public Rule[] getRules()

toString

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

getName

public StringType getName()
Getter and setter methods for attributes.