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()
ISourcePositiongetFile in interface ISourcePositiongetFile in interface PositionAwarepublic int getLine()
ISourcePositiongetLine in interface ISourcePositiongetLine in interface PositionAwareCopyright © 2001-2018 JRuby. All Rights Reserved.