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, newInactiveCompletionName, newInitializerExpression, newLabelStatement, newMSDeclspecList, newNullStatement, newPointer, newProblem, newProblemDeclaration, newProblemExpression, newProblemStatement, newReturnStatement, newSimpleDeclaration, newToken, newTokenList, newTypeIdInitializerExpression, setEndOffset, setEndOffset, setOffsetsICPPASTAliasDeclaration newAliasDeclaration(IASTName aliasName, ICPPASTTypeId aliasedType)
ICPPASTArrayDeclarator newArrayDeclarator(IASTName name)
newArrayDeclarator in interface INodeFactoryICPPASTArrayDesignator newArrayDesignator(ICPPASTExpression exp)
IGPPASTArrayRangeDesignator newArrayRangeDesignatorGPP(ICPPASTExpression floor, ICPPASTExpression ceiling)
ICPPASTArraySubscriptExpression newArraySubscriptExpression(IASTExpression arrayExpr, IASTExpression subscript)
newArraySubscriptExpression in interface INodeFactoryICPPASTArraySubscriptExpression 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 INodeFactoryICPPASTBinaryExpression newBinaryExpression(int op, IASTExpression expr1, IASTInitializerClause expr2)
IASTExpression newBinaryTypeIdExpression(IASTBinaryTypeIdExpression.Operator op, IASTTypeId type1, IASTTypeId type2)
ICPPASTCapture newCapture()
ICPPASTInitCapture newInitCapture(ICPPASTDeclarator declarator)
ICPPASTCastExpression newCastExpression(int operator, IASTTypeId typeId, IASTExpression operand)
newCastExpression in interface INodeFactoryICPPASTCatchHandler newCatchHandler(IASTDeclaration decl, IASTStatement body)
ICPPASTClassVirtSpecifier newClassVirtSpecifier(ICPPASTClassVirtSpecifier.SpecifierKind kind)
ICPPASTCompositeTypeSpecifier newCompositeTypeSpecifier(int key, IASTName name)
newCompositeTypeSpecifier in interface INodeFactoryICPPASTConstructorChainInitializer newConstructorChainInitializer(IASTName id, IASTInitializer initializer)
ICPPASTConstructorInitializer newConstructorInitializer(IASTInitializerClause[] args)
ICPPASTConversionName newConversionName(IASTTypeId typeId)
ICPPASTDeclarator newDeclarator(IASTName name)
newDeclarator in interface INodeFactoryICPPASTDecltypeSpecifier newDecltypeSpecifier(ICPPASTExpression decltypeExpression)
ICPPASTDeleteExpression newDeleteExpression(IASTExpression operand)
ICPPASTDesignatedInitializer newDesignatedInitializer(ICPPASTInitializerClause initializer)
ICPPASTElaboratedTypeSpecifier newElaboratedTypeSpecifier(int kind, IASTName name)
newElaboratedTypeSpecifier in interface INodeFactory@Deprecated ICPPASTEnumerationSpecifier newEnumerationSpecifier(boolean isScoped, IASTName name, ICPPASTDeclSpecifier baseType)
newEnumerationSpecifier(ScopeToken, IASTName, ICPPASTDeclSpecifier) instead.
If isScoped == true is passed ScopeToken.CLASS is assumed.ICPPASTEnumerationSpecifier newEnumerationSpecifier(ICPPASTEnumerationSpecifier.ScopeStyle scopeStyle, IASTName name, ICPPASTDeclSpecifier baseType)
ICPPASTExplicitTemplateInstantiation newExplicitTemplateInstantiation(IASTDeclaration declaration)
ICPPASTExpressionList newExpressionList()
newExpressionList in interface INodeFactoryICPPASTFieldDeclarator newFieldDeclarator(IASTName name, IASTExpression bitFieldSize)
newFieldDeclarator in interface INodeFactoryICPPASTFieldDesignator newFieldDesignator(IASTName name)
ICPPASTFieldReference newFieldReference(IASTName name, IASTExpression owner)
newFieldReference in interface INodeFactoryICPPASTForStatement newForStatement()
ICPPASTForStatement newForStatement(IASTStatement init, IASTDeclaration condition, IASTExpression iterationExpression, IASTStatement body)
ICPPASTForStatement newForStatement(IASTStatement init, IASTExpression condition, IASTExpression iterationExpression, IASTStatement body)
newForStatement in interface INodeFactoryICPPASTFunctionCallExpression newFunctionCallExpression(IASTExpression idExpr, IASTInitializerClause[] arguments)
newFunctionCallExpression in interface INodeFactoryICPPASTFunctionDeclarator newFunctionDeclarator(IASTName name)
newFunctionDeclarator in interface INodeFactoryICPPASTFunctionDefinition newFunctionDefinition(IASTDeclSpecifier declSpecifier, IASTFunctionDeclarator declarator, IASTStatement bodyStatement)
newFunctionDefinition in interface INodeFactoryICPPASTFunctionWithTryBlock 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 INodeFactoryICPPASTInitializerList newInitializerList()
newInitializerList in interface INodeFactoryICPPASTLambdaExpression newLambdaExpression()
ICPPASTLinkageSpecification newLinkageSpecification(String literal)
ICPPASTLiteralExpression newLiteralExpression(int kind, String rep)
newLiteralExpression in interface INodeFactoryICPPASTLiteralExpression newLiteralExpression(int kind, String rep, char[] numericCompilerSuffixes)
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 INodeFactoryICPPASTPointerToMember newPointerToMember(IASTName name)
IASTProblemTypeId newProblemTypeId(IASTProblem problem)
ICPPASTQualifiedName newQualifiedName(ICPPASTName name)
ICPPASTQualifiedName.ICPPASTQualifiedName newQualifiedName(String[] nameQualifiers, String name)
ICPPASTQualifiedName and adds name qualifiers for the
elements of nameQualifiers. nameQualifiers cannot contain decltype specifiers
for creation of ICPPASTDecltypeSpecifier.ICPPASTName newName()
INodeFactorynewName in interface INodeFactoryICPPASTName newName(char[] name)
newName in interface INodeFactoryICPPASTName newName(String name)
newName in interface INodeFactoryICPPASTTemplateName newTemplateName(char[] templateName)
ICPPASTNamedTypeSpecifier newNamedTypeSpecifier(IASTName name)
ICPPASTRangeBasedForStatement newRangeBasedForStatement()
ICPPASTReferenceOperator newReferenceOperator(boolean isRValueReference)
IASTReturnStatement newReturnStatement(IASTInitializerClause retValue)
ICPPASTSimpleDeclSpecifier newSimpleDeclSpecifier()
newSimpleDeclSpecifier in interface INodeFactoryICPPASTSimpleTypeConstructorExpression newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier declSpec, IASTInitializer initializer)
ICPPASTSimpleTypeTemplateParameter newSimpleTypeTemplateParameter(int type, IASTName name, IASTTypeId typeId)
ICPPASTStaticAssertDeclaration newStaticAssertion(IASTExpression condition, ICPPASTLiteralExpression message)
ICPPASTStaticAssertDeclaration newStaticAssertion(IASTExpression condition)
ICPPASTSwitchStatement newSwitchStatement()
ICPPASTSwitchStatement newSwitchStatement(IASTDeclaration controller, IASTStatement body)
ICPPASTSwitchStatement newSwitchStatement(IASTExpression controlloer, IASTStatement body)
newSwitchStatement in interface INodeFactoryICPPASTTemplateDeclaration newTemplateDeclaration(IASTDeclaration declaration)
ICPPASTTemplatedTypeTemplateParameter newTemplatedTypeTemplateParameter(IASTName name, IASTExpression defaultValue)
ICPPASTTemplatedTypeTemplateParameter newTemplatedTypeTemplateParameter(int type, IASTName name, IASTExpression defaultValue)
ICPPASTTemplateId newTemplateId(IASTName templateName)
ICPPASTTemplateSpecialization newTemplateSpecialization(IASTDeclaration declaration)
ICPPASTTranslationUnit newTranslationUnit(IScanner scanner)
newTranslationUnit in interface INodeFactoryscanner - the preprocessor the translation unit interacts with.ICPPASTTryBlockStatement newTryBlockStatement(IASTStatement body)
ICPPASTNamedTypeSpecifier newTypedefNameSpecifier(IASTName name)
newTypedefNameSpecifier in interface INodeFactoryICPPASTTypeId newTypeId(IASTDeclSpecifier declSpecifier, IASTDeclarator declarator)
newTypeId in interface INodeFactoryICPPASTTypeIdExpression newTypeIdExpression(int operator, IASTTypeId typeId)
newTypeIdExpression in interface INodeFactoryICPPASTTypeTransformationSpecifier newTypeTransformationSpecifier(ICPPUnaryTypeTransformation.Operator kind, ICPPASTTypeId typeId)
ICPPASTUnaryExpression newUnaryExpression(int operator, IASTExpression operand)
newUnaryExpression in interface INodeFactoryICPPASTUsingDeclaration 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 ICPPASTAttributeSpecifier newAttributeSpecifier()
ICPPASTStructuredBindingDeclaration newStructuredBindingDeclaration()
ICPPASTStructuredBindingDeclaration newStructuredBindingDeclaration(ICPPASTSimpleDeclSpecifier declSpecifier, ICPPASTFunctionDeclarator.RefQualifier refQualifier, IASTName[] names, IASTInitializer initializer)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.