Method Summary |
|
protected boolean | containsLongType(GNode specs) Determine whether the specified generic node contains a long type
definition. |
protected void | endExpression(int prec) Stop printing an expression. |
protected void | endStatement(boolean nested) End a statement. |
protected int | enterContext(int prec) Enter an expression context. |
protected int | enterContext() Enter an expression context. |
protected void | exitContext(int prec) Exit an expression context. |
protected void | formatAsTruthValue(Node n) Print an expression as a truth value. |
protected boolean | isLongDeclaration(GNode decl) Determine whether the specified declaration is long. |
protected void | prepareNested() Prepare for a nested statement. |
protected int | startExpression(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 boolean | startStatement(int kind, Node node) Start a new statement. |
public void | visit(LineMarker mark) Visit the specified line marker. |
public void | visit(Pragma p) Visit the specified pragma. |
public void | visit(SourceIdentity ident) Visit the specified source identity marker. |
public void | visitAbstractDeclarator(GNode n) Visit the specified abstract declarator node. |
public void | visitAdditiveExpression(GNode n) Visit the specified additive expression node. |
public void | visitAddressExpression(GNode n) Visit the specified address expression node. |
public void | visitAlignofExpression(GNode n) Visit the specified alignof expression node. |
public void | visitArrayDeclarator(GNode n) Visit the specified array declarator node. |
public void | visitArrayQualifierList(GNode n) Visit the specified array qualifier list node. |
public void | visitAssemblyArgument(GNode n) Visit the specified assembly argument node. |
public void | visitAssemblyClobbers(GNode n) Visit the specified assembly clobbers node. |
public void | visitAssemblyDefinition(GNode n) Visit the specified assembly definition node. |
public void | visitAssemblyOperand(GNode n) Visit the specified assembly operand node. |
public void | visitAssemblyOperands(GNode n) Visit the specified assembly operands node. |
public void | visitAssemblyStatement(GNode n) Visit the specified assembly statement node. |
public void | visitAssignmentExpression(GNode n) Visit the specified assignment expression node. |
public void | visitAttributeList(GNode n) Visit the specified attribute list node. |
public void | visitAttributeListEntry(GNode n) Visit the specified attribute list entry node. |
public void | visitAttributeSpecifier(GNode n) Visit the specified attribute specifier node. |
public void | visitAttributeSpecifierList(GNode n) Visit the specified attribute specifier list node. |
public void | visitAttributedAbstractDeclarator(GNode n) Visit the specified attributed abstract declarator node. |
public void | visitAttributedDeclarator(GNode n) Visit the specified attributed declarator node. |
public void | visitAutoSpecifier(GNode n) Visit the specified auto storage class specifier node. |
public void | visitBitField(GNode n) Visit the specified bit field node. |
public void | visitBitwiseAndExpression(GNode n) Visit the specified bitwise and expression node. |
public void | visitBitwiseNegationExpression(GNode n) Visit the specified bitwise negation expression node. |
public void | visitBitwiseOrExpression(GNode n) Visit the specified bitwise or expression node. |
public void | visitBitwiseXorExpression(GNode n) Visit the specified bitwise xor expression node. |
public void | visitBool(GNode n) Visit the specified bool node. |
public void | visitBreakStatement(GNode n) Visit the specified break statement node. |
public void | visitCaseLabel(GNode n) Visit the specified case label node. |
public void | visitCastExpression(GNode n) Visit the specified cast expression node. |
public void | visitChar(GNode n) Visit the specified char node. |
public void | visitCharacterConstant(GNode n) Visit the specified character constant node. |
public void | visitCommaExpression(GNode n) Visit the specified comma expression node. |
public void | visitComplex(GNode n) Visit the specified complex node. |
public void | visitCompoundLiteral(GNode n) Visit the specified compound literal node. |
public void | visitCompoundStatement(GNode n) Visit the specified compound statement node. |
public void | visitConditionalExpression(GNode n) Visit the specified conditional expression node. |
public void | visitConstantQualifier(GNode n) Visit the specified constant qualifier node. |
public void | visitContinueStatement(GNode n) Visit the specified continue statement node. |
public void | visitDeclaration(GNode n) Visit the specified declaration node. |
public void | visitDeclarationList(GNode n) Visit the specified declaration list node. |
public void | visitDeclarationSpecifiers(GNode n) Visit the specified declaration specifiers node. |
public void | visitDefaultLabel(GNode n) Visit the specified default label node. |
public void | visitDesignation(GNode n) Visit the specified designation node. |
public void | visitDesignator(GNode n) Visit the specified designator entry node. |
public void | visitDirectAbstractDeclarator(GNode n) Visit the specified direct abstract declarator node. |
public void | visitDirectComponentSelection(GNode n) Visit the specified direct component selection node. |
public void | visitDoStatement(GNode n) Visit the specified do statement node. |
public void | visitDouble(GNode n) Visit the specified double node. |
public void | visitEmptyDefinition(GNode n) Visit the specified empty definition. |
public void | visitEmptyStatement(GNode n) Visit the specified empty statement node. |
public void | visitEnumerationTypeDefinition(GNode n) Visit the specified enumeration type definition. |
public void | visitEnumerationTypeReference(GNode n) Visit the specified enumeration type reference node. |
public void | visitEnumerator(GNode n) Visit the specified enumerator node. |
public void | visitEnumeratorList(GNode n) Visit the specified enumerator list node. |
public void | visitEqualityExpression(GNode n) Visit the specified equality expression node. |
public void | visitExpressionList(GNode n) Visit the specified expression list node. |
public void | visitExpressionStatement(GNode n) Visit the specified expression statement node. |
public void | visitExtensionExpression(GNode n) Visit the extension expression node. |
public void | visitExternSpecifier(GNode n) Visit the specified extern storage class specifier node. |
public void | visitFloat(GNode n) Visit the specified float node. |
public void | visitFloatingConstant(GNode n) Visit the specified floating constant node. |
public void | visitForStatement(GNode n) Visit the specified for statement node. |
public void | visitFunctionCall(GNode n) Visit the specified function call node. |
public void | visitFunctionDeclarator(GNode n) Visit the specified function declarator node. |
public void | visitFunctionDefinition(GNode n) Visit the specified function definition node. |
public void | visitFunctionSpecifier(GNode n) Visit the specified function specifier node. |
public void | visitGotoStatement(GNode n) Visit the specified goto statement node. |
public void | visitIdentifierList(GNode n) Visit the specified identifier list node. |
public void | visitIfElseStatement(GNode n) Visit the specified if else statement node. |
public void | visitIfStatement(GNode n) Visit the specified if statement node. |
public void | visitIndirectComponentSelection(GNode n) Visit the specified indirect component selection node. |
public void | visitIndirectionExpression(GNode n) Visit the specified indirection expression node. |
public void | visitInitializedDeclarator(GNode n) Visit the specified initialized declarator node. |
public void | visitInitializedDeclaratorList(GNode n) Visit the specified initialized declarator list node. |
public void | visitInitializerList(GNode n) Visit the specified initializer list node. |
public void | visitInitializerListEntry(GNode n) Visit the specified initializer list entry node. |
public void | visitInt(GNode n) Visit the specified int node. |
public void | visitIntegerConstant(GNode n) Visit the specified integer constant node. |
public void | visitLabelAddressExpression(GNode n) Visit the specified label address expression node. |
public void | visitLabeledStatement(GNode n) Visit the specified labeled statement node. |
public void | visitLocalLabelDeclaration(GNode n) Visit the specified label declaration node. |
public void | visitLogicalAndExpression(GNode n) Visit the specified logical and expression node. |
public void | visitLogicalNegationExpression(GNode n) Visit the specified logical negation expression node. |
public void | visitLogicalOrExpression(GNode n) Visit the specified logical or expression node. |
public void | visitLong(GNode n) Visit the specified long node. |
public void | visitMultiplicativeExpression(GNode n) Visit the specified multiplicative expression node. |
public void | visitNamedLabel(GNode n) Visit the specified named label node. |
public void | visitObsoleteArrayDesignation(GNode n) Visit the specified obsolete array designation node. |
public void | visitObsoleteFieldDesignation(GNode n) Visit the specified obsolete field designation node. |
public void | visitOffsetofExpression(GNode n) Visit the specified offsetof expression node. |
public void | visitParameterDeclaration(GNode n) Visit the specified parameter declaration node. |
public void | visitParameterList(GNode n) Visit the specified parameter list node. |
public void | visitParameterTypeList(GNode n) Visit the specified parameter type list node. |
public void | visitPointer(GNode n) Visit the specified pointer node. |
public void | visitPointerDeclarator(GNode n) Visit the specified pointer declarator node. |
public void | visitPostdecrementExpression(GNode n) Visit the specified postdecrement expression node. |
public void | visitPostincrementExpression(GNode n) Visit the specified postincrement expression node. |
public void | visitPredecrementExpression(GNode n) Visit the specified predecrement expression node. |
public void | visitPreincrementExpression(GNode n) Visit the specified preincrement expression node. |
public void | visitPrimaryIdentifier(GNode n) Visit the specified primary identifier node. |
public void | visitRegisterSpecifier(GNode n) Visit the specified register storage class specifier node. |
public void | visitRelationalExpression(GNode n) Visit the specified relational expression node. |
public void | visitRestrictQualifier(GNode n) Visit the specified restrict qualifier node. |
public void | visitReturnStatement(GNode n) Visit the specified return statement node. |
public void | visitShiftExpression(GNode n) Visit the specified shift expression node. |
public void | visitShort(GNode n) Visit the specified short node. |
public void | visitSigned(GNode n) Visit the specified signed node. |
public void | visitSimpleAssemblyExpression(GNode n) Visit the specified simple assembly expression node. |
public void | visitSimpleDeclarator(GNode n) Visit the specified simple declarator node. |
public void | visitSizeofExpression(GNode n) Visit the specified sizeof expression node. |
public void | visitSpecifierQualifierList(GNode n) Visit the specified specifier qualifier list node. |
public void | visitStatementAsExpression(GNode n) Visit the specified statement as exprression node. |
public void | visitStaticSpecifier(GNode n) Visit the specified static storage class specifier node. |
public void | visitStringConstant(GNode n) Visit the specified string constant node. |
public void | visitStructureDeclaration(GNode n) Visit the specified structure declaration node. |
public void | visitStructureDeclarationList(GNode n) Visit the specified structure declaration list node. |
public void | visitStructureDeclaratorList(GNode n) Visit the specified structure declarator list node. |
public void | visitStructureTypeDefinition(GNode n) Visit the specified structure type definition. |
public void | visitStructureTypeReference(GNode n) Visit the specified structure type reference. |
public void | visitSubscriptExpression(GNode n) Visit the specified subscript expression node. |
public void | visitSwitchStatement(GNode n) Visit the specified switch statement node. |
public void | visitTranslationUnit(GNode n) Visit the specified translation unit node. |
public void | visitTypeCompatibilityExpression(GNode n) Visit the specified type compatability expression. |
public void | visitTypeName(GNode n) Visit the specified type name node. |
public void | visitTypeQualifierList(GNode n) Visit the specified type qualifier list node. |
public void | visitTypedefName(GNode n) Visit the specified typedef name node. |
public void | visitTypedefSpecifier(GNode n) Visit the specified typedef storage class specifier node. |
public void | visitTypeofSpecifier(GNode n) Visit the specified typeof specifier node. |
public void | visitUnaryMinusExpression(GNode n) Visit the specified unary minus expression node. |
public void | visitUnaryPlusExpression(GNode n) Visit the specified unary plus expression node. |
public void | visitUnionTypeDefinition(GNode n) Visit the specified union type definition. |
public void | visitUnionTypeReference(GNode n) Visit the specified union type reference. |
public void | visitUnsigned(GNode n) Visit the specified unsigned node. |
public void | visitVarArgListSpecifier(GNode n) Visit the specified variable argument list specifier node. |
public void | visitVariableArgumentAccess(GNode n) Visit the specified variable argument access node. |
public void | visitVariableLength(GNode n) Visit the specified variable length node. |
public void | visitVoidTypeSpecifier(GNode n) Visit the specified void type specifier node. |
public void | visitVolatileQualifier(GNode n) Visit the specified volatile qualifier node. |
public void | visitWhileStatement(GNode n) Visit the specified while statement node. |