EntityToken

class EntityToken(data: TokenData, val body: String, val numeric: String?) : Token

An entity reference character. Examples:  , &, ©, '#', &#x22, ...

Parameters

body

raw entity body, the ampersand and the optional semicolon excluded

numeric

the decimal or hexadecimal digits of a numeric entity, if any

Constructors

Link copied to clipboard
constructor(data: TokenData, body: String, numeric: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: TokenVisitor<T>): T

Accepts a visitor.