public interface ICPPNodeFactory extends INodeFactory
newAlignmentSpecifier, newAlignmentSpecifier, newArrayModifier, newASMDeclaration, newAttribute, newBreakStatement, newCaseStatement, newCompoundStatement, newConditionalExpession, newContinueStatement, newDeclarationStatement, newDefaultStatement, newDoStatement, newEnumerationSpecifier, newEnumerator, newEqualsInitializer, newExpressionStatement, newGCCAttributeSpecifier, newGNUCompoundStatementExpression, newGotoStatement, newGotoStatement, newIdExpression, newInitializerExpression, newLabelStatement, newName, newNullStatement, newPointer, newProblem, newProblemDeclaration, newProblemExpression, newProblemStatement, newReturnStatement, newSimpleDeclaration, newToken, newTokenList, newTypeIdInitializerExpression, setEndOffset, setEndOffset, setOffsets
ICPPASTArrayDeclarator newArrayDeclarator(IASTName name)
newArrayDeclarator
in interface INodeFactory
ICPPASTArraySubscriptExpression newArraySubscriptExpression(IASTExpression arrayExpr, IASTExpression subscript)
newArraySubscriptExpression
in interface INodeFactory
ICPPASTArraySubscriptExpression newArraySubscriptExpression(IASTExpression arrayExpr, IASTInitializerClause subscript)
ICPPASTAttribute newAttribute(char[] name, char[] scope, IASTToken argumentClause, boolean packExpansion)
org.eclipse.cdt.core.dom.parser.cpp.ICPPASTAttributeSpecifier newAttributeSpecifier()
@Deprecated ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier newBaseSpecifier(IASTName name, int visibility, boolean isVirtual)
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier newBaseSpecifier(ICPPASTNameSpecifier nameSpecifier, int visibility, boolean isVirtual)
ICPPASTBinaryExpression newBinaryExpression(int op, IASTExpression expr1, IASTExpression expr2)
newBinaryExpression
in interface INodeFactory
ICPPASTBinaryExpression newBinaryExpression(int op, IASTExpression expr1, IASTInitializerClause expr2)
IASTExpression newBinaryTypeIdExpression(IASTBinaryTypeIdExpression.Operator op, IASTTypeId type1, IASTTypeId type2)
ICPPASTCapture newCapture()
ICPPASTCastExpression newCastExpression(int operator, IASTTypeId typeId, IASTExpression operand)
newCastExpression
in interface INodeFactory
ICPPASTCatchHandler newCatchHandler(IASTDeclaration decl, IASTStatement body)
ICPPASTClassVirtSpecifier newClassVirtSpecifier(ICPPASTClassVirtSpecifier.SpecifierKind kind)
ICPPASTCompositeTypeSpecifier newCompositeTypeSpecifier(int key, IASTName name)
newCompositeTypeSpecifier
in interface INodeFactory
@Deprecated ICPPASTConstructorChainInitializer newConstructorChainInitializer(IASTName memberInitializerId, IASTExpression initializerValue)
newConstructorChainInitializer(IASTName, IASTInitializer)
ICPPASTConstructorChainInitializer newConstructorChainInitializer(IASTName id, IASTInitializer initializer)
@Deprecated ICPPASTConstructorInitializer newConstructorInitializer(IASTExpression exp)
newConstructorInitializer(IASTInitializerClause[])
.ICPPASTConstructorInitializer newConstructorInitializer(IASTInitializerClause[] args)
ICPPASTConversionName newConversionName(IASTTypeId typeId)
ICPPASTDeclarator newDeclarator(IASTName name)
newDeclarator
in interface INodeFactory
ICPPASTDecltypeSpecifier newDecltypeSpecifier(ICPPASTExpression decltypeExpression)
ICPPASTDeleteExpression newDeleteExpression(IASTExpression operand)
ICPPASTElaboratedTypeSpecifier newElaboratedTypeSpecifier(int kind, IASTName name)
newElaboratedTypeSpecifier
in interface INodeFactory
ICPPASTEnumerationSpecifier newEnumerationSpecifier(boolean isScoped, IASTName name, ICPPASTDeclSpecifier baseType)
ICPPASTExplicitTemplateInstantiation newExplicitTemplateInstantiation(IASTDeclaration declaration)
@Deprecated IGPPASTExplicitTemplateInstantiation newExplicitTemplateInstantiationGPP(IASTDeclaration declaration)
newExplicitTemplateInstantiation(IASTDeclaration)
.ICPPASTExpressionList newExpressionList()
newExpressionList
in interface INodeFactory
ICPPASTFieldDeclarator newFieldDeclarator(IASTName name, IASTExpression bitFieldSize)
newFieldDeclarator
in interface INodeFactory
ICPPASTFieldReference newFieldReference(IASTName name, IASTExpression owner)
newFieldReference
in interface INodeFactory
ICPPASTForStatement newForStatement()
ICPPASTForStatement newForStatement(IASTStatement init, IASTDeclaration condition, IASTExpression iterationExpression, IASTStatement body)
ICPPASTForStatement newForStatement(IASTStatement init, IASTExpression condition, IASTExpression iterationExpression, IASTStatement body)
newForStatement
in interface INodeFactory
@Deprecated ICPPASTFunctionCallExpression newFunctionCallExpression(IASTExpression idExpr, IASTExpression argList)
newFunctionCallExpression(IASTExpression, IASTInitializerClause[])
.newFunctionCallExpression
in interface INodeFactory
ICPPASTFunctionCallExpression newFunctionCallExpression(IASTExpression idExpr, IASTInitializerClause[] arguments)
newFunctionCallExpression
in interface INodeFactory
ICPPASTFunctionDeclarator newFunctionDeclarator(IASTName name)
newFunctionDeclarator
in interface INodeFactory
ICPPASTFunctionDefinition newFunctionDefinition(IASTDeclSpecifier declSpecifier, IASTFunctionDeclarator declarator, IASTStatement bodyStatement)
newFunctionDefinition
in interface INodeFactory
ICPPASTFunctionWithTryBlock newFunctionTryBlock(IASTDeclSpecifier declSpecifier, IASTFunctionDeclarator declarator, IASTStatement bodyStatement)
ICPPASTIfStatement newIfStatement()
ICPPASTIfStatement newIfStatement(IASTDeclaration condition, IASTStatement then, IASTStatement elseClause)
ICPPASTIfStatement newIfStatement(IASTExpression condition, IASTStatement then, IASTStatement elseClause)
newIfStatement
in interface INodeFactory
ICPPASTInitializerList newInitializerList()
newInitializerList
in interface INodeFactory
ICPPASTLambdaExpression newLambdaExpression()
ICPPASTLinkageSpecification newLinkageSpecification(java.lang.String literal)
ICPPASTLiteralExpression newLiteralExpression(int kind, java.lang.String rep)
newLiteralExpression
in interface INodeFactory
ICPPASTNamespaceAlias newNamespaceAlias(IASTName alias, IASTName qualifiedName)
ICPPASTNamespaceDefinition newNamespaceDefinition(IASTName name)
@Deprecated ICPPASTNewExpression newNewExpression(IASTExpression placement, IASTExpression initializer, IASTTypeId typeId)
newNewExpression(IASTInitializerClause[], IASTInitializer, IASTTypeId)
ICPPASTNewExpression newNewExpression(IASTInitializerClause[] placement, IASTInitializer initializer, IASTTypeId typeId)
ICPPASTOperatorName newOperatorName(char[] name)
ICPPASTPackExpansionExpression newPackExpansionExpression(IASTExpression pattern)
ICPPASTParameterDeclaration newParameterDeclaration(IASTDeclSpecifier declSpec, IASTDeclarator declarator)
newParameterDeclaration
in interface INodeFactory
@Deprecated IGPPASTPointer newPointerGPP()
INodeFactory.newPointer()
.ICPPASTPointerToMember newPointerToMember(IASTName name)
@Deprecated IGPPASTPointerToMember newPointerToMemberGPP(IASTName name)
newPointerToMember(IASTName)
.IASTProblemTypeId newProblemTypeId(IASTProblem problem)
ICPPASTQualifiedName newQualifiedName(ICPPASTName name)
ICPPASTQualifiedName
.@Deprecated ICPPASTQualifiedName newQualifiedName()
newQualifiedName(ICPPASTName)
.ICPPASTQualifiedName newQualifiedName(java.lang.String[] nameQualifiers, java.lang.String name)
ICPPASTQualifiedName
and adds name qualifiers for the
elements of nameQualifiers
. nameQualifiers
cannot contain decltype specifiers
for creation of ICPPASTDecltypeSpecifier
.ICPPASTName newName()
INodeFactory
newName
in interface INodeFactory
ICPPASTName newName(char[] name)
newName
in interface INodeFactory
ICPPASTNamedTypeSpecifier newNamedTypeSpecifier(IASTName name)
ICPPASTRangeBasedForStatement newRangeBasedForStatement()
@Deprecated ICPPASTReferenceOperator newReferenceOperator()
newReferenceOperator(boolean)
.ICPPASTReferenceOperator newReferenceOperator(boolean isRValueReference)
IASTReturnStatement newReturnStatement(IASTInitializerClause retValue)
ICPPASTSimpleDeclSpecifier newSimpleDeclSpecifier()
newSimpleDeclSpecifier
in interface INodeFactory
@Deprecated IGPPASTSimpleDeclSpecifier newSimpleDeclSpecifierGPP()
newSimpleDeclSpecifier()
ICPPASTSimpleTypeConstructorExpression newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier declSpec, IASTInitializer initializer)
@Deprecated ICPPASTSimpleTypeConstructorExpression newSimpleTypeConstructorExpression(int type, IASTExpression expression)
newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier, IASTInitializer)
ICPPASTSimpleTypeTemplateParameter newSimpleTypeTemplateParameter(int type, IASTName name, IASTTypeId typeId)
ICPPASTStaticAssertDeclaration newStaticAssertion(IASTExpression condition, ICPPASTLiteralExpression message)
ICPPASTSwitchStatement newSwitchStatement()
ICPPASTSwitchStatement newSwitchStatement(IASTDeclaration controller, IASTStatement body)
ICPPASTSwitchStatement newSwitchStatement(IASTExpression controlloer, IASTStatement body)
newSwitchStatement
in interface INodeFactory
ICPPASTTemplateDeclaration newTemplateDeclaration(IASTDeclaration declaration)
ICPPASTTemplatedTypeTemplateParameter newTemplatedTypeTemplateParameter(IASTName name, IASTExpression defaultValue)
ICPPASTTemplateId newTemplateId(IASTName templateName)
ICPPASTTemplateSpecialization newTemplateSpecialization(IASTDeclaration declaration)
@Deprecated ICPPASTTranslationUnit newTranslationUnit()
newTranslationUnit(IScanner)
.newTranslationUnit
in interface INodeFactory
ICPPASTTranslationUnit newTranslationUnit(org.eclipse.cdt.core.parser.IScanner scanner)
newTranslationUnit
in interface INodeFactory
scanner
- the preprocessor the translation unit interacts with.ICPPASTTryBlockStatement newTryBlockStatement(IASTStatement body)
ICPPASTNamedTypeSpecifier newTypedefNameSpecifier(IASTName name)
newTypedefNameSpecifier
in interface INodeFactory
ICPPASTTypeId newTypeId(IASTDeclSpecifier declSpecifier, IASTDeclarator declarator)
newTypeId
in interface INodeFactory
ICPPASTTypeIdExpression newTypeIdExpression(int operator, IASTTypeId typeId)
newTypeIdExpression
in interface INodeFactory
@Deprecated ICPPASTTypenameExpression newTypenameExpression(IASTName qualifiedName, IASTExpression expr, boolean isTemplate)
newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier, IASTInitializer)
ICPPASTTypeTransformationSpecifier newTypeTransformationSpecifier(ICPPUnaryTypeTransformation.Operator kind, ICPPASTTypeId typeId)
ICPPASTUnaryExpression newUnaryExpression(int operator, IASTExpression operand)
newUnaryExpression
in interface INodeFactory
ICPPASTUsingDeclaration newUsingDeclaration(IASTName name)
ICPPASTUsingDirective newUsingDirective(IASTName name)
ICPPASTVirtSpecifier newVirtSpecifier(ICPPASTVirtSpecifier.SpecifierKind kind)
ICPPASTVisibilityLabel newVisibilityLabel(int visibility)
ICPPASTWhileStatement newWhileStatement()
ICPPASTWhileStatement newWhileStatement(IASTDeclaration condition, IASTStatement body)
ICPPASTWhileStatement newWhileStatement(IASTExpression condition, IASTStatement body)
newWhileStatement
in interface INodeFactory
ICPPASTAliasDeclaration newAliasDeclaration(IASTName aliasName, ICPPASTTypeId aliasedType)
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.