public class SimpleSourcePosition extends Object implements ISourcePosition
| Constructor and Description |
|---|
SimpleSourcePosition(String filename,
int line) |
| Modifier and Type | Method and Description |
|---|---|
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)
|
String |
toString() |
public SimpleSourcePosition(String filename, int line)
public String getFile()
ISourcePositiongetFile in interface ISourcePositiongetFile in interface PositionAwarepublic int getLine()
ISourcePositiongetLine in interface ISourcePositiongetLine in interface PositionAwareCopyright © 2001-2016 JRuby. All Rights Reserved.