Java Doc for CPrinter.java in  » Parser » Rats-Parser-Generators » xtc » lang » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Parser » Rats Parser Generators » xtc.lang 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   xtc.tree.Visitor
      xtc.lang.CPrinter

CPrinter
public class CPrinter extends Visitor (Code)
A pretty printer for C.

A note on operator precedence: This printer uses precedence levels to control when to print parentheses around expressions. The actual precedence values are the standard C precedence levels multiplied by ten.
author:
   Robert Grimm
version:
   $Revision: 1.74 $



Field Summary
final public static  booleanEXTRA_PARENTHESES
     The flag for printing additional parentheses to avoid gcc warnings.
final public static  intPREC_BASE
     The base precedence level.
final public static  intPREC_CONSTANT
     The constant precedence level.
final public static  intPREC_LIST
     The list precedence level.
final public static  intSTMT_ANY
     The flag for any statement besides an if or if-else statement.
final public static  intSTMT_IF
     The flag for an if statement.
final public static  intSTMT_IF_ELSE
     The flag for an if-else statement.
final protected  booleangnuify
     The flag for whether to use GNU coding guidelines.
protected  booleanisDeclaration
     The flag for whether we just printed a declaration.
protected  booleanisFunctionDef
     The flag for whether this declarator is a function definition.
protected  booleanisIfElse
     The flag for whether this statement is the else clause of an if-else statement.
protected  booleanisLongDecl
     The flag for whether we just printed a declaration spanning several lines.
protected  booleanisNested
     The flag for whether the current statement requires nesting or for whether the current declaration is nested within a for statement.
protected  booleanisOpenLine
     The flag for whether the last statement ended with an open line.
protected  booleanisStatement
     The flag for whether we just printed a statement.
protected  booleanisStmtAsExpr
     The flag for whether this compound statement is an expression (as in the GCC extension).
final protected  booleanlineUp
     The flag for whether to line up declarations and statements with their source locations.
protected  intprecedence
     The operator precedence level for the current expression.
final protected  Printerprinter
     The printer for this C printer.

Constructor Summary
public  CPrinter(Printer printer)
     Create a new C printer.
public  CPrinter(Printer printer, boolean lineUp, boolean gnuify)
     Create a new C printer.

Method Summary
protected  booleancontainsLongType(GNode specs)
     Determine whether the specified generic node contains a long type definition.
protected  voidendExpression(int prec)
     Stop printing an expression.
protected  voidendStatement(boolean nested)
     End a statement.
protected  intenterContext(int prec)
     Enter an expression context.
protected  intenterContext()
     Enter an expression context.
protected  voidexitContext(int prec)
     Exit an expression context.
protected  voidformatAsTruthValue(Node n)
     Print an expression as a truth value.
protected  booleanisLongDeclaration(GNode decl)
     Determine whether the specified declaration is long.
protected  voidprepareNested()
     Prepare for a nested statement.
protected  intstartExpression(int prec)
     Start printing an expression at the specified operator precedence level.
See Also:   CPrinter.endExpression(int)
Parameters:
  prec - The expression's precedence level.
protected  booleanstartStatement(int kind, Node node)
     Start a new statement.
public  voidvisit(LineMarker mark)
     Visit the specified line marker.
public  voidvisit(Pragma p)
     Visit the specified pragma.
public  voidvisit(SourceIdentity ident)
     Visit the specified source identity marker.
public  voidvisitAbstractDeclarator(GNode n)
     Visit the specified abstract declarator node.
public  voidvisitAdditiveExpression(GNode n)
     Visit the specified additive expression node.
public  voidvisitAddressExpression(GNode n)
     Visit the specified address expression node.
public  voidvisitAlignofExpression(GNode n)
     Visit the specified alignof expression node.
public  voidvisitArrayDeclarator(GNode n)
     Visit the specified array declarator node.
public  voidvisitArrayQualifierList(GNode n)
     Visit the specified array qualifier list node.
public  voidvisitAssemblyArgument(GNode n)
     Visit the specified assembly argument node.
public  voidvisitAssemblyClobbers(GNode n)
     Visit the specified assembly clobbers node.
public  voidvisitAssemblyDefinition(GNode n)
     Visit the specified assembly definition node.
public  voidvisitAssemblyOperand(GNode n)
     Visit the specified assembly operand node.
public  voidvisitAssemblyOperands(GNode n)
     Visit the specified assembly operands node.
public  voidvisitAssemblyStatement(GNode n)
     Visit the specified assembly statement node.
public  voidvisitAssignmentExpression(GNode n)
     Visit the specified assignment expression node.
public  voidvisitAttributeList(GNode n)
     Visit the specified attribute list node.
public  voidvisitAttributeListEntry(GNode n)
     Visit the specified attribute list entry node.
