parsley.token.descriptions.text.EscapeDesc
See theEscapeDesc companion object
final case class EscapeDesc(escBegin: Char, literals: Set[Char], singleMap: Map[Char, Int], multiMap: Map[String, Int], decimalEscape: NumericEscape, hexadecimalEscape: NumericEscape, octalEscape: NumericEscape, binaryEscape: NumericEscape, emptyEscape: Option[Char], gapsSupported: Boolean)
This class describes the valid escape sequences within character and string literals.
This allows for the definition of different escape sequences as direct literals, mapping from single or multiple characters to specific values, numeric escape sequences with different bases, as well as supporting zero-width escapes and line continuations via string gaps.
Attributes
- Companion:
- object
- Source:
- TextDesc.scala
- Graph
- Supertypes