org.sablecc.sablecc
Class ComputeCGNomenclature
java.lang.Object
org.sablecc.sablecc.analysis.AnalysisAdapter
org.sablecc.sablecc.analysis.DepthFirstAdapter
org.sablecc.sablecc.ComputeCGNomenclature
- All Implemented Interfaces:
- Analysis, Switch
public class ComputeCGNomenclature
- extends DepthFirstAdapter
Methods inherited from class org.sablecc.sablecc.analysis.DepthFirstAdapter |
caseAAlt, caseAAltTransform, caseAAstAlt, caseAAstProd, caseACharBasic, caseACharChar, caseAConcat, caseADecChar, caseAElem, caseAGrammar, caseAHelperDef, caseAHelpers, caseAHexChar, caseAIdBasic, caseAIgnTokens, caseAIntervalSet, caseAListTerm, caseAMinusBinOp, caseANewListTerm, caseANewTerm, caseAOperationSet, caseAPlusBinOp, caseAPlusUnOp, caseAProdName, caseAProductions, caseAProductionSpecifier, caseAQMarkUnOp, caseARegExp, caseARegExpBasic, caseASetBasic, caseAStarUnOp, caseAStateList, caseAStateListTail, caseAStates, caseAStringBasic, caseATokenDef, caseATokens, caseATokenSpecifier, caseATransition, caseAUnExp, caseStart, defaultIn, defaultOut, inAAltTransform, inAAst, inAAstAlt, inAAstProd, inACharBasic, inACharChar, inAConcat, inADecChar, inAGrammar, inAHelperDef, inAHelpers, inAHexChar, inAIdBasic, inAIgnTokens, inAIntervalSet, inAListTerm, inAMinusBinOp, inANullTerm, inAOperationSet, inAPlusBinOp, inAPlusUnOp, inAProd, inAProdName, inAProductions, inAProductionSpecifier, inAQMarkUnOp, inARegExp, inARegExpBasic, inASetBasic, inASimpleListTerm, inASimpleTerm, inAStarUnOp, inAStateList, inAStateListTail, inAStates, inAStringBasic, inATokenDef, inATokens, inATokenSpecifier, inATransition, inAUnExp, inStart, outAAlt, outAAltTransform, outAAst, outAAstAlt, outAAstProd, outACharBasic, outACharChar, outAConcat, outADecChar, outAElem, outAGrammar, outAHelperDef, outAHelpers, outAHexChar, outAIdBasic, outAIgnTokens, outAIntervalSet, outAMinusBinOp, outANewListTerm, outANewTerm, outANullTerm, outAOperationSet, outAPlusBinOp, outAPlusUnOp, outAProd, outAProdName, outAProductions, outAProductionSpecifier, outAQMarkUnOp, outARegExp, outARegExpBasic, outASetBasic, outASimpleListTerm, outASimpleTerm, outAStarUnOp, outAStateList, outAStateListTail, outAStates, outAStringBasic, outATokenDef, outATokens, outATokenSpecifier, outATransition, outAUnExp, outStart |
Methods inherited from class org.sablecc.sablecc.analysis.AnalysisAdapter |
caseEOF, caseTAbstract, caseTArrow, caseTBar, caseTBlank, caseTChar, caseTColon, caseTComma, caseTComment, caseTDDot, caseTDecChar, caseTDot, caseTEqual, caseTHelpers, caseTHexChar, caseTId, caseTIgnored, caseTLBkt, caseTLBrace, caseTLPar, caseTMinus, caseTNew, caseTNull, caseTPackage, caseTPkgId, caseTPlus, caseTProductions, caseTProductionSpecifier, caseTQMark, caseTRBkt, caseTRBrace, caseTRPar, caseTSemicolon, caseTSlash, caseTStar, caseTStates, caseTString, caseTSyntax, caseTTokens, caseTTokenSpecifier, caseTTree, defaultCase, getIn, getOut, setIn, setOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentProd
private java.lang.String currentProd
currentAlt
private java.lang.String currentAlt
counter
private int counter
ids
private ResolveIds ids
prodTransformIds
private ResolveProdTransformIds prodTransformIds
altElemTypes
private java.util.Map altElemTypes
altTransformElemTypes
private final java.util.Map altTransformElemTypes
termNumbers
private final java.util.Map termNumbers
ComputeCGNomenclature
public ComputeCGNomenclature(ResolveIds ids,
ResolveProdTransformIds prodTransformIds)
setAltElemTypes
public void setAltElemTypes(java.util.Map aMap)
getAltTransformElemTypes
public java.util.Map getAltTransformElemTypes()
getTermNumbers
public java.util.Map getTermNumbers()
caseAProd
public void caseAProd(AProd production)
- Specified by:
caseAProd
in interface Analysis
- Overrides:
caseAProd
in class DepthFirstAdapter
inAAlt
public void inAAlt(AAlt nodeAlt)
- Overrides:
inAAlt
in class DepthFirstAdapter
caseAAst
public void caseAAst(AAst node)
- Specified by:
caseAAst
in interface Analysis
- Overrides:
caseAAst
in class DepthFirstAdapter
inAElem
public void inAElem(AElem node)
- Overrides:
inAElem
in class DepthFirstAdapter
inANewTerm
public void inANewTerm(ANewTerm node)
- Overrides:
inANewTerm
in class DepthFirstAdapter
inANewListTerm
public void inANewListTerm(ANewListTerm node)
- Overrides:
inANewListTerm
in class DepthFirstAdapter
outAListTerm
public void outAListTerm(AListTerm node)
- Overrides:
outAListTerm
in class DepthFirstAdapter
caseASimpleTerm
public void caseASimpleTerm(ASimpleTerm node)
- Specified by:
caseASimpleTerm
in interface Analysis
- Overrides:
caseASimpleTerm
in class DepthFirstAdapter
caseANullTerm
public void caseANullTerm(ANullTerm node)
- Specified by:
caseANullTerm
in interface Analysis
- Overrides:
caseANullTerm
in class DepthFirstAdapter
caseASimpleListTerm
public void caseASimpleListTerm(ASimpleListTerm node)
- Specified by:
caseASimpleListTerm
in interface Analysis
- Overrides:
caseASimpleListTerm
in class DepthFirstAdapter