The input as a ParserContext
instance for Laika's parser combinators.
The input as a java.io.Reader
.
The full path of this input.
The full path of this input. This path is always an absolute path from the root of the (virtual) input tree, therefore does not represent the filesystem path in case of file I/O.
The local name of this input.
Represents the input for a parser, abstracting over various types of IO resources.
For parsers that use the parser combinators of this library, this trait offers a convenient
asParserInput
method. Other types of parsers may use thejava.io.Reader
provided by theasReader
method.