org.sablecc.sablecc
Class GenAnalyses

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

public class GenAnalyses
extends DepthFirstAdapter


Nested Class Summary
private static class GenAnalyses.AltInfo
           
private static class GenAnalyses.AltInfoCast
           
private static class GenAnalyses.ElemInfo
           
private static class GenAnalyses.ElemInfoCast
           
 
Field Summary
private  java.util.List altList
           
private  ResolveAstIds ast_ids
           
private  java.util.List elemList
           
(package private)  GenAnalyses.ElemInfo info
           
private  MacroExpander macros
           
private  java.lang.String mainProduction
           
private  java.io.File pkgDir
           
private  java.lang.String pkgName
           
private  java.util.List tokenList
           
 
Constructor Summary
GenAnalyses(ResolveAstIds ast_ids)
           
 
Method Summary
 void caseAProductions(AProductions node)
           
 void createAnalysis()
           
 void createAnalysisAdapter()
           
 void createDepthFirstAdapter()
           
 void createReversedDepthFirstAdapter()
           
 void inAAstAlt(AAstAlt node)
           
 void inAAstProd(AAstProd node)
           
 void inAElem(AElem node)
           
 void inATokenDef(ATokenDef node)
           
 void outAAstAlt(AAstAlt node)
           
 void outStart(Start 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, 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, 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
 
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

macros

private MacroExpander macros

ast_ids

private ResolveAstIds ast_ids

pkgDir

private java.io.File pkgDir

pkgName

private java.lang.String pkgName

elemList

private java.util.List elemList

altList

private java.util.List altList

tokenList

private java.util.List tokenList

mainProduction

private java.lang.String mainProduction

info

GenAnalyses.ElemInfo info
Constructor Detail

GenAnalyses

public GenAnalyses(ResolveAstIds ast_ids)
Method Detail

inAAstProd

public void inAAstProd(AAstProd node)
Overrides:
inAAstProd in class DepthFirstAdapter

inATokenDef

public void inATokenDef(ATokenDef node)
Overrides:
inATokenDef in class DepthFirstAdapter

inAAstAlt

public void inAAstAlt(AAstAlt node)
Overrides:
inAAstAlt in class DepthFirstAdapter

caseAProductions

public void caseAProductions(AProductions node)
Specified by:
caseAProductions in interface Analysis
Overrides:
caseAProductions in class DepthFirstAdapter

inAElem

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

outAAstAlt

public void outAAstAlt(AAstAlt node)
Overrides:
outAAstAlt in class DepthFirstAdapter

outStart

public void outStart(Start node)
Overrides:
outStart in class DepthFirstAdapter

createAnalysis

public void createAnalysis()

createAnalysisAdapter

public void createAnalysisAdapter()

createDepthFirstAdapter

public void createDepthFirstAdapter()

createReversedDepthFirstAdapter

public void createReversedDepthFirstAdapter()