Package com.oracle.truffle.api.source
Interface LineLocation
-
public interface LineLocationA specification for a location in guest language source, expressed as a line number in a specific instance ofSource, suitable for hash table keys with equality defined in terms of content.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLineNumber()Gets the 1-based number of a line in the source.java.lang.StringgetShortDescription()SourcegetSource()
-
-
-
Method Detail
-
getSource
Source getSource()
-
getLineNumber
int getLineNumber()
Gets the 1-based number of a line in the source.
-
getShortDescription
java.lang.String getShortDescription()
-
-