JSX

laika.parse.code.languages.JavaScriptSyntax$.JSX$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JSX.type

Members list

Value members

Inherited methods

def elementRest(tagName: String, embedded: Seq[CodeSpanParser], tagNameCategory: CodeCategory): Parser[Seq[CodeSpan]]

Parses the content and the end tag of an element, with optionally embedding syntax for the content of the element. Assumes that the start tag has already been parsed.

Parses the content and the end tag of an element, with optionally embedding syntax for the content of the element. Assumes that the start tag has already been parsed.

Attributes

Inherited from:
TagBasedFormats
def name(category: CodeCategory): CodeSpanParser

Parses a valid attribute, tag or entity name.

Parses a valid attribute, tag or entity name.

Attributes

Inherited from:
TagBasedFormats

Concrete fields

val language: NonEmptyList[String]

The names of the language (and its optional aliases) as used in text markup

The names of the language (and its optional aliases) as used in text markup

Attributes

lazy val spanParsers: Seq[CodeSpanParser]

The parsers for individual code spans written in this language

The parsers for individual code spans written in this language

Attributes

Inherited fields

Parses a comment enclosed between ``.

Parses a comment enclosed between ``.

Attributes

Inherited from:
TagBasedFormats

Parses an empty tag (closed by />) with optional attributes.

Parses an empty tag (closed by />) with optional attributes.

Attributes

Inherited from:
TagBasedFormats

Parses an end tag.

Parses an end tag.

Attributes

Inherited from:
TagBasedFormats

Parses a named entity reference like < or a numeric character reference like &#xff.

Parses a named entity reference like < or a numeric character reference like &#xff.

Attributes

Inherited from:
TagBasedFormats
lazy val rootParser: Parser[Seq[CodeSpan]]

The resulting root parser composed of the individual span parsers to be used in the parser for the host markup language

The resulting root parser composed of the individual span parsers to be used in the parser for the host markup language

Attributes

Inherited from:
SyntaxHighlighter

Parses a start tag with optional attributes.

Parses a start tag with optional attributes.

Attributes

Inherited from:
TagBasedFormats

Attributes

Inherited from:
TagBasedFormats

Attributes

Inherited from:
TagBasedFormats