Module beamui.css.tokenizer

CSS tokenizer.

The tokenizer follows this document: https://www.w3.org/TR/css-syntax-3

Tokenizer does not parse numbers. cdo and cdc tokens are not included into result.

Import line

import beamui.css.tokenizer;

Functions

NameDescription
tokenizeCSS(source) Transform a CSS source code into a token range

Structs

NameDescription
Token CSS token
TokenRange Lazy input range of CSS tokens

Enums

NameDescription
TokenType