clan::CSSTokenizer Class Reference

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...
 

Detailed Description

Tokenizer class that breaks CSS text into tokens.

!group=Core/CSS! !header=core.h!

Constructor & Destructor Documentation

clan::CSSTokenizer::CSSTokenizer ( IODevice device)
clan::CSSTokenizer::CSSTokenizer ( const std::string &  text)

Member Function Documentation

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.


The documentation for this class was generated from the following file: