StringLiteral

laika.parse.code.common.StringLiteral
object StringLiteral

Configurable base parsers for string literals.

Attributes

Source
StringLiteral.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Escape

Base parsers for escape sequences.

Base parsers for escape sequences.

Attributes

Source
StringLiteral.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Escape.type
class StringParser

Configurable base parser for string literals.

Configurable base parser for string literals.

Attributes

Source
StringLiteral.scala
Supertypes
trait PrefixedParser[Seq[CodeSpan]]
class Parser[Seq[CodeSpan]]
class Object
trait Matchable
class Any
Show all
object Substitution

Base parsers for substitution references in interpolated strings (or sometimes called string templates depending on the language).

Base parsers for substitution references in interpolated strings (or sometimes called string templates depending on the language).

Attributes

Source
StringLiteral.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def multiLine(between: String): StringParser

Parses a string literal that can span multiple lines, enclosed by the specified start and end delimiter.

Parses a string literal that can span multiple lines, enclosed by the specified start and end delimiter.

Attributes

Source
StringLiteral.scala
def multiLine(startDelim: String, endDelim: String): StringParser

Parses a string literal that can span multiple lines, enclosed by the specified start and end delimiters.

Parses a string literal that can span multiple lines, enclosed by the specified start and end delimiters.

Attributes

Source
StringLiteral.scala
def multiLine(startDelim: PrefixedParser[String], endDelim: PrefixedParser[String]): StringParser

Parses a string literal that can span multiple lines, enclosed by the specified delimiters.

Parses a string literal that can span multiple lines, enclosed by the specified delimiters.

Attributes

Source
StringLiteral.scala
def singleLine(between: Char): StringParser

Parses a string literal on a single line enclosed by the specified start and end delimiter.

Parses a string literal on a single line enclosed by the specified start and end delimiter.

Attributes

Source
StringLiteral.scala
def singleLine(startDelim: String, endDelim: String): StringParser

Parses a string literal on a single line enclosed by the specified start and end delimiters.

Parses a string literal on a single line enclosed by the specified start and end delimiters.

Attributes

Source
StringLiteral.scala
def singleLine(startDelim: PrefixedParser[String], endDelim: PrefixedParser[String]): StringParser

Parses a string literal on a single line enclosed by the specified start and end delimiters.

Parses a string literal on a single line enclosed by the specified start and end delimiters.

Attributes

Source
StringLiteral.scala