org.sablecc.sablecc
Class AddEventualEmptyTransformationToProductions

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

public class AddEventualEmptyTransformationToProductions
extends DepthFirstAdapter


Field Summary
private  ResolveAstIds ast_ids
           
private  java.lang.String currentAlt
           
private  java.lang.String currentProd
           
private  ResolveIds ids
           
 
Constructor Summary
AddEventualEmptyTransformationToProductions(ResolveIds ids, ResolveAstIds ast_ids)
           
 
Method Summary
private static void error(Token token)
           
 void inAProd(AProd 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, caseAProd, caseAProdName, caseAProductions, caseAProductionSpecifier, caseAQMarkUnOp, caseARegExp, caseARegExpBasic, caseASetBasic, caseASimpleListTerm, caseASimpleTerm, caseAStarUnOp, caseAStateList, caseAStateListTail, caseAStates, caseAStringBasic, caseATokenDef, caseATokens, caseATokenSpecifier, caseATransition, caseAUnExp, caseStart, defaultIn, defaultOut, inAAlt, inAAltTransform, inAAst, inAAstAlt, inAAstProd, inACharBasic, inACharChar, inAConcat, inADecChar, inAElem, inAGrammar, inAHelperDef, inAHelpers, inAHexChar, inAIdBasic, inAIgnTokens, inAIntervalSet, inAListTerm, inAMinusBinOp, inANewListTerm, inANewTerm, inANullTerm, inAOperationSet, inAPlusBinOp, inAPlusUnOp, 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, 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

currentProd

private java.lang.String currentProd

currentAlt

private java.lang.String currentAlt

ids

private ResolveIds ids

ast_ids

private ResolveAstIds ast_ids
Constructor Detail

AddEventualEmptyTransformationToProductions

public AddEventualEmptyTransformationToProductions(ResolveIds ids,
                                                   ResolveAstIds ast_ids)
Method Detail

inAProd

public void inAProd(AProd node)
Overrides:
inAProd in class DepthFirstAdapter

error

private static void error(Token token)