css_lexer 0.0.26

A spec-compliant CSS tokenizer with zero-copy cursors and optional feature gates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::AtomSet;
use derive_atom_set::AtomSet;

/// This enum represents an empty AtomSet. It can be used to Lex code when you're not interested in capturing known
/// keywords.
#[derive(Debug, Default, Copy, Clone, PartialEq, AtomSet)]
pub enum EmptyAtomSet {
	#[default]
	_None,
}

impl EmptyAtomSet {
	pub const ATOMS: EmptyAtomSet = EmptyAtomSet::_None;
}