libhtmlpp 1.0.0
Loading...
Searching...
No Matches
Classes | Functions
anonymous_namespace{css.cpp} Namespace Reference

Classes

struct  CompoundParts
 

Functions

bool isWhitespace (char c)
 
std::string trim (const std::string &s)
 
bool stripImportant (std::string &value)
 
CompoundParts parseCompoundSelector (const std::string &matchSel)
 
bool compoundMatches (const CompoundParts &compound, bool hadCombinator, const std::string &tag, const std::vector< std::string > &classes, const std::string &id)
 
std::string stripCombinator (const std::string &singleSel, bool &hadCombinator)
 
bool hasUnsupportedSelectorSyntax (const std::string &matchSel)
 
size_t findMatchingParen (const std::string &s, size_t openPos)
 
void splitVarArgs (const std::string &inner, std::string &name, std::string &fallback)
 
std::string substituteVars (const std::string &value, const std::map< std::string, std::string > &customProperties, std::set< std::string > &resolving)
 

Function Documentation

◆ compoundMatches()

bool anonymous_namespace{css.cpp}::compoundMatches ( const CompoundParts compound,
bool  hadCombinator,
const std::string &  tag,
const std::vector< std::string > &  classes,
const std::string &  id 
)

Definition at line 116 of file css.cpp.

◆ findMatchingParen()

size_t anonymous_namespace{css.cpp}::findMatchingParen ( const std::string &  s,
size_t  openPos 
)

Definition at line 169 of file css.cpp.

◆ hasUnsupportedSelectorSyntax()

bool anonymous_namespace{css.cpp}::hasUnsupportedSelectorSyntax ( const std::string &  matchSel)

Definition at line 160 of file css.cpp.

◆ isWhitespace()

bool anonymous_namespace{css.cpp}::isWhitespace ( char  c)

Definition at line 36 of file css.cpp.

◆ parseCompoundSelector()

CompoundParts anonymous_namespace{css.cpp}::parseCompoundSelector ( const std::string &  matchSel)

Definition at line 81 of file css.cpp.

◆ splitVarArgs()

void anonymous_namespace{css.cpp}::splitVarArgs ( const std::string &  inner,
std::string &  name,
std::string &  fallback 
)

Definition at line 185 of file css.cpp.

◆ stripCombinator()

std::string anonymous_namespace{css.cpp}::stripCombinator ( const std::string &  singleSel,
bool &  hadCombinator 
)

Definition at line 141 of file css.cpp.

◆ stripImportant()

bool anonymous_namespace{css.cpp}::stripImportant ( std::string &  value)

Definition at line 53 of file css.cpp.

◆ substituteVars()

std::string anonymous_namespace{css.cpp}::substituteVars ( const std::string &  value,
const std::map< std::string, std::string > &  customProperties,
std::set< std::string > &  resolving 
)

Definition at line 203 of file css.cpp.

◆ trim()

std::string anonymous_namespace{css.cpp}::trim ( const std::string &  s)

Definition at line 40 of file css.cpp.