public  voidvisitAttributeSpecifier(GNode n)
     Visit the specified attribute specifier node.
public  voidvisitAttributeSpecifierList(GNode n)
     Visit the specified attribute specifier list node.
public  voidvisitAttributedAbstractDeclarator(GNode n)
     Visit the specified attributed abstract declarator node.
public  voidvisitAttributedDeclarator(GNode n)
     Visit the specified attributed declarator node.
public  voidvisitAutoSpecifier(GNode n)
     Visit the specified auto storage class specifier node.
public  voidvisitBitField(GNode n)
     Visit the specified bit field node.
public  voidvisitBitwiseAndExpression(GNode n)
     Visit the specified bitwise and expression node.
public  voidvisitBitwiseNegationExpression(GNode n)
     Visit the specified bitwise negation expression node.
public  voidvisitBitwiseOrExpression(GNode n)
     Visit the specified bitwise or expression node.
public  voidvisitBitwiseXorExpression(GNode n)
     Visit the specified bitwise xor expression node.
public  voidvisitBool(GNode n)
     Visit the specified bool node.
public  voidvisitBreakStatement(GNode n)
     Visit the specified break statement node.
public  voidvisitCaseLabel(GNode n)
     Visit the specified case label node.
public  voidvisitCastExpression(GNode n)
     Visit the specified cast expression node.
public  voidvisitChar(GNode n)
     Visit the specified char node.
public  voidvisitCharacterConstant(GNode n)
     Visit the specified character constant node.
public  voidvisitCommaExpression(GNode n)
     Visit the specified comma expression node.
public  voidvisitComplex(GNode n)
     Visit the specified complex node.
public  voidvisitCompoundLiteral(GNode n)
     Visit the specified compound literal node.
public  voidvisitCompoundStatement(GNode n)
     Visit the specified compound statement node.
public  voidvisitConditionalExpression(GNode n)
     Visit the specified conditional expression node.
public  voidvisitConstantQualifier(GNode n)
     Visit the specified constant qualifier node.
public  voidvisitContinueStatement(GNode n)
     Visit the specified continue statement node.
public  voidvisitDeclaration(GNode n)
     Visit the specified declaration node.
public  voidvisitDeclarationList(GNode n)
     Visit the specified declaration list node.
public  voidvisitDeclarationSpecifiers(GNode n)
     Visit the specified declaration specifiers node.
public  voidvisitDefaultLabel(GNode n)
     Visit the specified default label node.
public  voidvisitDesignation(GNode n)
     Visit the specified designation node.
public  voidvisitDesignator(GNode n)
     Visit the specified designator entry node.
public  voidvisitDirectAbstractDeclarator(GNode n)
     Visit the specified direct abstract declarator node.
public  voidvisitDirectComponentSelection(GNode n)
     Visit the specified direct component selection node.
public  voidvisitDoStatement(GNode n)
     Visit the specified do statement node.
public  voidvisitDouble(GNode n)
     Visit the specified double node.
public  voidvisitEmptyDefinition(GNode n)
     Visit the specified empty definition.
public  voidvisitEmptyStatement(GNode n)
     Visit the specified empty statement node.
public  voidvisitEnumerationTypeDefinition(GNode n)
     Visit the specified enumeration type definition.
public  voidvisitEnumerationTypeReference(GNode n)
     Visit the specified enumeration type reference node.
public  voidvisitEnumerator(GNode n)
     Visit the specified enumerator node.
public  voidvisitEnumeratorList(GNode n)
     Visit the specified enumerator list node.
public  voidvisitEqualityExpression(GNode n)
     Visit the specified equality expression node.
public  voidvisitExpressionList(GNode n)
     Visit the specified expression list node.
public  voidvisitExpressionStatement(GNode n)
     Visit the specified expression statement node.
public  voidvisitExtensionExpression(GNode n)
     Visit the extension expression node.
public  voidvisitExternSpecifier(GNode n)
     Visit the specified extern storage class specifier node.
public  voidvisitFloat(GNode n)
     Visit the specified float node.
public  voidvisitFloatingConstant(GNode n)
     Visit the specified floating constant node.
public  voidvisitForStatement(GNode n)
     Visit the specified for statement node.
public  voidvisitFunctionCall(GNode n)
     Visit the specified function call node.
public  voidvisitFunctionDeclarator(GNode n)
     Visit the specified function declarator node.
public  voidvisitFunctionDefinition(GNode n)
     Visit the specified function definition node.
public  voidvisitFunctionSpecifier(GNode n)
     Visit the specified function specifier node.
public  voidvisitGotoStatement(GNode n)
     Visit the specified goto statement node.
public  voidvisitIdentifierList(GNode n)
     Visit the specified identifier list node.
public  voidvisitIfElseStatement(GNode n)
     Visit the specified if else statement node.
