public interface ICPPNodeFactory extends INodeFactory
newAlignmentSpecifier, newAlignmentSpecifier, newArrayModifier, newASMDeclaration, newAttribute, newBreakStatement, newCaseStatement, newCompoundStatement, newConditionalExpession, newContinueStatement, newDeclarationStatement, newDefaultStatement, newDoStatement, newEnumerationSpecifier, newEnumerator, newEqualsInitializer, newExpressionStatement, newGCCAttributeList, newGCCAttributeSpecifier, newGNUCompoundStatementExpression, newGotoStatement, newGotoStatement, newIdExpression, newInitializerExpression, newLabelStatement, newNullStatement, newPointer, newProblem, newProblemDeclaration, newProblemExpression, newProblemStatement, newReturnStatement, newSimpleDeclaration, newToken, newTokenList, newTypeIdInitializerExpression, setEndOffset, setEndOffset, setOffsets
ICPPASTAliasDeclaration newAliasDeclaration(IASTName aliasName, ICPPASTTypeId aliasedType)
ICPPASTArrayDeclarator newArrayDeclarator(IASTName name)
newArrayDeclarator
in interface INodeFactory
ICPPASTArrayDesignator newArrayDesignator(ICPPASTExpression exp)
IGPPASTArrayRangeDesignator newArrayRangeDesignatorGPP(ICPPASTExpression floor, ICPPASTExpression ceiling)
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)
ICPPASTAttributeList newAttributeList()
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
ICPPASTConstructorChainInitializer newConstructorChainInitializer(IASTName id, IASTInitializer initializer)
ICPPASTConstructorInitializer newConstructorInitializer(IASTInitializerClause[] args)
ICPPASTConversionName newConversionName(IASTTypeId typeId)
ICPPASTDeclarator newDeclarator(IASTName name)
newDeclarator
in interface INodeFactory
ICPPASTDecltypeSpecifier newDecltypeSpecifier(ICPPASTExpression decltypeExpression)
ICPPASTDeleteExpression newDeleteExpression(IASTExpression operand)
ICPPASTDesignatedInitializer newDesignatedInitializer(ICPPASTInitializerClause initializer)
ICPPASTElaboratedTypeSpecifier newElaboratedTypeSpecifier(int kind, IASTName name)
newElaboratedTypeSpecifier
in interface INodeFactory
ICPPASTEnumerationSpecifier newEnumerationSpecifier(boolean isScoped, IASTName name, ICPPASTDeclSpecifier baseType)
ICPPASTExplicitTemplateInstantiation newExplicitTemplateInstantiation(IASTDeclaration declaration)
ICPPASTExpressionList newExpressionList()
newExpressionList
in interface INodeFactory
ICPPASTFieldDeclarator newFieldDeclarator(IASTName name, IASTExpression bitFieldSize)
newFieldDeclarator
in interface INodeFactory
ICPPASTFieldDesignator newFieldDesignator(IASTName name)
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
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)
ICPPASTNaryTypeIdExpression newNaryTypeIdExpression(ICPPASTNaryTypeIdExpression.Operator operator, ICPPASTTypeId[] operands)
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
ICPPASTPointerToMember newPointerToMember(IASTName name)
IASTProblemTypeId newProblemTypeId(IASTProblem problem)
ICPPASTQualifiedName newQualifiedName(ICPPASTName name)
ICPPASTQualifiedName
.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
ICPPASTName newName(java.lang.String name)
newName
in interface INodeFactory
ICPPASTNamedTypeSpecifier newNamedTypeSpecifier(IASTName name)
ICPPASTRangeBasedForStatement newRangeBasedForStatement()
ICPPASTReferenceOperator newReferenceOperator(boolean isRValueReference)
IASTReturnStatement newReturnStatement(IASTInitializerClause retValue)
ICPPASTSimpleDeclSpecifier newSimpleDeclSpecifier()
newSimpleDeclSpecifier
in interface INodeFactory
ICPPASTSimpleTypeConstructorExpression newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier declSpec, IASTInitializer initializer)
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)
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
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
@Deprecated ICPPASTConstructorChainInitializer newConstructorChainInitializer(IASTName memberInitializerId, IASTExpression initializerValue)
newConstructorChainInitializer(IASTName, IASTInitializer)
@Deprecated ICPPASTConstructorInitializer newConstructorInitializer(IASTExpression exp)
newConstructorInitializer(IASTInitializerClause[])
.@Deprecated ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier newBaseSpecifier(IASTName name, int visibility, boolean isVirtual)
newBaseSpecifier(ICPPASTNameSpecifier, int, boolean)
@Deprecated ICPPASTFunctionCallExpression newFunctionCallExpression(IASTExpression idExpr, IASTExpression argList)
newFunctionCallExpression(IASTExpression, IASTInitializerClause[])
.newFunctionCallExpression
in interface INodeFactory
@Deprecated ICPPASTNewExpression newNewExpression(IASTExpression placement, IASTExpression initializer, IASTTypeId typeId)
newNewExpression(IASTInitializerClause[], IASTInitializer, IASTTypeId)
@Deprecated ICPPASTQualifiedName newQualifiedName()
newQualifiedName(ICPPASTName)
.@Deprecated ICPPASTReferenceOperator newReferenceOperator()
newReferenceOperator(boolean)
.@Deprecated ICPPASTTypenameExpression newTypenameExpression(IASTName qualifiedName, IASTExpression expr, boolean isTemplate)
newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier, IASTInitializer)
@Deprecated org.eclipse.cdt.core.dom.parser.cpp.ICPPASTAttributeSpecifier newAttributeSpecifier()
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.