Interface ICPPASTDeclarator
- All Superinterfaces:
IASTAttributeOwner, IASTDeclarator, IASTNameOwner, IASTNode
- All Known Subinterfaces:
ICPPASTArrayDeclarator, ICPPASTDeductionGuide, ICPPASTFieldDeclarator, ICPPASTFunctionDeclarator, ICPPASTFunctionTryBlockDeclarator
Declarator for c++.
- Since:
- 5.2
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface IASTNode
IASTNode.CopyStyle -
Field Summary
Fields inherited from interface IASTAttributeOwner
ATTRIBUTE, ATTRIBUTE_SPECIFIERFields inherited from interface IASTDeclarator
DECLARATOR_NAME, EMPTY_DECLARATOR_ARRAY, INITIALIZER, NESTED_DECLARATOR, POINTER_OPERATORFields inherited from interface IASTNameOwner
r_declaration, r_definition, r_reference, r_unclearFields inherited from interface IASTNode
EMPTY_NODE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the declarator contains an ellipsis, in which case it declares a parameter pack.voidsetDeclaresParameterPack(boolean val) Set whether the declarator contains an ellipsis, denoting a pack expansion.Methods inherited from interface IASTAttributeOwner
addAttribute, addAttributeSpecifier, getAttributes, getAttributeSpecifiersMethods inherited from interface IASTDeclarator
addPointerOperator, copy, copy, getInitializer, getName, getNestedDeclarator, getPointerOperators, setInitializer, setName, setNestedDeclaratorMethods inherited from interface IASTNameOwner
getRoleForNameMethods inherited from interface IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
-
Method Details
-
declaresParameterPack
boolean declaresParameterPack()Returns whether the declarator contains an ellipsis, in which case it declares a parameter pack. -
setDeclaresParameterPack
void setDeclaresParameterPack(boolean val) Set whether the declarator contains an ellipsis, denoting a pack expansion. Not allowed on a frozen AST.
-