Struct TokenRange
Lazy input range of CSS tokens
struct TokenRange
Constructors
Name | Description |
---|---|
this
(source)
|
Construct a new token range from a source code |
Properties
Type | Name | Description |
---|---|---|
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
Name | Description |
---|---|
popFront
()
|
Go for the next token. Check for empty before this |