public class PositionInSourceCode extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getEndColumn() |
int |
getEndLine() |
int |
getStartColumn() |
int |
getStartLine() |
int |
hashCode() |
boolean |
isUndefined() |
static PositionInSourceCode |
of(int line,
int column) |
static PositionInSourceCode |
of(int startLine,
int startColumn,
int endLine,
int endColumn) |
static PositionInSourceCode |
of(PositionInSourceCode pos) |
java.lang.String |
toString() |
static PositionInSourceCode |
undefined() |
public static PositionInSourceCode undefined()
public static PositionInSourceCode of(PositionInSourceCode pos)
public static PositionInSourceCode of(int line, int column)
public static PositionInSourceCode of(int startLine, int startColumn, int endLine, int endColumn)
public int getStartLine()
public int getStartColumn()
public int getEndLine()
public int getEndColumn()
public boolean isUndefined()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object