Eclipse CDT
7.0

org.eclipse.cdt.core.dom.ast
Interface IASTImageLocation

All Superinterfaces:
IASTFileLocation, IASTNodeLocation

public interface IASTImageLocation
extends IASTFileLocation

An image location explains how a name made it into the translation unit.

Since:
5.0

Field Summary
static int ARGUMENT_TO_MACRO_EXPANSION
          The image is part of an argument of an explicit macro expansion.
static int MACRO_DEFINITION
          The image is part of a macro definition and was introduced by some macro expansion.
static int REGULAR_CODE
          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
 int getLocationKind()
          Returns the kind of image-location, one of REGULAR_CODE, MACRO_DEFINITION or ARGUMENT_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 Detail

REGULAR_CODE

static final int REGULAR_CODE
The image is part of the code that has not been modified by the preprocessor.

See Also:
Constant Field Values

MACRO_DEFINITION

static final int MACRO_DEFINITION
The image is part of a macro definition and was introduced by some macro expansion.

See Also:
Constant Field Values

ARGUMENT_TO_MACRO_EXPANSION

static final int ARGUMENT_TO_MACRO_EXPANSION
The image is part of an argument of an explicit macro expansion.

See Also:
Constant Field Values
Method Detail

getLocationKind

int getLocationKind()
Returns the kind of image-location, one of REGULAR_CODE, MACRO_DEFINITION or ARGUMENT_TO_MACRO_EXPANSION.


Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.