Optimized parser for character input.
Delimiter implementation that allows for various kinds of customization.
A parser for text that ends with a specific delimiter condition, either marking the end of the text span or the start of an embedded inner span.
Represents the logic of a specific kind of text delimiter.
API for customizing a delimiter.
Represents the result of parsing a delimiter.
Represents the result of parsing a delimiter.
the type of result produced by this delimiter
A parser that matches a literal string.
Processes whitespace, removing or replacing most whitespace characters except for newline and space.
Processes whitespace, removing or replacing most whitespace characters except for newline and space.
It modifies string input in the following ways:
tabStops
value.The processor should run on text input before it is passed to the actual parsers as they would not be able to deal with tabs properly.
Companion with factory methods for creating optimized character parsers.
Base text parsers that provide optimized low-level parsers for typical requirements of text markup parsers.
Base text parsers that provide optimized low-level parsers for typical requirements of text markup parsers. In particular they are meant as an efficient replacement for scenarios where usually regex parsers are used. In cases where different parsers need to be tried for relatively short input sequences, regex parsers tend to be less efficient. Furthermore, these base parsers may also improve readability, as it allows to combine simple low-level parsers to higher-level parsers based on the Laika combinator API, instead of producing long regexes which may be hard to read.
Companion for creating instances of WhitespacePreprocessor.
Represents the logic of a specific kind of text delimiter.
the type of result produced by this delimiter