public interface IASTFileLocation extends IASTNodeLocation
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
IASTPreprocessorIncludeStatement |
getContextInclusionStatement()
Returns the inclusion statement that included this file, or
null for
a top-level file. |
int |
getEndingLineNumber()
Returns the ending line number.
|
java.lang.String |
getFileName()
The name of the file.
|
int |
getNodeLength()
Returns the length of this location in terms of characters.
|
int |
getNodeOffset()
Returns the offset within the file where this location starts.
|
int |
getStartingLineNumber()
Returns the starting line number.
|
asFileLocationjava.lang.String getFileName()
int getNodeOffset()
getNodeOffset in interface IASTNodeLocationint getNodeLength()
getNodeLength in interface IASTNodeLocationint getStartingLineNumber()
0.0 if not applicableint getEndingLineNumber()
0.0 if not applicableIASTPreprocessorIncludeStatement getContextInclusionStatement()
null for
a top-level file.
Also null when the file location does not belong to an AST node, e.g.
if it is obtained from a name in the index.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.