parsley.token.descriptions.text.TextDesc
See theTextDesc companion object
final case class TextDesc(escapeSequences: EscapeDesc, characterLiteralEnd: Char, stringEnds: Set[String], multiStringEnds: Set[String], graphicCharacter: CharPredicate)
This class describes how textual literals like strings and characters should be processed lexically.
Attributes
- characterLiteralEnd
what character starts and ends a character literal.
- escapeSequences
the description of how escape sequences in literals.
- graphicCharacter
what characters can be written verbatim into a character or string literal.
- multiStringEnds
what sequences may begin and end a multi-line string literal.
- stringEnds
what sequences may begin and end a string literal.
- Since:
4.0.0
- Companion:
- object
- Source:
- TextDesc.scala
- Graph
- Supertypes