Package com.oracle.truffle.api.source
-
Interface Summary Interface Description BytesDecoder For a language where strings do not map into Java strings, provides utilities to find line endings and to decode raw bytes into an approximate representation for tools to display.BytesDecoder.LineMarker LineLocation A 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.SourceSection Description of contiguous section of text within aSource
of program code; supports multiple modes of access to the text and its location. -
Class Summary Class Description BytesDecoder.UTF8BytesDecoder NullSourceSection A special subtype ofSourceSection
that represents unavailable source, e.g.Source Representation of a guest language source code unit and its contents.