Companion with a range of convenient constructors for creating CodeSpanParsers instances, based on existing parser instances or simple specifications of start and end delimiters.
- Companion:
- class
Value members
Concrete methods
Parses a single span delimited by the specified start and end strings and associates it with the given code category.
Parses a single span delimited by the specified start and end strings and associates it with the given code category.
Parses a single text span and associates it with the given code category.
Parses a single text span and associates it with the given code category.
Parses code spans that can only start on a new line or at the start of the input.
Parses code spans that can only start on a new line or at the start of the input.
Parses a single code span that can only start on a new line or at the start of the input and associates it with the given code category.
Parses a single code span that can only start on a new line or at the start of the input and associates it with the given code category.