Package com.evolveum.concepts
Class SourceLocation
- java.lang.Object
-
- com.evolveum.concepts.SourceLocation
-
public class SourceLocation extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceLocation.Aware
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceLocationfrom(String source)static SourceLocationfrom(String source, int line, int pos)intgetChar()intgetLine()StringgetSource()SourceLocationoffset(int offsetLine, int character)static SourceLocationruntime()StringtoString()static SourceLocationunknown()
-
-
-
Method Detail
-
from
public static SourceLocation from(String source, int line, int pos)
-
from
public static SourceLocation from(String source)
-
runtime
public static SourceLocation runtime()
-
unknown
public static SourceLocation unknown()
-
getSource
public String getSource()
-
getLine
public int getLine()
-
getChar
public int getChar()
-
offset
public SourceLocation offset(int offsetLine, int character)
-
-