Package org.opencds.cqf.cql.engine.debug
Class Location
- java.lang.Object
-
- org.opencds.cqf.cql.engine.debug.Location
-
public class Location extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Location(int startLine, int startChar, int endLine, int endChar)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static LocationfromLocator(java.lang.String locator)intgetEndChar()intgetEndLine()intgetStartChar()intgetStartLine()inthashCode()booleanincludes(Location other)java.lang.StringtoLocator()java.lang.StringtoString()
-
-
-
Method Detail
-
getStartLine
public int getStartLine()
-
getStartChar
public int getStartChar()
-
getEndLine
public int getEndLine()
-
getEndChar
public int getEndChar()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
includes
public boolean includes(Location other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toLocator
public java.lang.String toLocator()
-
fromLocator
public static Location fromLocator(java.lang.String locator)
-
-