Package-level declarations
Provides a common representation for otherwise platform-specific file identifications and in-memory representations.
Types
Link copied to clipboard
interface SourceFile
An in-memory source file.
Link copied to clipboard
interface SourceFileRef
Identifies a source file. It is intended to be implemented by a concrete data class, that uniquely identifies the file in a domain-specific way.
Link copied to clipboard
Identifies a position within a text source file.
Link copied to clipboard
class SourceRange(val fileRef: SourceFileRef, val start: SourcePosition, val endExclusive: SourcePosition)
Identifies a non-inverted range in a text source file.
Link copied to clipboard
An in-memory text source file.
Functions
Link copied to clipboard
Creates an in-memory TextSourceFile from given ref and content and returns it.