Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_CSSSyntaxParser Class Reference

#include <cfx_csssyntaxparser.h>

+ Collaboration diagram for CFX_CSSSyntaxParser:

Public Types

enum class  Status : uint8_t {
  kError , kEOS , kNone , kStyleRule ,
  kSelector , kDeclOpen , kDeclClose , kPropertyName ,
  kPropertyValue
}
 

Public Member Functions

 CFX_CSSSyntaxParser (WideStringView str)
 
 ~CFX_CSSSyntaxParser ()
 
void SetParseOnlyDeclarations ()
 
Status DoSyntaxParse ()
 
WideStringView GetCurrentString () const
 

Detailed Description

Definition at line 16 of file cfx_csssyntaxparser.h.

Member Enumeration Documentation

◆ Status

enum class CFX_CSSSyntaxParser::Status : uint8_t
strong
Enumerator
kError 
kEOS 
kNone 
kStyleRule 
kSelector 
kDeclOpen 
kDeclClose 
kPropertyName 
kPropertyValue 

Definition at line 18 of file cfx_csssyntaxparser.h.

Constructor & Destructor Documentation

◆ CFX_CSSSyntaxParser()

CFX_CSSSyntaxParser::CFX_CSSSyntaxParser ( WideStringView str)
explicit

Definition at line 23 of file cfx_csssyntaxparser.cpp.

◆ ~CFX_CSSSyntaxParser()

CFX_CSSSyntaxParser::~CFX_CSSSyntaxParser ( )
default

Member Function Documentation

◆ DoSyntaxParse()

CFX_CSSSyntaxParser::Status CFX_CSSSyntaxParser::DoSyntaxParse ( )

Definition at line 31 of file cfx_csssyntaxparser.cpp.

References kDeclClose, kDeclOpen, kEOS, kError, kPropertyName, kPropertyValue, kSelector, and kStyleRule.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ GetCurrentString()

WideStringView CFX_CSSSyntaxParser::GetCurrentString ( ) const

Definition at line 173 of file cfx_csssyntaxparser.cpp.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ SetParseOnlyDeclarations()

void CFX_CSSSyntaxParser::SetParseOnlyDeclarations ( )

Definition at line 27 of file cfx_csssyntaxparser.cpp.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

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