Photon 1.0.0
Loading...
Searching...
No Matches
css_parser.h File Reference
#include "css_tokenizer.h"
#include "stylesheet.h"

Go to the source code of this file.

Classes

class  litehtml::css_parser
 

Namespaces

namespace  litehtml
 

Typedefs

using litehtml::keep_whitespace_fn = std::function< bool(const css_token &left, const css_token &right)>
 

Enumerations

enum  { litehtml::f_componentize = 1 , litehtml::f_remove_whitespace = 2 }
 

Functions

void litehtml::remove_whitespace (css_token_vector &tokens, keep_whitespace_fn keep_whitespace=0)
 
template<class Input >
css_token_vector litehtml::normalize (Input input, int options=0, keep_whitespace_fn keep_whitespace=0)
 
vector< css_token_vectorlitehtml::parse_comma_separated_list (const css_token_vector &tokens)
 
bool litehtml::is_declaration_value (const css_token_vector &tokens, int index=0)
 
bool litehtml::is_any_value (const css_token_vector &tokens)
 
bool litehtml::skip_whitespace (const css_token_vector &tokens, int &index)