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 interface
SourceLocation.Aware
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceLocation
from(String source)
static SourceLocation
from(String source, int line, int pos)
int
getChar()
int
getLine()
String
getSource()
SourceLocation
offset(int offsetLine, int character)
static SourceLocation
runtime()
String
toString()
static SourceLocation
unknown()
-
-
-
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)
-
-