Struct TokenRange

Lazy input range of CSS tokens

struct TokenRange

Constructors

NameDescription
this (source) Construct a new token range from a source code

Properties

TypeNameDescription
bool
empty[get] Is EOF reached?
const(Token)
front[get] Current token
ulong
line[get] Line in the source code where current token is, 1-based

Methods

NameDescription
popFront () Go for the next token. Check for empty before this