Package org.eclipse.cdt.core.dom.ast
Interface IASTImageLocation
- All Superinterfaces:
IASTFileLocation
,IASTNodeLocation
An image location explains how a name made it into the translation unit.
- Since:
- 5.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The image is part of an argument of an explicit macro expansion.static final int
The image is part of a macro definition and was introduced by some macro expansion.static final int
The image is part of the code that has not been modified by the preprocessor.Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNodeLocation
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the kind of image-location, one ofREGULAR_CODE
,MACRO_DEFINITION
orARGUMENT_TO_MACRO_EXPANSION
.Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTFileLocation
getContextInclusionStatement, getEndingLineNumber, getFileName, getNodeLength, getNodeOffset, getStartingLineNumber
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNodeLocation
asFileLocation
-
Field Details
-
REGULAR_CODE
static final int REGULAR_CODEThe image is part of the code that has not been modified by the preprocessor.- See Also:
-
MACRO_DEFINITION
static final int MACRO_DEFINITIONThe image is part of a macro definition and was introduced by some macro expansion.- See Also:
-
ARGUMENT_TO_MACRO_EXPANSION
static final int ARGUMENT_TO_MACRO_EXPANSIONThe image is part of an argument of an explicit macro expansion.- See Also:
-
-
Method Details
-
getLocationKind
int getLocationKind()Returns the kind of image-location, one ofREGULAR_CODE
,MACRO_DEFINITION
orARGUMENT_TO_MACRO_EXPANSION
.
-