ppg.spec
Class Spec
java.lang.Object
ppg.spec.Spec
- All Implemented Interfaces:
- Unparse
- Direct Known Subclasses:
- CUPSpec, PPGSpec
public abstract class Spec
- extends java.lang.Object
- implements Unparse
Constructor Summary |
Spec()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Spec
public Spec()
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