public interface ISourceLocation
Its primary purpose is for problem reporting. The start and end offsets are used to highlight a soruce range in the Flash Builder editor. The line and column numbers are used by command-line tools to report problems.
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN
Indicates an unknown or implicit starting offset, ending offset,
line number, or column number.
|
Modifier and Type | Method and Description |
---|---|
int |
getAbsoluteEnd()
Gets the absolute starting offset.
|
int |
getAbsoluteStart()
Gets the absolute starting offset.
|
int |
getColumn()
Gets the local column number.
|
int |
getEnd()
Gets the local ending offset.
|
int |
getEndColumn()
Gets the local column number at the end.
|
int |
getEndLine()
Gets the local line number at the end.
|
int |
getLine()
Gets the local line number.
|
String |
getSourcePath()
Gets the normalized source path.
|
int |
getStart()
Gets the local starting offset.
|
static final int UNKNOWN
String getSourcePath()
int getStart()
int getEnd()
int getLine()
int getColumn()
int getEndLine()
int getEndColumn()
int getAbsoluteStart()
int getAbsoluteEnd()
Copyright © 2016 The Apache Software Foundation. All rights reserved.