Class Location
java.lang.Object
org.codehaus.commons.compiler.Location
- All Implemented Interfaces:
Serializable
Immutable representation of the location of a character in a document, as defined by an (optional) file name, a
line number and a column number.
- See Also:
-
Field Details
-
NOWHERE
Representation of an unspecified location.
-
-
Constructor Details
-
Location
-
-
Method Details
-
getFileName
-
getLineNumber
public int getLineNumber()- Returns:
- The line number associated with this location, or -1
-
getColumnNumber
public int getColumnNumber()- Returns:
- The column number associated with this location, or -1
-
toString
-