public  voidvisitIfStatement(GNode n)
     Visit the specified if statement node.
public  voidvisitIndirectComponentSelection(GNode n)
     Visit the specified indirect component selection node.
public  voidvisitIndirectionExpression(GNode n)
     Visit the specified indirection expression node.
public  voidvisitInitializedDeclarator(GNode n)
     Visit the specified initialized declarator node.
public  voidvisitInitializedDeclaratorList(GNode n)
     Visit the specified initialized declarator list node.
public  voidvisitInitializerList(GNode n)
     Visit the specified initializer list node.
public  voidvisitInitializerListEntry(GNode n)
     Visit the specified initializer list entry node.
public  voidvisitInt(GNode n)
     Visit the specified int node.
public  voidvisitIntegerConstant(GNode n)
     Visit the specified integer constant node.
public  voidvisitLabelAddressExpression(GNode n)
     Visit the specified label address expression node.
public  voidvisitLabeledStatement(GNode n)
     Visit the specified labeled statement node.
public  voidvisitLocalLabelDeclaration(GNode n)
     Visit the specified label declaration node.
public  voidvisitLogicalAndExpression(GNode n)
     Visit the specified logical and expression node.
public  voidvisitLogicalNegationExpression(GNode n)
     Visit the specified logical negation expression node.
public  voidvisitLogicalOrExpression(GNode n)
     Visit the specified logical or expression node.
public  voidvisitLong(GNode n)
     Visit the specified long node.
public  voidvisitMultiplicativeExpression(GNode n)
     Visit the specified multiplicative expression node.
public  voidvisitNamedLabel(GNode n)
     Visit the specified named label node.
public  voidvisitObsoleteArrayDesignation(GNode n)
     Visit the specified obsolete array designation node.
public  voidvisitObsoleteFieldDesignation(GNode n)
     Visit the specified obsolete field designation node.
public  voidvisitOffsetofExpression(GNode n)
     Visit the specified offsetof expression node.
public  voidvisitParameterDeclaration(GNode n)
     Visit the specified parameter declaration node.
public  voidvisitParameterList(GNode n)
     Visit the specified parameter list node.
public  voidvisitParameterTypeList(GNode n)
     Visit the specified parameter type list node.
public  voidvisitPointer(GNode n)
     Visit the specified pointer node.
public  voidvisitPointerDeclarator(GNode n)
     Visit the specified pointer declarator node.
public  voidvisitPostdecrementExpression(GNode n)
     Visit the specified postdecrement expression node.
public  voidvisitPostincrementExpression(GNode n)
     Visit the specified postincrement expression node.
public  voidvisitPredecrementExpression(GNode n)
     Visit the specified predecrement expression node.
public  voidvisitPreincrementExpression(GNode n)
     Visit the specified preincrement expression node.
public  voidvisitPrimaryIdentifier(GNode n)
     Visit the specified primary identifier node.
public  voidvisitRegisterSpecifier(GNode n)
     Visit the specified register storage class specifier node.
public  voidvisitRelationalExpression(GNode n)
     Visit the specified relational expression node.
public  voidvisitRestrictQualifier(GNode n)
     Visit the specified restrict qualifier node.
public  voidvisitReturnStatement(GNode n)
     Visit the specified return statement node.
public  voidvisitShiftExpression(GNode n)
     Visit the specified shift expression node.
public  voidvisitShort(GNode n)
     Visit the specified short node.
public  voidvisitSigned(GNode n)
     Visit the specified signed node.
public  voidvisitSimpleAssemblyExpression(GNode n)
     Visit the specified simple assembly expression node.
public  voidvisitSimpleDeclarator(GNode n)
     Visit the specified simple declarator node.
public  voidvisitSizeofExpression(GNode n)
     Visit the specified sizeof expression node.
public  voidvisitSpecifierQualifierList(GNode n)
     Visit the specified specifier qualifier list node.
public  voidvisitStatementAsExpression(GNode n)
     Visit the specified statement as exprression node.
public  voidvisitStaticSpecifier(GNode n)
     Visit the specified static storage class specifier node.
public  voidvisitStringConstant(GNode n)
     Visit the specified string constant node.
public  voidvisitStructureDeclaration(GNode n)
     Visit the specified structure declaration node.
public  voidvisitStructureDeclarationList(GNode n)
     Visit the specified structure declaration list node.
public  voidvisitStructureDeclaratorList(GNode n)
     Visit the specified structure declarator list node.
public  voidvisitStructureTypeDefinition(GNode n)
     Visit the specified structure type definition.
public  voidvisitStructureTypeReference(GNode n)
     Visit the specified structure type reference.
public  voidvisitSubscriptExpression(GNode n)
     Visit the specified subscript expression node.
public  voidvisitSwitchStatement(GNode n)
     Visit the specified switch statement node.
