byucc.jhdl.parsers.edif.sablecc.translation
Class PrettyPrintVisitor

java.lang.Object
  extended bybyucc.jhdl.parsers.edif.sablecc.analysis.AnalysisAdapter
      extended bybyucc.jhdl.parsers.edif.sablecc.analysis.DepthFirstAdapter
          extended bybyucc.jhdl.parsers.edif.sablecc.translation.PrettyPrintVisitor
All Implemented Interfaces:
Analysis, Switch

public class PrettyPrintVisitor
extends DepthFirstAdapter


Constructor Summary
PrettyPrintVisitor(JHDLPrintWriter jpw)
           
PrettyPrintVisitor(JHDLPrintWriter jpw, int indentLevel)
           
 
Method Summary
 void caseTLbr(TLbr node)
           
 void caseTRbr(TRbr node)
           
 void defaultCase(Node node)
           
 
Methods inherited from class byucc.jhdl.parsers.edif.sablecc.analysis.DepthFirstAdapter
caseAArray, caseAArrayInstancenamedef, caseAArraynamedef, caseAArrayNetnamedef, caseAArrayPortnamedef, caseABoolean, caseABooleanTypedvalue, caseABooleanvalue, caseACell, caseACellExternaloptions, caseACellLibraryoptions, caseACellnamedef, caseACellnameref, caseACellref, caseACelltokenNamedef, caseACelltokenNameref, caseACelltype, caseAComment, caseACommentCelloptions, caseACommentContentsoptions, caseACommentDesignoptions, caseACommentDontcareoptions, caseACommentEdifoptions, caseACommentExternaloptions, caseACommentInstanceoptions, caseACommentLibraryoptions, caseACommentNetbundleop, caseACommentNetoptions, caseACommentNumberdefinitionop, caseACommentPageoptions, caseACommentPortbundleop, caseACommentPortinstanceop, caseACommentPortoptions, caseACommentPropertyoptions, caseACommentProtectionframeop, caseACommentSymboloptions, caseACommentViewoptions, caseAContents, caseAContentsViewoptions, caseADesign, caseADesignEdifoptions, caseADesignnamedef, caseADirectionPortoptions, caseADontcare, caseADontCareCelloptions, caseADontcareContentsoptions, caseADontCareDontcareoptions, caseADontCareEdifoptions, caseADontCareInstanceoptions, caseADontCareInterfaceop, caseADontCareNetoptions, caseADontCarePortoptions, caseADontCareViewoptions, caseAEdif, caseAEdiflevel, caseAEdiflevelvalue, caseAEdifnamedef, caseAEdifversion, caseAEee, caseAEScaledinteger, caseAExponent, caseAExternaEdifoptions, caseAExternal, caseAFalse, caseAFalseBooleantoken, caseAIdent, caseAIdentDontcareoptions, caseAIdentNamedef, caseAIdentNameref, caseAImpmlementationContentsoptions, caseAInoutDirection, caseAInputDirection, caseAInstance, caseAInstanceContentsoptions, caseAInstanceNetoptions, caseAInstancePageoptions, caseAInstancePortimplementationop, caseAInstanceProtectionframeop, caseAInstanceref, caseAInstancerefInstancerefop, caseAInstancerefPortrefop, caseAInstanceSymboloptions, caseAInteger, caseAIntegertokenScaledinteger, caseAIntegerTypedvalue, caseAIntegervalue, caseAInterface, caseAIntTokenDontcareoptions, caseAIssue, caseAJoined, caseAJoinedInterfaceop, caseAKeywordlevel, caseAKeywordlevelvalue, caseAKeywordmap, caseALibrary, caseALibraryEdifoptions, caseALibrarynamedef, caseALibrarynameref, caseALibraryref, caseAListofnets, caseAListofports, caseAMark, caseAMember, caseAMemberInstancenameref, caseAMemberPortnameref, caseANamedefInstancenamedef, caseANamedefInstancenameref, caseANamedefNetnamedef, caseANamedefPortnamedef, caseANamerefPortnameref, caseANet, caseANetbundle, caseANetbundleContentsoptions, caseANetbundlePageoptions, caseANetContentsoptions, caseANetlistNamedef, caseANetlistNameref, caseANetNetoptions, caseANetPageoptions, caseANettokenNamedef, caseANettokenNameref, caseANumber, caseANumberdefinition, caseANumberTypedvalue, caseANumbervalue, caseAOutputDirection, caseAOwner, caseAOwnerDontcareoptions, caseAOwnerPropertyoptions, caseAPage, caseAPageContentsoptions, caseAPort, caseAPortbundle, caseAPortbundleInterfaceop, caseAPortbundleListofportsop, caseAPortimplementation, caseAPortimplementationPageoptions, caseAPortimplementationProtectionframeop, caseAPortimplementationSymboloptions, caseAPortinstance, caseAPortinstanceInstanceoptions, caseAPortInterfaceop, caseAPortlist, caseAPortlistJoinedoptions, caseAPortListofportsop, caseAPortnamerefPortimpop, caseAPortnamerefPortinstop, caseAPortnamerefPortlistoptions, caseAPortref, caseAPortrefJoinedoptions, caseAPortrefPortimplementationop, caseAPortrefPortimpop, caseAPortrefPortinstop, caseAPortrefPortlistoptions, caseAPortrefPortrefop, caseAProperty, caseAPropertyCelloptions, caseAPropertyDesignoptions, caseAPropertyDontcareoptions, caseAPropertyInstanceoptions, caseAPropertyInterfaceop, caseAPropertynamedef, caseAPropertyNetbundleop, caseAPropertyNetoptions, caseAPropertyPortbundleop, caseAPropertyPortimplementationop, caseAPropertyPortinstanceop, caseAPropertyPortoptions, caseAPropertyPropertyoptions, caseAPropertyProtectionframeop, caseAPropertySymboloptions, caseAPropertyViewoptions, caseAProtectionframe, caseAProtectionInterfaceop, caseARename, caseARenameDontcareoptions, caseARenameNamedef, caseAScale, caseAScaleNumberdefinitionop, caseAStrDontcareoptions, caseAString, caseAStringTypedvalue, caseAStringvalue, caseAStrTokenDontcareoptions, caseASubissue, caseASymbol, caseASymbolInterfaceop, caseATechnology, caseATrue, caseATrueBooleantoken, caseAUnit, caseAView, caseAViewCelloptions, caseAViewlist, caseAViewlistInstanceop, caseAViewlistViewlistop, caseAViewnamedef, caseAViewnameref, caseAViewref, caseAViewrefInstanceop, caseAViewrefInstancerefop, caseAViewrefPortrefop, caseAViewrefViewlistop, caseAViewtype, caseStart, defaultIn, defaultOut, inAArray, inAArrayInstancenamedef, inAArraynamedef, inAArrayNetnamedef, inAArrayPortnamedef, inABoolean, inABooleanTypedvalue, inABooleanvalue, inACell, inACellExternaloptions, inACellLibraryoptions, inACellnamedef, inACellnameref, inACellref, inACelltokenNamedef, inACelltokenNameref, inACelltype, inAComment, inACommentCelloptions, inACommentContentsoptions, inACommentDesignoptions, inACommentDontcareoptions, inACommentEdifoptions, inACommentExternaloptions, inACommentInstanceoptions, inACommentLibraryoptions, inACommentNetbundleop, inACommentNetoptions, inACommentNumberdefinitionop, inACommentPageoptions, inACommentPortbundleop, inACommentPortinstanceop, inACommentPortoptions, inACommentPropertyoptions, inACommentProtectionframeop, inACommentSymboloptions, inACommentViewoptions, inAContents, inAContentsViewoptions, inADesign, inADesignEdifoptions, inADesignnamedef, inADirectionPortoptions, inADontcare, inADontCareCelloptions, inADontcareContentsoptions, inADontCareDontcareoptions, inADontCareEdifoptions, inADontCareInstanceoptions, inADontCareInterfaceop, inADontCareNetoptions, inADontCarePortoptions, inADontCareViewoptions, inAEdif, inAEdiflevel, inAEdiflevelvalue, inAEdifnamedef, inAEdifversion, inAEee, inAEScaledinteger, inAExponent, inAExternaEdifoptions, inAExternal, inAFalse, inAFalseBooleantoken, inAIdent, inAIdentDontcareoptions, inAIdentNamedef, inAIdentNameref, inAImpmlementationContentsoptions, inAInoutDirection, inAInputDirection, inAInstance, inAInstanceContentsoptions, inAInstanceNetoptions, inAInstancePageoptions, inAInstancePortimplementationop, inAInstanceProtectionframeop, inAInstanceref, inAInstancerefInstancerefop, inAInstancerefPortrefop, inAInstanceSymboloptions, inAInteger, inAIntegertokenScaledinteger, inAIntegerTypedvalue, inAIntegervalue, inAInterface, inAIntTokenDontcareoptions, inAIssue, inAJoined, inAJoinedInterfaceop, inAKeywordlevel, inAKeywordlevelvalue, inAKeywordmap, inALibrary, inALibraryEdifoptions, inALibrarynamedef, inALibrarynameref, inALibraryref, inAListofnets, inAListofports, inAMark, inAMember, inAMemberInstancenameref, inAMemberPortnameref, inANamedefInstancenamedef, inANamedefInstancenameref, inANamedefNetnamedef, inANamedefPortnamedef, inANamerefPortnameref, inANet, inANetbundle, inANetbundleContentsoptions, inANetbundlePageoptions, inANetContentsoptions, inANetlistNamedef, inANetlistNameref, inANetNetoptions, inANetPageoptions, inANettokenNamedef, inANettokenNameref, inANumber, inANumberdefinition, inANumberTypedvalue, inANumbervalue, inAOutputDirection, inAOwner, inAOwnerDontcareoptions, inAOwnerPropertyoptions, inAPage, inAPageContentsoptions, inAPort, inAPortbundle, inAPortbundleInterfaceop, inAPortbundleListofportsop, inAPortimplementation, inAPortimplementationPageoptions, inAPortimplementationProtectionframeop, inAPortimplementationSymboloptions, inAPortinstance, inAPortinstanceInstanceoptions, inAPortInterfaceop, inAPortlist, inAPortlistJoinedoptions, inAPortListofportsop, inAPortnamerefPortimpop, inAPortnamerefPortinstop, inAPortnamerefPortlistoptions, inAPortref, inAPortrefJoinedoptions, inAPortrefPortimplementationop, inAPortrefPortimpop, inAPortrefPortinstop, inAPortrefPortlistoptions, inAPortrefPortrefop, inAProperty, inAPropertyCelloptions, inAPropertyDesignoptions, inAPropertyDontcareoptions, inAPropertyInstanceoptions, inAPropertyInterfaceop, inAPropertynamedef, inAPropertyNetbundleop, inAPropertyNetoptions, inAPropertyPortbundleop, inAPropertyPortimplementationop, inAPropertyPortinstanceop, inAPropertyPortoptions, inAPropertyPropertyoptions, inAPropertyProtectionframeop, inAPropertySymboloptions, inAPropertyViewoptions, inAProtectionframe, inAProtectionInterfaceop, inARename, inARenameDontcareoptions, inARenameNamedef, inAScale, inAScaleNumberdefinitionop, inAStrDontcareoptions, inAString, inAStringTypedvalue, inAStringvalue, inAStrTokenDontcareoptions, inASubissue, inASymbol, inASymbolInterfaceop, inATechnology, inATrue, inATrueBooleantoken, inAUnit, inAView, inAViewCelloptions, inAViewlist, inAViewlistInstanceop, inAViewlistViewlistop, inAViewnamedef, inAViewnameref, inAViewref, inAViewrefInstanceop, inAViewrefInstancerefop, inAViewrefPortrefop, inAViewrefViewlistop, inAViewtype, inStart, outAArray, outAArrayInstancenamedef, outAArraynamedef, outAArrayNetnamedef, outAArrayPortnamedef, outABoolean, outABooleanTypedvalue, outABooleanvalue, outACell, outACellExternaloptions, outACellLibraryoptions, outACellnamedef, outACellnameref, outACellref, outACelltokenNamedef, outACelltokenNameref, outACelltype, outAComment, outACommentCelloptions, outACommentContentsoptions, outACommentDesignoptions, outACommentDontcareoptions, outACommentEdifoptions, outACommentExternaloptions, outACommentInstanceoptions, outACommentLibraryoptions, outACommentNetbundleop, outACommentNetoptions, outACommentNumberdefinitionop, outACommentPageoptions, outACommentPortbundleop, outACommentPortinstanceop, outACommentPortoptions, outACommentPropertyoptions, outACommentProtectionframeop, outACommentSymboloptions, outACommentViewoptions, outAContents, outAContentsViewoptions, outADesign, outADesignEdifoptions, outADesignnamedef, outADirectionPortoptions, outADontcare, outADontCareCelloptions, outADontcareContentsoptions, outADontCareDontcareoptions, outADontCareEdifoptions, outADontCareInstanceoptions, outADontCareInterfaceop, outADontCareNetoptions, outADontCarePortoptions, outADontCareViewoptions, outAEdif, outAEdiflevel, outAEdiflevelvalue, outAEdifnamedef, outAEdifversion, outAEee, outAEScaledinteger, outAExponent, outAExternaEdifoptions, outAExternal, outAFalse, outAFalseBooleantoken, outAIdent, outAIdentDontcareoptions, outAIdentNamedef, outAIdentNameref, outAImpmlementationContentsoptions, outAInoutDirection, outAInputDirection, outAInstance, outAInstanceContentsoptions, outAInstanceNetoptions, outAInstancePageoptions, outAInstancePortimplementationop, outAInstanceProtectionframeop, outAInstanceref, outAInstancerefInstancerefop, outAInstancerefPortrefop, outAInstanceSymboloptions, outAInteger, outAIntegertokenScaledinteger, outAIntegerTypedvalue, outAIntegervalue, outAInterface, outAIntTokenDontcareoptions, outAIssue, outAJoined, outAJoinedInterfaceop, outAKeywordlevel, outAKeywordlevelvalue, outAKeywordmap, outALibrary, outALibraryEdifoptions, outALibrarynamedef, outALibrarynameref, outALibraryref, outAListofnets, outAListofports, outAMark, outAMember, outAMemberInstancenameref, outAMemberPortnameref, outANamedefInstancenamedef, outANamedefInstancenameref, outANamedefNetnamedef, outANamedefPortnamedef, outANamerefPortnameref, outANet, outANetbundle, outANetbundleContentsoptions, outANetbundlePageoptions, outANetContentsoptions, outANetlistNamedef, outANetlistNameref, outANetNetoptions, outANetPageoptions, outANettokenNamedef, outANettokenNameref, outANumber, outANumberdefinition, outANumberTypedvalue, outANumbervalue, outAOutputDirection, outAOwner, outAOwnerDontcareoptions, outAOwnerPropertyoptions, outAPage, outAPageContentsoptions, outAPort, outAPortbundle, outAPortbundleInterfaceop, outAPortbundleListofportsop, outAPortimplementation, outAPortimplementationPageoptions, outAPortimplementationProtectionframeop, outAPortimplementationSymboloptions, outAPortinstance, outAPortinstanceInstanceoptions, outAPortInterfaceop, outAPortlist, outAPortlistJoinedoptions, outAPortListofportsop, outAPortnamerefPortimpop, outAPortnamerefPortinstop, outAPortnamerefPortlistoptions, outAPortref, outAPortrefJoinedoptions, outAPortrefPortimplementationop, outAPortrefPortimpop, outAPortrefPortinstop, outAPortrefPortlistoptions, outAPortrefPortrefop, outAProperty, outAPropertyCelloptions, outAPropertyDesignoptions, outAPropertyDontcareoptions, outAPropertyInstanceoptions, outAPropertyInterfaceop, outAPropertynamedef, outAPropertyNetbundleop, outAPropertyNetoptions, outAPropertyPortbundleop, outAPropertyPortimplementationop, outAPropertyPortinstanceop, outAPropertyPortoptions, outAPropertyPropertyoptions, outAPropertyProtectionframeop, outAPropertySymboloptions, outAPropertyViewoptions, outAProtectionframe, outAProtectionInterfaceop, outARename, outARenameDontcareoptions, outARenameNamedef, outAScale, outAScaleNumberdefinitionop, outAStrDontcareoptions, outAString, outAStringTypedvalue, outAStringvalue, outAStrTokenDontcareoptions, outASubissue, outASymbol, outASymbolInterfaceop, outATechnology, outATrue, outATrueBooleantoken, outAUnit, outAView, outAViewCelloptions, outAViewlist, outAViewlistInstanceop, outAViewlistViewlistop, outAViewnamedef, outAViewnameref, outAViewref, outAViewrefInstanceop, outAViewrefInstancerefop, outAViewrefPortrefop, outAViewrefViewlistop, outAViewtype, outStart
 
