Tokenizer class that breaks CSS text into tokens. More...
#include <css_tokenizer.h>
Public Member Functions | |
Construction | |
| CSSTokenizer (IODevice &device) | |
| CSSTokenizer (const std::string &text) | |
Operations | |
| void | read (CSSToken &out_token, bool eat_whitespace, bool eat_comments=true) |
| Reads the next CSS token. More... | |
| std::vector< std::string > | read_import_urls () |
| Reads all import directives specified in this document. More... | |
Tokenizer class that breaks CSS text into tokens.
!group=Core/CSS! !header=core.h!
| clan::CSSTokenizer::CSSTokenizer | ( | IODevice & | device | ) |
| clan::CSSTokenizer::CSSTokenizer | ( | const std::string & | text | ) |
| void clan::CSSTokenizer::read | ( | CSSToken & | out_token, |
| bool | eat_whitespace, | ||
| bool | eat_comments = true |
||
| ) |
Reads the next CSS token.
| std::vector<std::string> clan::CSSTokenizer::read_import_urls | ( | ) |
Reads all import directives specified in this document.