public  voidvisitTranslationUnit(GNode n)
     Visit the specified translation unit node.
public  voidvisitTypeCompatibilityExpression(GNode n)
     Visit the specified type compatability expression.
public  voidvisitTypeName(GNode n)
     Visit the specified type name node.
public  voidvisitTypeQualifierList(GNode n)
     Visit the specified type qualifier list node.
public  voidvisitTypedefName(GNode n)
     Visit the specified typedef name node.
public  voidvisitTypedefSpecifier(GNode n)
     Visit the specified typedef storage class specifier node.
public  voidvisitTypeofSpecifier(GNode n)
     Visit the specified typeof specifier node.
public  voidvisitUnaryMinusExpression(GNode n)
     Visit the specified unary minus expression node.
public  voidvisitUnaryPlusExpression(GNode n)
     Visit the specified unary plus expression node.
public  voidvisitUnionTypeDefinition(GNode n)
     Visit the specified union type definition.
public  voidvisitUnionTypeReference(GNode n)
     Visit the specified union type reference.
public  voidvisitUnsigned(GNode n)
     Visit the specified unsigned node.
public  voidvisitVarArgListSpecifier(GNode n)
     Visit the specified variable argument list specifier node.
public  voidvisitVariableArgumentAccess(GNode n)
     Visit the specified variable argument access node.
public  voidvisitVariableLength(GNode n)
     Visit the specified variable length node.
public  voidvisitVoidTypeSpecifier(GNode n)
     Visit the specified void type specifier node.
public  voidvisitVolatileQualifier(GNode n)
     Visit the specified volatile qualifier node.
public  voidvisitWhileStatement(GNode n)
     Visit the specified while statement node.

Field Detail
EXTRA_PARENTHESES
final public static boolean EXTRA_PARENTHESES(Code)
The flag for printing additional parentheses to avoid gcc warnings.



PREC_BASE
final public static int PREC_BASE(Code)
The base precedence level. This level corresponds to the expression nonterminal.



PREC_CONSTANT
final public static int PREC_CONSTANT(Code)
The constant precedence level. This level corresponds to the conditional expression nonterminal.



PREC_LIST
final public static int PREC_LIST(Code)
The list precedence level. This level corresponds to the assignment expression nonterminal.



STMT_ANY
final public static int STMT_ANY(Code)
The flag for any statement besides an if or if-else statement.



STMT_IF
final public static int STMT_IF(Code)
The flag for an if statement.



STMT_IF_ELSE
final public static int STMT_IF_ELSE(Code)
The flag for an if-else statement.



gnuify
final protected boolean gnuify(Code)
The flag for whether to use GNU coding guidelines.



isDeclaration
protected boolean isDeclaration(Code)
The flag for whether we just printed a declaration.



isFunctionDef
protected boolean isFunctionDef(Code)
The flag for whether this declarator is a function definition.



isIfElse
protected boolean isIfElse(Code)
The flag for whether this statement is the else clause of an if-else statement.



isLongDecl
protected boolean isLongDecl(Code)
The flag for whether we just printed a declaration spanning several lines.



isNested
protected boolean isNested(Code)
The flag for whether the current statement requires nesting or for whether the current declaration is nested within a for statement.



isOpenLine
protected boolean isOpenLine(Code)
The flag for whether the last statement ended with an open line.



isStatement
protected boolean isStatement(Code)
The flag for whether we just printed a statement.



isStmtAsExpr
protected boolean isStmtAsExpr(Code)
The flag for whether this compound statement is an expression (as in the GCC extension).



lineUp
final protected boolean lineUp(Code)
The flag for whether to line up declarations and statements with their source locations.



precedence
protected int precedence(Code)
The operator precedence level for the current expression.



printer
final protected Printer printer(Code)
The printer for this C printer.




Constructor Detail
CPrinter
public CPrinter(Printer printer)(Code)
Create a new C printer.
Parameters:
  printer - The printer.



CPrinter
public CPrinter(Printer printer, boolean lineUp, boolean gnuify)(Code)
Create a new C printer.
Parameters:
  printer - The printer.
Parameters:
  lineUp - The flag for whether to line up declaratons andstatements with their source locations.
Parameters:
  gnuify - The flag for whether to use GNU code formattingconventions.




Method Detail
containsLongType
protected boolean containsLongType(GNode specs)(Code)
Determine whether the specified generic node contains a long type definition. A long type definition requires multiple lines for readability. Examples include enumeration, structure, and union type definitions.
Parameters:
  specs - The generic node, representing a list of specifiers. true if the specifiers contain a longtype specifier.



endExpression
protected void endExpression(int prec)(Code)
Stop printing an expression.
See Also:   CPrinter.startExpression(int)
Parameters:
  prec - The previous precedence level.



