markdown :: Token :: defaultinit
# A token represent a character in the markdown input.
# Some tokens have a specific markup behaviour that is handled here.
abstract class Token
# Location of `self` in the original input.
var location: nullable MDLocation
# Position of `self` in input independant from lines.
var pos: Int
# Character found at `pos` in the markdown input.
var char: Char
# Output that token using `MarkdownEmitter::decorator`.
fun emit(v: MarkdownProcessor) do v.decorator.add_char(v, char)
end
lib/markdown/markdown.nit:1955,1--1970,3