SourceRegion¶
-
public class
SourceRegion
implements ISourceRegion¶
Constructors¶
SourceRegion¶
-
public
SourceRegion
(int offset)¶ Creates a zero-length source region from a single offset. Row and column fields are set to -1 to indicate that they are not supported.
Parameters: - offset – Offset in the source file.
SourceRegion¶
-
public
SourceRegion
(int startOffset, int endOffset)¶ Creates a source region from a starting and ending offset. Row and column fields are set to -1 to indicate that they are not supported.
Parameters: - startOffset – Starting offset in the source file.
- endOffset – Ending offset in the source file.
Methods¶
contains¶
-
public boolean
contains
(ISourceRegion region)¶