Package org.eclipse.cdt.core.dom.ast.cpp
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 org.eclipse.cdt.core.dom.ast.IASTNode
IASTNode.CopyStyle
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTAttributeOwner
ATTRIBUTE, ATTRIBUTE_SPECIFIER
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclarator
DECLARATOR_NAME, EMPTY_DECLARATOR_ARRAY, INITIALIZER, NESTED_DECLARATOR, POINTER_OPERATOR
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
r_declaration, r_definition, r_reference, r_unclear
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the declarator contains an ellipsis, in which case it declares a parameter pack.void
setDeclaresParameterPack
(boolean val) Set whether the declarator contains an ellipsis, denoting a pack expansion.Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTAttributeOwner
addAttribute, addAttributeSpecifier, getAttributes, getAttributeSpecifiers
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclarator
addPointerOperator, copy, copy, getInitializer, getName, getNestedDeclarator, getPointerOperators, setInitializer, setName, setNestedDeclarator
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
getRoleForName
Methods inherited from interface org.eclipse.cdt.core.dom.ast.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.
-