endStatement
protected void endStatement(boolean nested)(Code)
End a statement.
See Also:   CPrinter.startStatement
Parameters:
  nested - The flag for whether the current statement is nested.



enterContext
protected int enterContext(int prec)(Code)
Enter an expression context. The new context has the specified precedence level.
See Also:   CPrinter.exitContext(int)
Parameters:
  prec - The precedence level for the expression context. The previous precedence level.



enterContext
protected int enterContext()(Code)
Enter an expression context. The new context is appropriate for an operand opposite the associativity of the current operator. For example, when printing an additive expression, this method should be called before printing the second operand, as additive operators associate left-to-right.
See Also:   CPrinter.exitContext(int) The previous precedence level.



exitContext
protected void exitContext(int prec)(Code)
Exit an expression context.
See Also:   CPrinter.enterContext(int)
See Also:   CPrinter.enterContext()
Parameters:
  prec - The previous precedence level.



formatAsTruthValue
protected void formatAsTruthValue(Node n)(Code)
Print an expression as a truth value. This method prints the specified node. If that node represents an assignment expression and CPrinter.EXTRA_PARENTHESES is true, this method adds an extra set of parentheses around the expression to avoid gcc warnings.
Parameters:
  n - The node to print.



isLongDeclaration
protected boolean isLongDeclaration(GNode decl)(Code)
Determine whether the specified declaration is long. A long declaration requires multiple lines for readability. Examples include declarations containing enumeration, structure, and union type definitions.
Parameters:
  decl - The declaration. true if the specified declaration is long.



prepareNested
protected void prepareNested()(Code)
Prepare for a nested statement.
See Also:   CPrinter.startStatement



startExpression
protected int startExpression(int prec)(Code)
Start printing an expression at the specified operator precedence level.
See Also:   CPrinter.endExpression(int)
Parameters:
  prec - The expression's precedence level. The previous precedence level.



startStatement
protected boolean startStatement(int kind, Node node)(Code)
Start a new statement. This method and the corresponding CPrinter.prepareNested() and CPrinter.endStatement(boolean) methods provide a reasonable default for newlines and indentation when printing statements. They manage the CPrinter.isDeclaration , CPrinter.isStatement , CPrinter.isOpenLine , CPrinter.isNested , and CPrinter.isIfElse flags.
Parameters:
  kind - The kind of statement, which must be one of thethree statement flags defined by this class.
Parameters:
  node - The statement's node. The flag for whether the current statement is nested.



visit
public void visit(LineMarker mark)(Code)
Visit the specified line marker.



visit
public void visit(Pragma p)(Code)
Visit the specified pragma.



visit
public void visit(SourceIdentity ident)(Code)
Visit the specified source identity marker.



visitAbstractDeclarator
public void visitAbstractDeclarator(GNode n)(Code)
Visit the specified abstract declarator node.



visitAdditiveExpression
public void visitAdditiveExpression(GNode n)(Code)
Visit the specified additive expression node.



visitAddressExpression
public void visitAddressExpression(GNode n)(Code)
Visit the specified address expression node.



visitAlignofExpression
public void visitAlignofExpression(GNode n)(Code)
Visit the specified alignof expression node.



visitArrayDeclarator
public void visitArrayDeclarator(GNode n)(Code)
Visit the specified array declarator node.



visitArrayQualifierList
public void visitArrayQualifierList(GNode n)(Code)
Visit the specified array qualifier list node.



visitAssemblyArgument
public void visitAssemblyArgument(GNode n)(Code)
Visit the specified assembly argument node.



visitAssemblyClobbers
public void visitAssemblyClobbers(GNode n)(Code)
Visit the specified assembly clobbers node.



visitAssemblyDefinition
public void visitAssemblyDefinition(GNode n)(Code)
Visit the specified assembly definition node.



visitAssemblyOperand
public void visitAssemblyOperand(GNode n)(Code)
Visit the specified assembly operand node.



visitAssemblyOperands
public void visitAssemblyOperands(GNode n)(Code)
Visit the specified assembly operands node.



visitAssemblyStatement
public void visitAssemblyStatement(GNode n)(Code)
Visit the specified assembly statement node.



visitAssignmentExpression
public void visitAssignmentExpression(GNode n)(Code)
Visit the specified assignment expression node.



visitAttributeList
public void visitAttributeList(GNode n)(Code)
Visit the specified attribute list node.



visitAttributeListEntry
public void visitAttributeListEntry(GNode n)(Code)
Visit the specified attribute list entry node.



visitAttributeSpecifier
public void visitAttributeSpecifier(GNode n)(Code)
Visit the specified attribute specifier node.



visitAttributeSpecifierList
public void visitAttributeSpecifierList(GNode n)(Code)
Visit the specified attribute specifier list node.



