CSSParser

Undocumented in source.

Constructors

this
this(CSSToken[] _tokens)
Undocumented in source.

Members

Functions

next
bool next()

move to next token

parseATRule
ATRuleNode parseATRule()
Undocumented in source. Be warned that the author may not have intended to support it.
parseComponentValueList
ComponentValueNode[] parseComponentValueList(CSSTokenType endToken1, CSSTokenType endToken2)
Undocumented in source. Be warned that the author may not have intended to support it.
parseFunctionBlock
FunctionNode parseFunctionBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
parseQualifiedRule
QualifiedRuleNode parseQualifiedRule()
Undocumented in source. Be warned that the author may not have intended to support it.
parseSimpleBlock
SimpleBlockNode parseSimpleBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
skipWhiteSpace
CSSTokenType skipWhiteSpace()

move to nearest non-whitespace token; return current token type (does not move if current token is not whitespace)

Properties

currentToken
CSSToken currentToken [@property getter]

peek current token

nextNonWhiteSpace
CSSTokenType nextNonWhiteSpace [@property getter]

skip current token, then move to nearest non-whitespace token; return new token type

nextToken
CSSToken nextToken [@property getter]

peek next token

Variables

pos
int pos;
Undocumented in source.
tokens
CSSToken[] tokens;
Undocumented in source.

Meta