public class GenAlts extends DepthFirstAdapter
Modifier and Type | Class and Description |
---|---|
private static class |
GenAlts.ElemInfo |
private static class |
GenAlts.ElemInfoCast |
Modifier and Type | Field and Description |
---|---|
private ResolveAstIds |
ast_ids |
private java.lang.String |
currentProd |
private java.util.List |
elemList |
(package private) GenAlts.ElemInfo |
info |
private MacroExpander |
macros |
private java.io.File |
pkgDir |
private java.lang.String |
pkgName |
Constructor and Description |
---|
GenAlts(ResolveAstIds ast_ids) |
Modifier and Type | Method and Description |
---|---|
void |
caseAProductions(AProductions node) |
void |
inAAstAlt(AAstAlt node) |
void |
inAAstProd(AAstProd node) |
void |
inAElem(AElem node) |
static java.lang.String |
nodeName(java.lang.String s) |
void |
outAAstAlt(AAstAlt node) |
caseAAlt, caseAAltTransform, caseAAst, caseAAstAlt, caseAAstProd, caseACharBasic, caseACharChar, caseAConcat, caseADecChar, caseAElem, caseAGrammar, caseAHelperDef, caseAHelpers, caseAHexChar, caseAIdBasic, caseAIgnTokens, caseAIntervalSet, caseAListTerm, caseAMinusBinOp, caseANewListTerm, caseANewTerm, caseANullTerm, caseAOperationSet, caseAPlusBinOp, caseAPlusUnOp, caseAProd, caseAProdName, caseAProductionSpecifier, caseAQMarkUnOp, caseARegExp, caseARegExpBasic, caseASetBasic, caseASimpleListTerm, caseASimpleTerm, caseAStarUnOp, caseAStateList, caseAStateListTail, caseAStates, caseAStringBasic, caseATokenDef, caseATokens, caseATokenSpecifier, caseATransition, caseAUnExp, caseStart, defaultIn, defaultOut, inAAlt, inAAltTransform, inAAst, inACharBasic, inACharChar, inAConcat, inADecChar, inAGrammar, inAHelperDef, inAHelpers, inAHexChar, inAIdBasic, inAIgnTokens, inAIntervalSet, inAListTerm, inAMinusBinOp, inANewListTerm, inANewTerm, 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, outAAstProd, outACharBasic, outACharChar, outAConcat, outADecChar, outAElem, outAGrammar, outAHelperDef, outAHelpers, outAHexChar, outAIdBasic, outAIgnTokens, outAIntervalSet, outAListTerm, 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
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
private MacroExpander macros
private ResolveAstIds ast_ids
private java.io.File pkgDir
private java.lang.String pkgName
private java.util.List elemList
private java.lang.String currentProd
GenAlts.ElemInfo info
public GenAlts(ResolveAstIds ast_ids)
public void inAAstProd(AAstProd node)
inAAstProd
in class DepthFirstAdapter
public void inAAstAlt(AAstAlt node)
inAAstAlt
in class DepthFirstAdapter
public void caseAProductions(AProductions node)
caseAProductions
in interface Analysis
caseAProductions
in class DepthFirstAdapter
public void inAElem(AElem node)
inAElem
in class DepthFirstAdapter
public void outAAstAlt(AAstAlt node)
outAAstAlt
in class DepthFirstAdapter
public static java.lang.String nodeName(java.lang.String s)
Copyright © 1997-2015 Sablecc. All Rights Reserved.