visitAttributedAbstractDeclarator
public void visitAttributedAbstractDeclarator(GNode n)(Code)
Visit the specified attributed abstract declarator node.



visitAttributedDeclarator
public void visitAttributedDeclarator(GNode n)(Code)
Visit the specified attributed declarator node.



visitAutoSpecifier
public void visitAutoSpecifier(GNode n)(Code)
Visit the specified auto storage class specifier node.



visitBitField
public void visitBitField(GNode n)(Code)
Visit the specified bit field node.



visitBitwiseAndExpression
public void visitBitwiseAndExpression(GNode n)(Code)
Visit the specified bitwise and expression node.



visitBitwiseNegationExpression
public void visitBitwiseNegationExpression(GNode n)(Code)
Visit the specified bitwise negation expression node.



visitBitwiseOrExpression
public void visitBitwiseOrExpression(GNode n)(Code)
Visit the specified bitwise or expression node.



visitBitwiseXorExpression
public void visitBitwiseXorExpression(GNode n)(Code)
Visit the specified bitwise xor expression node.



visitBool
public void visitBool(GNode n)(Code)
Visit the specified bool node.



visitBreakStatement
public void visitBreakStatement(GNode n)(Code)
Visit the specified break statement node.



visitCaseLabel
public void visitCaseLabel(GNode n)(Code)
Visit the specified case label node.



visitCastExpression
public void visitCastExpression(GNode n)(Code)
Visit the specified cast expression node.



visitChar
public void visitChar(GNode n)(Code)
Visit the specified char node.



visitCharacterConstant
public void visitCharacterConstant(GNode n)(Code)
Visit the specified character constant node.



visitCommaExpression
public void visitCommaExpression(GNode n)(Code)
Visit the specified comma expression node.



visitComplex
public void visitComplex(GNode n)(Code)
Visit the specified complex node.



visitCompoundLiteral
public void visitCompoundLiteral(GNode n)(Code)
Visit the specified compound literal node.



visitCompoundStatement
public void visitCompoundStatement(GNode n)(Code)
Visit the specified compound statement node.



visitConditionalExpression
public void visitConditionalExpression(GNode n)(Code)
Visit the specified conditional expression node.



visitConstantQualifier
public void visitConstantQualifier(GNode n)(Code)
Visit the specified constant qualifier node.



visitContinueStatement
public void visitContinueStatement(GNode n)(Code)
Visit the specified continue statement node.



visitDeclaration
public void visitDeclaration(GNode n)(Code)
Visit the specified declaration node.



visitDeclarationList
public void visitDeclarationList(GNode n)(Code)
Visit the specified declaration list node.



visitDeclarationSpecifiers
public void visitDeclarationSpecifiers(GNode n)(Code)
Visit the specified declaration specifiers node.



visitDefaultLabel
public void visitDefaultLabel(GNode n)(Code)
Visit the specified default label node.



visitDesignation
public void visitDesignation(GNode n)(Code)
Visit the specified designation node.



visitDesignator
public void visitDesignator(GNode n)(Code)
Visit the specified designator entry node.



visitDirectAbstractDeclarator
public void visitDirectAbstractDeclarator(GNode n)(Code)
Visit the specified direct abstract declarator node.



visitDirectComponentSelection
public void visitDirectComponentSelection(GNode n)(Code)
Visit the specified direct component selection node.



visitDoStatement
public void visitDoStatement(GNode n)(Code)
Visit the specified do statement node.



visitDouble
public void visitDouble(GNode n)(Code)
Visit the specified double node.



visitEmptyDefinition
public void visitEmptyDefinition(GNode n)(Code)
Visit the specified empty definition.



visitEmptyStatement
public void visitEmptyStatement(GNode n)(Code)
Visit the specified empty statement node.



visitEnumerationTypeDefinition
public void visitEnumerationTypeDefinition(GNode n)(Code)
Visit the specified enumeration type definition.



visitEnumerationTypeReference
public void visitEnumerationTypeReference(GNode n)(Code)
Visit the specified enumeration type reference node.



visitEnumerator
public void visitEnumerator(GNode n)(Code)
Visit the specified enumerator node.



visitEnumeratorList
public void visitEnumeratorList(GNode n)(Code)
Visit the specified enumerator list node.



visitEqualityExpression
public void visitEqualityExpression(GNode n)(Code)
Visit the specified equality expression node.



visitExpressionList
public void visitExpressionList(GNode n)(Code)
Visit the specified expression list node.



visitExpressionStatement
public void visitExpressionStatement(GNode n)(Code)
Visit the specified expression statement node.



visitExtensionExpression
public void visitExtensionExpression(GNode n)(Code)
Visit the extension expression node.



visitExternSpecifier
public void visitExternSpecifier(GNode n)(Code)
Visit the specified extern storage class specifier node.



