org.sablecc.sablecc
Class AddAstProductions

java.lang.Object
  extended by org.sablecc.sablecc.analysis.AnalysisAdapter
      extended by org.sablecc.sablecc.analysis.DepthFirstAdapter
          extended by org.sablecc.sablecc.AddAstProductions
All Implemented Interfaces:
Analysis, Switch

public class AddAstProductions
extends DepthFirstAdapter


Field Summary
private  boolean firstAlt
           
(package private)  java.util.LinkedList listAstProd
           
(package private)  java.util.LinkedList listElems
           
(package private)  java.util.LinkedList listOfAstAlts
           
(package private)  boolean processingParsedAlt
           
 
Constructor Summary
AddAstProductions()
           
 
Method Summary
 void caseAProd(AProd node)
           
 void error(Token token)
           
 void inAAlt(AAlt node)
           
 void inAAltTransform(AAltTransform node)
           
 void inAElem(AElem node)
           
 void outAAlt(AAlt node)
           
 void outAGrammar(AGrammar node)
           
 
Methods inherited from class org.sablecc.sablecc.analysis.DepthFirstAdapter
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, caseAProdName, caseAProductions, caseAProductionSpecifier, caseAQMarkUnOp, caseARegExp, caseARegExpBasic, caseASetBasic, caseASimpleListTerm, caseASimpleTerm, caseAStarUnOp, caseAStateList, caseAStateListTail, caseAStates, caseAStringBasic, caseATokenDef, caseATokens, caseATokenSpecifier, caseATransition, caseAUnExp, caseStart, defaultIn, defaultOut, inAAst, inAAstAlt, inAAstProd, 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, outAAltTransform, outAAst, outAAstAlt, outAAstProd, outACharBasic, outACharChar, outAConcat, outADecChar, outAElem, 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
 
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
 

Field Detail

listAstProd

java.util.LinkedList listAstProd

firstAlt

private boolean firstAlt

processingParsedAlt

boolean processingParsedAlt

listElems

java.util.LinkedList listElems

listOfAstAlts

java.util.LinkedList listOfAstAlts
Constructor Detail

AddAstProductions

public AddAstProductions()
Method Detail

caseAProd

public void caseAProd(AProd node)
Specified by:
caseAProd in interface Analysis
Overrides:
caseAProd in class DepthFirstAdapter

outAGrammar

public void outAGrammar(AGrammar node)
Overrides:
outAGrammar in class DepthFirstAdapter

inAAlt

public void inAAlt(AAlt node)
Overrides:
inAAlt in class DepthFirstAdapter

inAAltTransform

public void inAAltTransform(AAltTransform node)
Overrides:
inAAltTransform in class DepthFirstAdapter

outAAlt

public void outAAlt(AAlt node)
Overrides:
outAAlt in class DepthFirstAdapter

inAElem

public void inAElem(AElem node)
Overrides:
inAElem in class DepthFirstAdapter

error

public void error(Token token)