Class Position
java.lang.Object
com.ibm.wala.shrike.sourcepos.Position
Represents a source file position. Source file positions are integers in the format:
line-number << LINESHIFT + column-number
- Author:
- Siegfried Weber, Juergen Graf <juergen.graf@gmail.com>
-
Method Details
-
getLine
public int getLine()Returns the line number.- Returns:
- the line number
-
getColumn
public int getColumn()Returns the column number.- Returns:
- the column number
-
isUndefined
public boolean isUndefined()Tests whether this position is undefined.- Returns:
- true if this position is undefined
-
toString
-