org.sablecc.sablecc
Class PrettyPrinter

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

public class PrettyPrinter
extends DepthFirstAdapter


Field Summary
static java.lang.String alt_transform_INDENT
           
static java.lang.String alternative_INDENT
           
static java.lang.String prod_transform_INDENT
           
static java.lang.String production_INDENT
           
 
Constructor Summary
PrettyPrinter()
           
 
Method Summary
 void caseAAlt(AAlt node)
           
 void caseAAltTransform(AAltTransform node)
           
 void caseAAst(AAst node)
           
 void caseAAstAlt(AAstAlt node)
           
 void caseAAstProd(AAstProd node)
           
 void caseAElem(AElem node)
           
 void caseAListTerm(AListTerm node)
           
 void caseANewListTerm(ANewListTerm node)
           
 void caseANewTerm(ANewTerm node)
           
 void caseANullTerm(ANullTerm node)
           
 void caseAProd(AProd node)
           
 void caseAProdName(AProdName node)
           
 void caseAProductions(AProductions node)
           
 void caseASimpleListTerm(ASimpleListTerm node)
           
 void caseASimpleTerm(ASimpleTerm node)
           
 
Methods inherited from class org.sablecc.sablecc.analysis.DepthFirstAdapter
caseACharBasic, caseACharChar, caseAConcat, caseADecChar, caseAGrammar, caseAHelperDef, caseAHelpers, caseAHexChar, caseAIdBasic, caseAIgnTokens, caseAIntervalSet, caseAMinusBinOp, caseAOperationSet, caseAPlusBinOp, caseAPlusUnOp, caseAProductionSpecifier, caseAQMarkUnOp, caseARegExp, caseARegExpBasic, caseASetBasic, 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, 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, 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

production_INDENT

public static java.lang.String production_INDENT

prod_transform_INDENT

public static java.lang.String prod_transform_INDENT

alternative_INDENT

public static java.lang.String alternative_INDENT

alt_transform_INDENT

public static java.lang.String alt_transform_INDENT
Constructor Detail

PrettyPrinter

public PrettyPrinter()
Method Detail

caseAProductions

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

caseAProd

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

caseAAlt

public void caseAAlt(AAlt node)
Specified by:
caseAAlt in interface Analysis
Overrides:
caseAAlt in class DepthFirstAdapter

caseAAltTransform

public void caseAAltTransform(AAltTransform node)
Specified by:
caseAAltTransform in interface Analysis
Overrides:
caseAAltTransform in class DepthFirstAdapter

caseAProdName

public void caseAProdName(AProdName node)
Specified by:
caseAProdName in interface Analysis
Overrides:
caseAProdName in class DepthFirstAdapter

caseANewTerm

public void caseANewTerm(ANewTerm node)
Specified by:
caseANewTerm in interface Analysis
Overrides:
caseANewTerm in class DepthFirstAdapter

caseAListTerm

public void caseAListTerm(AListTerm node)
Specified by:
caseAListTerm in interface Analysis
Overrides:
caseAListTerm in class DepthFirstAdapter

caseASimpleTerm

public void caseASimpleTerm(ASimpleTerm node)
Specified by:
caseASimpleTerm in interface Analysis
Overrides:
caseASimpleTerm in class DepthFirstAdapter

caseANullTerm

public void caseANullTerm(ANullTerm node)
Specified by:
caseANullTerm in interface Analysis
Overrides:
caseANullTerm in class DepthFirstAdapter

caseANewListTerm

public void caseANewListTerm(ANewListTerm node)
Specified by:
caseANewListTerm in interface Analysis
Overrides:
caseANewListTerm in class DepthFirstAdapter

caseASimpleListTerm

public void caseASimpleListTerm(ASimpleListTerm node)
Specified by:
caseASimpleListTerm in interface Analysis
Overrides:
caseASimpleListTerm in class DepthFirstAdapter

caseAAst

public void caseAAst(AAst node)
Specified by:
caseAAst in interface Analysis
Overrides:
caseAAst in class DepthFirstAdapter

caseAAstProd

public void caseAAstProd(AAstProd node)
Specified by:
caseAAstProd in interface Analysis
Overrides:
caseAAstProd in class DepthFirstAdapter

caseAAstAlt

public void caseAAstAlt(AAstAlt node)
Specified by:
caseAAstAlt in interface Analysis
Overrides:
caseAAstAlt in class DepthFirstAdapter

caseAElem

public void caseAElem(AElem node)
Specified by:
caseAElem in interface Analysis
Overrides:
caseAElem in class DepthFirstAdapter