|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IASTFileLocation
Represents a node location that is directly in the source file.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNodeLocation |
|---|
EMPTY_ARRAY |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNodeLocation |
|---|
asFileLocation |
| Method Detail |
|---|
java.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.
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||