visitFloat
public void visitFloat(GNode n)(Code)
Visit the specified float node.



visitFloatingConstant
public void visitFloatingConstant(GNode n)(Code)
Visit the specified floating constant node.



visitForStatement
public void visitForStatement(GNode n)(Code)
Visit the specified for statement node.



visitFunctionCall
public void visitFunctionCall(GNode n)(Code)
Visit the specified function call node.



visitFunctionDeclarator
public void visitFunctionDeclarator(GNode n)(Code)
Visit the specified function declarator node.



visitFunctionDefinition
public void visitFunctionDefinition(GNode n)(Code)
Visit the specified function definition node.



visitFunctionSpecifier
public void visitFunctionSpecifier(GNode n)(Code)
Visit the specified function specifier node.



visitGotoStatement
public void visitGotoStatement(GNode n)(Code)
Visit the specified goto statement node.



visitIdentifierList
public void visitIdentifierList(GNode n)(Code)
Visit the specified identifier list node.



visitIfElseStatement
public void visitIfElseStatement(GNode n)(Code)
Visit the specified if else statement node.



visitIfStatement
public void visitIfStatement(GNode n)(Code)
Visit the specified if statement node.



visitIndirectComponentSelection
public void visitIndirectComponentSelection(GNode n)(Code)
Visit the specified indirect component selection node.



visitIndirectionExpression
public void visitIndirectionExpression(GNode n)(Code)
Visit the specified indirection expression node.



visitInitializedDeclarator
public void visitInitializedDeclarator(GNode n)(Code)
Visit the specified initialized declarator node.



visitInitializedDeclaratorList
public void visitInitializedDeclaratorList(GNode n)(Code)
Visit the specified initialized declarator list node.



visitInitializerList
public void visitInitializerList(GNode n)(Code)
Visit the specified initializer list node.



visitInitializerListEntry
public void visitInitializerListEntry(GNode n)(Code)
Visit the specified initializer list entry node.



visitInt
public void visitInt(GNode n)(Code)
Visit the specified int node.



visitIntegerConstant
public void visitIntegerConstant(GNode n)(Code)
Visit the specified integer constant node.



visitLabelAddressExpression
public void visitLabelAddressExpression(GNode n)(Code)
Visit the specified label address expression node.



visitLabeledStatement
public void visitLabeledStatement(GNode n)(Code)
Visit the specified labeled statement node.



visitLocalLabelDeclaration
public void visitLocalLabelDeclaration(GNode n)(Code)
Visit the specified label declaration node.



visitLogicalAndExpression
public void visitLogicalAndExpression(GNode n)(Code)
Visit the specified logical and expression node.



visitLogicalNegationExpression
public void visitLogicalNegationExpression(GNode n)(Code)
Visit the specified logical negation expression node.



visitLogicalOrExpression
public void visitLogicalOrExpression(GNode n)(Code)
Visit the specified logical or expression node.



visitLong
public void visitLong(GNode n)(Code)
Visit the specified long node.



visitMultiplicativeExpression
public void visitMultiplicativeExpression(GNode n)(Code)
Visit the specified multiplicative expression node.



visitNamedLabel
public void visitNamedLabel(GNode n)(Code)
Visit the specified named label node.



visitObsoleteArrayDesignation
public void visitObsoleteArrayDesignation(GNode n)(Code)
Visit the specified obsolete array designation node.



visitObsoleteFieldDesignation
public void visitObsoleteFieldDesignation(GNode n)(Code)
Visit the specified obsolete field designation node.



visitOffsetofExpression
public void visitOffsetofExpression(GNode n)(Code)
Visit the specified offsetof expression node.



visitParameterDeclaration
public void visitParameterDeclaration(GNode n)(Code)
Visit the specified parameter declaration node.



visitParameterList
public void visitParameterList(GNode n)(Code)
Visit the specified parameter list node.



visitParameterTypeList
public void visitParameterTypeList(GNode n)(Code)
Visit the specified parameter type list node.



visitPointer
public void visitPointer(GNode n)(Code)
Visit the specified pointer node.



visitPointerDeclarator
public void visitPointerDeclarator(GNode n)(Code)
Visit the specified pointer declarator node.



visitPostdecrementExpression
public void visitPostdecrementExpression(GNode n)(Code)
Visit the specified postdecrement expression node.



visitPostincrementExpression
public void visitPostincrementExpression(GNode n)(Code)
Visit the specified postincrement expression node.



visitPredecrementExpression
public void visitPredecrementExpression(GNode n)(Code)
Visit the specified predecrement expression node.



visitPreincrementExpression
public void visitPreincrementExpression(GNode n)(Code)
Visit the specified preincrement expression node.



visitPrimaryIdentifier
public void visitPrimaryIdentifier(GNode n)(Code)
Visit the specified primary identifier node.



