Package org.eclipse.cdt.core.dom.ast
Interface IASTNameOwner
- All Known Subinterfaces:
IASTArrayDeclarator,IASTCompositeTypeSpecifier,IASTDeclarator,IASTElaboratedTypeSpecifier,IASTEnumerationSpecifier,IASTEnumerationSpecifier.IASTEnumerator,IASTFieldDeclarator,IASTFieldReference,IASTFunctionDeclarator,IASTGotoStatement,IASTIdExpression,IASTLabelStatement,IASTNamedTypeSpecifier,IASTPreprocessorFunctionStyleMacroDefinition,IASTPreprocessorMacroDefinition,IASTPreprocessorObjectStyleMacroDefinition,IASTStandardFunctionDeclarator,ICASTCompositeTypeSpecifier,ICASTElaboratedTypeSpecifier,ICASTEnumerationSpecifier,ICASTKnRFunctionDeclarator,ICASTTypedefNameSpecifier,ICPPASTAliasDeclaration,ICPPASTArrayDeclarator,ICPPASTCapture,ICPPASTCompositeTypeSpecifier,ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier,ICPPASTConstructorChainInitializer,ICPPASTDeclarator,ICPPASTDeductionGuide,ICPPASTElaboratedTypeSpecifier,ICPPASTEnumerationSpecifier,ICPPASTFieldDeclarator,ICPPASTFieldReference,ICPPASTFunctionDeclarator,ICPPASTFunctionTryBlockDeclarator,ICPPASTInitCapture,ICPPASTNamedTypeSpecifier,ICPPASTNamespaceAlias,ICPPASTNamespaceDefinition,ICPPASTPointerToMember,ICPPASTQualifiedName,ICPPASTSimpleTypeTemplateParameter,ICPPASTStructuredBindingDeclaration,ICPPASTTemplatedTypeTemplateParameter,ICPPASTTemplateId,ICPPASTTypenameExpression,ICPPASTUsingDeclaration,ICPPASTUsingDirective,IGNUASTGotoStatement,IGPPASTPointerToMember
public interface IASTNameOwner
This interface represents a mechanism for a name to discover more information about it's parent.
All interfaces that claim ownership/residence of a name should extend this interface.
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRole of name in this context is a declaration.static final intRole of name in this construct is a definition.static final intRole of name in this construct is a reference.static final intRole is unclear. -
Method Summary
-
Field Details
-
r_declaration
static final int r_declarationRole of name in this context is a declaration.- See Also:
-
r_reference
static final int r_referenceRole of name in this construct is a reference.- See Also:
-
r_definition
static final int r_definitionRole of name in this construct is a definition.- See Also:
-
r_unclear
static final int r_unclearRole is unclear.- See Also:
-
-
Method Details
-
getRoleForName
Get the role for the name.- Parameters:
name- the name to determine the role for.- Returns:
- r_definition, r_declaration, r_reference or r_unclear.
-