Package gw.lang.reflect
Interface ILocationInfo
-
- All Known Implementing Classes:
LocationInfo
public interface ILocationInfo
-
-
Field Summary
Fields Modifier and Type Field Description static ILocationInfoEMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancontains(int offset)intgetColumn()URLgetFileUrl()intgetLine()One-based line number of this feature in its top-level containerintgetOffset()The offset of the feature in its top-level containerintgetTextLength()The length of the feature's text in its top-level containerbooleanhasLocation()
-
-
-
Field Detail
-
EMPTY
static final ILocationInfo EMPTY
-
-
Method Detail
-
hasLocation
boolean hasLocation()
-
getOffset
int getOffset()
The offset of the feature in its top-level container
-
getTextLength
int getTextLength()
The length of the feature's text in its top-level container
-
getLine
int getLine()
One-based line number of this feature in its top-level container
-
getColumn
int getColumn()
-
contains
default boolean contains(int offset)
-
getFileUrl
URL getFileUrl()
-
-