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.
Implementations§
Trait Implementations§
impl Copy for Tin
impl Eq for Tin
impl StructuralPartialEq for Tin
Auto Trait Implementations§
impl Freeze for Tin
impl RefUnwindSafe for Tin
impl Send for Tin
impl Sync for Tin
impl Unpin for Tin
impl UnsafeUnpin for Tin
impl UnwindSafe for Tin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.