Package com.ibm.wala.cast.tree
Interface CAstSourcePositionMap.Position
-
- All Superinterfaces:
Comparable
,IMethod.SourcePosition
- All Known Implementing Classes:
AbstractSourcePosition
,LineNumberPosition
,RangePosition
- Enclosing interface:
- CAstSourcePositionMap
public static interface CAstSourcePositionMap.Position extends IMethod.SourcePosition
This interface encapsulates the source position of an ast node in its source file. Since different parsers record different degrees of source position information, any client of these Positions must be prepared to expect -1---symbolizing no information---to be returned by some or all of its accessors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Reader
getReader()
URL
getURL()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.ibm.wala.classLoader.IMethod.SourcePosition
getFirstCol, getFirstLine, getFirstOffset, getLastCol, getLastLine, getLastOffset
-
-
-
-
Method Detail
-
getURL
URL getURL()
-
getReader
Reader getReader() throws IOException
- Throws:
IOException
-
-