Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IASTNodeLocation

public interface IASTFileLocation
extends IASTNodeLocation

Represents a node location that is directly in the source file.


Method Summary
 int getEndingLineNumber()
          Get the ending line number.
 String getFileName()
          The name of the file.
 int getStartingLineNumber()
          Get the starting line number.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNodeLocation
asFileLocation, getNodeLength, getNodeOffset
 

Method Detail

getFileName

public String getFileName()
The name of the file.

Returns:
the name of the file

getStartingLineNumber

public int getStartingLineNumber()
Get the starting line number.

Returns:
in representing line number

getEndingLineNumber

public int getEndingLineNumber()
Get the ending line number.

Returns:
int representing line number

Eclipse CDT
Pre-release 3.0

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