Methods inherited from class byucc.jhdl.parsers.edif.sablecc.analysis.AnalysisAdapter
caseEOF, caseTArray, caseTBlank, caseTBoolean, caseTCell, caseTCellref, caseTCelltype, caseTComment, caseTContents, caseTDesign, caseTDirection, caseTEdif, caseTEdiflevel, caseTEdifversion, caseTExp, caseTExternal, caseTFalse, caseTGeneric, caseTIdentifier, caseTInout, caseTInput, caseTInstance, caseTInstanceref, caseTInteger, caseTIntegertoken, caseTInterface, caseTJoined, caseTKeywordlevel, caseTKeywordmap, caseTLibrary, caseTLibraryref, caseTListofnets, caseTListofports, caseTMember, caseTNet, caseTNetbundle, caseTNetlist, caseTNumber, caseTNumberdefinition, caseTNumberident, caseTOutput, caseTOwner, caseTPage, caseTPort, caseTPortbundle, caseTPortimplementation, caseTPortinstance, caseTPortlist, caseTPortref, caseTProperty, caseTProtectionframe, caseTRename, caseTScale, caseTString, caseTStringtoken, caseTSymbol, caseTTechnology, caseTTrue, caseTUnit, caseTView, caseTViewlist, caseTViewref, caseTViewtype, getIn, getOut, setIn, setOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyPrintVisitor

public PrettyPrintVisitor(JHDLPrintWriter jpw)

PrettyPrintVisitor

public PrettyPrintVisitor(JHDLPrintWriter jpw,
                          int indentLevel)
Method Detail

defaultCase

public void defaultCase(Node node)
Overrides:
defaultCase in class AnalysisAdapter

caseTLbr

public void caseTLbr(TLbr node)
Specified by:
caseTLbr in interface Analysis
Overrides:
caseTLbr in class AnalysisAdapter

caseTRbr

public void caseTRbr(TRbr node)
Specified by:
caseTRbr in interface Analysis
Overrides:
caseTRbr in class AnalysisAdapter


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.