public class InvalidSourcePosition extends java.lang.Object implements ISourcePosition
Modifier and Type | Field and Description |
---|---|
static ISourcePosition |
INSTANCE |
Constructor and Description |
---|
InvalidSourcePosition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFile()
Which file does this source position live in?
|
int |
getLine()
Which is the first(start) line that this source position occurs on (zero-based)
|
public static final ISourcePosition INSTANCE
public java.lang.String getFile()
ISourcePosition
getFile
in interface ISourcePosition
getFile
in interface PositionAware
public int getLine()
ISourcePosition
getLine
in interface ISourcePosition
getLine
in interface PositionAware
Copyright © 2001-2022 JRuby. All Rights Reserved.