visitRegisterSpecifier
public void visitRegisterSpecifier(GNode n)(Code)
Visit the specified register storage class specifier node.



visitRelationalExpression
public void visitRelationalExpression(GNode n)(Code)
Visit the specified relational expression node.



visitRestrictQualifier
public void visitRestrictQualifier(GNode n)(Code)
Visit the specified restrict qualifier node.



visitReturnStatement
public void visitReturnStatement(GNode n)(Code)
Visit the specified return statement node.



visitShiftExpression
public void visitShiftExpression(GNode n)(Code)
Visit the specified shift expression node.



visitShort
public void visitShort(GNode n)(Code)
Visit the specified short node.



visitSigned
public void visitSigned(GNode n)(Code)
Visit the specified signed node.



visitSimpleAssemblyExpression
public void visitSimpleAssemblyExpression(GNode n)(Code)
Visit the specified simple assembly expression node.



visitSimpleDeclarator
public void visitSimpleDeclarator(GNode n)(Code)
Visit the specified simple declarator node.



visitSizeofExpression
public void visitSizeofExpression(GNode n)(Code)
Visit the specified sizeof expression node.



visitSpecifierQualifierList
public void visitSpecifierQualifierList(GNode n)(Code)
Visit the specified specifier qualifier list node.



visitStatementAsExpression
public void visitStatementAsExpression(GNode n)(Code)
Visit the specified statement as exprression node.



visitStaticSpecifier
public void visitStaticSpecifier(GNode n)(Code)
Visit the specified static storage class specifier node.



visitStringConstant
public void visitStringConstant(GNode n)(Code)
Visit the specified string constant node.



visitStructureDeclaration
public void visitStructureDeclaration(GNode n)(Code)
Visit the specified structure declaration node.



visitStructureDeclarationList
public void visitStructureDeclarationList(GNode n)(Code)
Visit the specified structure declaration list node.



visitStructureDeclaratorList
public void visitStructureDeclaratorList(GNode n)(Code)
Visit the specified structure declarator list node.



visitStructureTypeDefinition
public void visitStructureTypeDefinition(GNode n)(Code)
Visit the specified structure type definition.



visitStructureTypeReference
public void visitStructureTypeReference(GNode n)(Code)
Visit the specified structure type reference.



visitSubscriptExpression
public void visitSubscriptExpression(GNode n)(Code)
Visit the specified subscript expression node.



visitSwitchStatement
public void visitSwitchStatement(GNode n)(Code)
Visit the specified switch statement node.



visitTranslationUnit
public void visitTranslationUnit(GNode n)(Code)
Visit the specified translation unit node.



visitTypeCompatibilityExpression
public void visitTypeCompatibilityExpression(GNode n)(Code)
Visit the specified type compatability expression.



visitTypeName
public void visitTypeName(GNode n)(Code)
Visit the specified type name node.



visitTypeQualifierList
public void visitTypeQualifierList(GNode n)(Code)
Visit the specified type qualifier list node.



visitTypedefName
public void visitTypedefName(GNode n)(Code)
Visit the specified typedef name node.



visitTypedefSpecifier
public void visitTypedefSpecifier(GNode n)(Code)
Visit the specified typedef storage class specifier node.



visitTypeofSpecifier
public void visitTypeofSpecifier(GNode n)(Code)
Visit the specified typeof specifier node.



visitUnaryMinusExpression
public void visitUnaryMinusExpression(GNode n)(Code)
Visit the specified unary minus expression node.



visitUnaryPlusExpression
public void visitUnaryPlusExpression(GNode n)(Code)
Visit the specified unary plus expression node.



visitUnionTypeDefinition
public void visitUnionTypeDefinition(GNode n)(Code)
Visit the specified union type definition.



visitUnionTypeReference
public void visitUnionTypeReference(GNode n)(Code)
Visit the specified union type reference.



visitUnsigned
public void visitUnsigned(GNode n)(Code)
Visit the specified unsigned node.



visitVarArgListSpecifier
public void visitVarArgListSpecifier(GNode n)(Code)
Visit the specified variable argument list specifier node.



visitVariableArgumentAccess
public void visitVariableArgumentAccess(GNode n)(Code)
Visit the specified variable argument access node.



visitVariableLength
public void visitVariableLength(GNode n)(Code)
Visit the specified variable length node.



visitVoidTypeSpecifier
public void visitVoidTypeSpecifier(GNode n)(Code)
Visit the specified void type specifier node.



visitVolatileQualifier
public void visitVolatileQualifier(GNode n)(Code)
Visit the specified volatile qualifier node.



visitWhileStatement
public void visitWhileStatement(GNode n)(Code)
Visit the specified while statement node.



Methods inherited from xtc.tree.Visitor
public Object dispatch(Node node)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.