pub enum Tin {
Show 13 variants
Ob,
Cb,
Cl,
Ca,
Tx,
Gc,
Vl,
Cc,
Atr,
Atd,
Atk,
Ats,
Zz,
}Expand description
A token kind.
Ob/Cb/Cl/Ca are the fixed punctuation the canonical port borrows
from the engine ({ } : and ;, the last remapped onto jsonic’s
member separator). The rest are this grammar’s own: a custom name is
required for a comment NODE because the engine’s builtin comment tin is in
the parser’s ignore set, so emitting it would silently drop the node.
Variants§
Ob
{ — start of a block.
Cb
} — end of a block.
Cl
: — declaration separator.
Ca
; — declaration terminator.
Tx
A selector, keyframe value, or property name.
Gc
, — selector-group separator.
Vl
A declaration value (raw text).
Cc
A comment, at a statement position.
Atr
An at-rule with a rules body (@media, @supports, …).
Atd
An at-rule with a declarations body (@font-face, @page, …).
Atk
@keyframes.
Ats
A statement at-rule (@import, @charset, …).
Zz
End of input.