public class ScriptLocation extends Object implements Cloneable, Comparable, Comparator<ScriptLocation>
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Field and Description |
---|---|
int |
columnIndex |
String |
command |
Element |
element |
int |
lineIndex |
File |
scriptFile |
Object |
source |
Constructor and Description |
---|
ScriptLocation() |
ScriptLocation(ScriptingContext ctx) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ScriptLocation o1,
ScriptLocation o2) |
int |
compareTo(Object o) |
ScriptLocation |
createCopy() |
boolean |
equalsToCurrentPosition(ScriptingContext ctx) |
int |
getOffset(Document doc) |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public File scriptFile
public Object source
public int lineIndex
public int columnIndex
public String command
public Element element
public ScriptLocation()
public ScriptLocation(ScriptingContext ctx)
public boolean equalsToCurrentPosition(ScriptingContext ctx)
public int getOffset(Document doc)
public ScriptLocation createCopy()
public int compare(ScriptLocation o1, ScriptLocation o2)
compare
in interface Comparator<ScriptLocation>
public int compareTo(Object o)
compareTo
in interface Comparable