CodeCategory

laika.parse.code.CodeCategory
See theCodeCategory companion object
sealed trait CodeCategory extends Product with Serializable

Represents a category that can be assigned to a span inside a code block to facilitate syntax highlighting.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object Annotation.type
object AttributeName.type
object BooleanLiteral.type
object CharLiteral.type
object Comment.type
object DeclarationName.type
object EscapeSequence.type
object Identifier.type
object Keyword.type
object LiteralValue.type
object Emphasized.type
object Fence.type
object Headline.type
object LinkTarget.type
object LinkText.type
object Quote.type
object NumberLiteral.type
object RegexLiteral.type
object StringLiteral.type
object Substitution.type
object SymbolLiteral.type
object Name.type
object Punctuation.type
object TypeName.type
object CData.type
object DTDTagName.type

Members list

Concise view

Value members

Concrete methods

def name: String

The name of the category which usually translates to styles in rendered output.

The name of the category which usually translates to styles in rendered output.

Attributes

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product