final case class TextDesc(escapeSequences: EscapeDesc, characterLiteralEnd: Char, stringEnds: Set[String], multiStringEnds: Set[String], graphicCharacter: CharPredicate) extends Product with Serializable
This class describes how textual literals like strings and characters should be processed lexically.
- escapeSequences
the description of how escape sequences in literals.
- characterLiteralEnd
what character starts and ends a character literal.
- stringEnds
what sequences may begin and end a string literal.
- multiStringEnds
what sequences may begin and end a multi-line string literal.
- graphicCharacter
what characters can be written verbatim into a character or string literal.
- Source
- TextDesc.scala
- Since
4.0.0
- Alphabetic
- By Inheritance
- TextDesc
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TextDesc(escapeSequences: EscapeDesc, characterLiteralEnd: Char, stringEnds: Set[String], multiStringEnds: Set[String], graphicCharacter: CharPredicate)
- escapeSequences
the description of how escape sequences in literals.
- characterLiteralEnd
what character starts and ends a character literal.
- stringEnds
what sequences may begin and end a string literal.
- multiStringEnds
what sequences may begin and end a multi-line string literal.
- graphicCharacter
what characters can be written verbatim into a character or string literal.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val characterLiteralEnd: Char
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val escapeSequences: EscapeDesc
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val graphicCharacter: CharPredicate
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val multiStringEnds: Set[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val stringEnds: Set[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()