public interface ISourcePosition extends PositionAware
Modifier and Type | Field and Description |
---|---|
static ISourcePosition |
INVALID_POSITION
For nodes which are added to the AST which are not proper syntactical elements.
|
Modifier and Type | Method and Description |
---|---|
String |
getFile()
Which file does this source position live in?
|
int |
getStartLine()
Which is the first(start) line that this source position occurs on (zero-based)
|
getLine
static final ISourcePosition INVALID_POSITION
String getFile()
getFile
in interface PositionAware
int getStartLine()
Copyright © 2001-2014 JRuby. All Rights Reserved.