ppg.spec
Class Spec

java.lang.Object
  extended by ppg.spec.Spec
All Implemented Interfaces:
Unparse
Direct Known Subclasses:
CUPSpec, PPGSpec

public abstract class Spec
extends java.lang.Object
implements Unparse


Field Summary
protected  ActionCode actionCode
           
protected  PPGSpec child
           
protected  java.util.Vector imports
           
protected  InitCode initCode
           
protected  java.lang.String packageName
           
protected  ParserCode parserCode
           
protected  java.util.Vector prec
           
protected  ScanCode scanCode
           
protected  java.util.Vector symbols
           
 
Constructor Summary
Spec()
           
 
Method Summary
 void addImports(java.util.Vector imp)
           
abstract  CUPSpec coalesce()
          Combine the chain of inheritance into one CUP spec
 void parseChain(java.lang.String basePath)
           
 void replaceCode(java.util.Vector codeParts)
           
 void setChild(PPGSpec childSpec)
           
 void setPkgName(java.lang.String pkgName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ppg.parse.Unparse
unparse
 

Field Detail

packageName

protected java.lang.String packageName

imports

protected java.util.Vector imports

symbols

protected java.util.Vector symbols

prec

protected java.util.Vector prec

initCode

protected InitCode initCode

actionCode

protected ActionCode actionCode

parserCode

protected ParserCode parserCode

scanCode

protected ScanCode scanCode

child

protected PPGSpec child
Constructor Detail

Spec

public Spec()
Method Detail

setPkgName

public void setPkgName(java.lang.String pkgName)

replaceCode

public void replaceCode(java.util.Vector codeParts)

addImports

public void addImports(java.util.Vector imp)

setChild

public void setChild(PPGSpec childSpec)

parseChain

public void parseChain(java.lang.String basePath)

coalesce

public abstract CUPSpec coalesce()
                          throws PPGError
Combine the chain of inheritance into one CUP spec

Throws:
PPGError