AsciiDocLexer
Provides tokenisation primitives for AsciiDoc content.
Parsley's Lexer is used to configure word recognition (via LexicalDesc) and to ensure that keyword/operator boundaries are respected. Raw character-level parsers handle the newline-sensitive, line-oriented aspects of the format.
Attributes
- Source
- AsciiDocLexer.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AsciiDocLexer.type
Members list
Value members
Concrete methods
Fully wraps a parser: skips leading whitespace and asserts end-of-input at the end.
Fully wraps a parser: skips leading whitespace and asserts end-of-input at the end.
Attributes
- Source
- AsciiDocLexer.scala
Returns true for characters that may appear as unadorned prose text.
Returns true for characters that may appear as unadorned prose text.
Excluded: control characters, newlines, and the four inline markup delimiters (*, _, `, \).
Attributes
- Source
- AsciiDocLexer.scala
Concrete fields
Matches a blank line (optional horizontal whitespace then EOL).
Matches a blank line (optional horizontal whitespace then EOL).
Attributes
- Source
- AsciiDocLexer.scala
Parses a single unadorned prose character.
Matches an end-of-line sequence (\n or \r\n) and discards it.
End of line or end of input – used for the final line of a document.
End of line or end of input – used for the final line of a document.
Attributes
- Source
- AsciiDocLexer.scala
Matches a single space or tab (horizontal whitespace – does not match newlines).
Matches a single space or tab (horizontal whitespace – does not match newlines).
Attributes
- Source
- AsciiDocLexer.scala
Skips zero or more horizontal whitespace characters.
Parses any character that is not a newline (used inside delimited spans).
Parses any character that is not a newline (used inside delimited spans).
Attributes
- Source
- AsciiDocLexer.scala
Parses one or more unadorned prose characters as a string.
Parses a single inline-markup character (*, _, or `) that is not a newline. Used as a fallback when a delimiter sequence does not open a valid span.
Parses a single inline-markup character (*, _, or `) that is not a newline. Used as a fallback when a delimiter sequence does not open a valid span.
Attributes
- Source
- AsciiDocLexer.scala
Parses a single word (identifier-like token), consuming trailing horizontal whitespace.
Parses a single word (identifier-like token), consuming trailing horizontal whitespace.
Attributes
- Source
- AsciiDocLexer.scala