public final class SourceLocation extends Object
SourceLocation (lineage2-contract.md §6): 1-based,
half-open [start, end) coordinates, absolute within the unit
(the Semantic IR SourceSpan convention).
Internal API: not part of the public gsqlparser surface.
| Constructor and Description |
|---|
SourceLocation(String artifactLocator,
int statementIndex,
int startLine,
int startCol,
int endLine,
int endCol) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactLocator() |
int |
getEndCol() |
int |
getEndLine() |
int |
getStartCol() |
int |
getStartLine() |
int |
getStatementIndex() |
public SourceLocation(String artifactLocator, int statementIndex, int startLine, int startCol, int endLine, int endCol)
public String getArtifactLocator()
public int getStatementIndex()
public int getStartLine()
public int getStartCol()
public int getEndLine()
public int getEndCol()