public class ComputeCGNomenclature extends DepthFirstAdapter
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map |
altElemTypes |
private java.util.Map |
altTransformElemTypes |
private int |
counter |
private java.lang.String |
currentAlt |
private java.lang.String |
currentProd |
private ResolveIds |
ids |
private ResolveProdTransformIds |
prodTransformIds |
private java.util.Map |
termNumbers |
| Constructor and Description |
|---|
ComputeCGNomenclature(ResolveIds ids,
ResolveProdTransformIds prodTransformIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
caseAAst(AAst node) |
void |
caseANullTerm(ANullTerm node) |
void |
caseAProd(AProd production) |
void |
caseASimpleListTerm(ASimpleListTerm node) |
void |
caseASimpleTerm(ASimpleTerm node) |
java.util.Map |
getAltTransformElemTypes() |
java.util.Map |
getTermNumbers() |
void |
inAAlt(AAlt nodeAlt) |
void |
inAElem(AElem node) |
void |
inANewListTerm(ANewListTerm node) |
void |
inANewTerm(ANewTerm node) |
void |
outAListTerm(AListTerm node) |
void |
setAltElemTypes(java.util.Map aMap) |
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, outStartcaseEOF, 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, setOutprivate java.lang.String currentProd
private java.lang.String currentAlt
private int counter
private ResolveIds ids
private ResolveProdTransformIds prodTransformIds
private java.util.Map altElemTypes
private final java.util.Map altTransformElemTypes
private final java.util.Map termNumbers
public ComputeCGNomenclature(ResolveIds ids, ResolveProdTransformIds prodTransformIds)
public void setAltElemTypes(java.util.Map aMap)
public java.util.Map getAltTransformElemTypes()
public java.util.Map getTermNumbers()
public void caseAProd(AProd production)
caseAProd in interface AnalysiscaseAProd in class DepthFirstAdapterpublic void inAAlt(AAlt nodeAlt)
inAAlt in class DepthFirstAdapterpublic void caseAAst(AAst node)
caseAAst in interface AnalysiscaseAAst in class DepthFirstAdapterpublic void inAElem(AElem node)
inAElem in class DepthFirstAdapterpublic void inANewTerm(ANewTerm node)
inANewTerm in class DepthFirstAdapterpublic void inANewListTerm(ANewListTerm node)
inANewListTerm in class DepthFirstAdapterpublic void outAListTerm(AListTerm node)
outAListTerm in class DepthFirstAdapterpublic void caseASimpleTerm(ASimpleTerm node)
caseASimpleTerm in interface AnalysiscaseASimpleTerm in class DepthFirstAdapterpublic void caseANullTerm(ANullTerm node)
caseANullTerm in interface AnalysiscaseANullTerm in class DepthFirstAdapterpublic void caseASimpleListTerm(ASimpleListTerm node)
caseASimpleListTerm in interface AnalysiscaseASimpleListTerm in class DepthFirstAdapterCopyright © 1997-2013 Sablecc. All Rights Reserved.