webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebCore::CSSParserToken Class Reference

#include <CSSParserToken.h>

Public Types

enum  BlockType {
  NotBlock, BlockStart, BlockEnd, NotBlock,
  BlockStart, BlockEnd
}
 
enum  BlockType {
  NotBlock, BlockStart, BlockEnd, NotBlock,
  BlockStart, BlockEnd
}
 

Public Member Functions

 CSSParserToken (CSSParserTokenType, BlockType=NotBlock)
 
 CSSParserToken (CSSParserTokenType, StringView, BlockType=NotBlock)
 
 CSSParserToken (CSSParserTokenType, UChar)
 
 CSSParserToken (CSSParserTokenType, double, NumericValueType, NumericSign)
 
 CSSParserToken (CSSParserTokenType, UChar32, UChar32)
 
 CSSParserToken (HashTokenType, StringView)
 
bool operator== (const CSSParserToken &other) const
 
bool operator!= (const CSSParserToken &other) const
 
void convertToDimensionWithUnit (StringView)
 
void convertToPercentage ()
 
CSSParserTokenType type () const
 
StringView value () const
 
UChar delimiter () const
 
NumericSign numericSign () const
 
NumericValueType numericValueType () const
 
double numericValue () const
 
HashTokenType getHashTokenType () const
 
BlockType getBlockType () const
 
CSSPrimitiveValue::UnitType unitType () const
 
UChar32 unicodeRangeStart () const
 
UChar32 unicodeRangeEnd () const
 
CSSValueID id () const
 
CSSValueID functionId () const
 
bool hasStringBacking () const
 
CSSPropertyID parseAsCSSPropertyID () const
 
void serialize (StringBuilder &) const
 
CSSParserToken copyWithUpdatedString (const StringView &) const
 
 CSSParserToken (CSSParserTokenType, BlockType=NotBlock)
 
 CSSParserToken (CSSParserTokenType, StringView, BlockType=NotBlock)
 
 CSSParserToken (CSSParserTokenType, UChar)
 
 CSSParserToken (CSSParserTokenType, double, NumericValueType, NumericSign)
 
 CSSParserToken (CSSParserTokenType, UChar32, UChar32)
 
 CSSParserToken (HashTokenType, StringView)
 
bool operator== (const CSSParserToken &other) const
 
bool operator!= (const CSSParserToken &other) const
 
void convertToDimensionWithUnit (StringView)
 
void convertToPercentage ()
 
CSSParserTokenType type () const
 
StringView value () const
 
UChar delimiter () const
 
NumericSign numericSign () const
 
NumericValueType numericValueType () const
 
double numericValue () const
 
HashTokenType getHashTokenType () const
 
BlockType getBlockType () const
 
CSSPrimitiveValue::UnitType unitType () const
 
UChar32 unicodeRangeStart () const
 
UChar32 unicodeRangeEnd () const
 
CSSValueID id () const
 
CSSValueID functionId () const
 
bool hasStringBacking () const
 
CSSPropertyID parseAsCSSPropertyID () const
 
void serialize (StringBuilder &) const
 
CSSParserToken copyWithUpdatedString (const StringView &) const
 

Member Enumeration Documentation

◆ BlockType [1/2]

Enumerator
NotBlock 
BlockStart 
BlockEnd 
NotBlock 
BlockStart 
BlockEnd 

◆ BlockType [2/2]

Enumerator
NotBlock 
BlockStart 
BlockEnd 
NotBlock 
BlockStart 
BlockEnd 

Constructor & Destructor Documentation

◆ CSSParserToken() [1/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  type,
BlockType  blockType = NotBlock 
)

◆ CSSParserToken() [2/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  type,
StringView  value,
BlockType  blockType = NotBlock 
)

◆ CSSParserToken() [3/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  type,
UChar  c 
)

◆ CSSParserToken() [4/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  type,
double  numericValue,
NumericValueType  numericValueType,
NumericSign  sign 
)

◆ CSSParserToken() [5/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  type,
UChar32  start,
UChar32  end 
)

◆ CSSParserToken() [6/12]

WebCore::CSSParserToken::CSSParserToken ( HashTokenType  type,
StringView  value 
)

◆ CSSParserToken() [7/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  ,
BlockType  = NotBlock 
)

◆ CSSParserToken() [8/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  ,
StringView  ,
BlockType  = NotBlock 
)

◆ CSSParserToken() [9/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  ,
UChar   
)

◆ CSSParserToken() [10/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  ,
double  ,
NumericValueType  ,
NumericSign   
)

◆ CSSParserToken() [11/12]

WebCore::CSSParserToken::CSSParserToken ( CSSParserTokenType  ,
UChar32  ,
UChar32   
)

◆ CSSParserToken() [12/12]

WebCore::CSSParserToken::CSSParserToken ( HashTokenType  ,
StringView   
)

Member Function Documentation

◆ convertToDimensionWithUnit() [1/2]

void WebCore::CSSParserToken::convertToDimensionWithUnit ( StringView  unit)

◆ convertToDimensionWithUnit() [2/2]

void WebCore::CSSParserToken::convertToDimensionWithUnit ( StringView  )

◆ convertToPercentage() [1/2]

void WebCore::CSSParserToken::convertToPercentage ( )

◆ convertToPercentage() [2/2]

void WebCore::CSSParserToken::convertToPercentage ( )

◆ copyWithUpdatedString() [1/2]

CSSParserToken WebCore::CSSParserToken::copyWithUpdatedString ( const StringView string) const

◆ copyWithUpdatedString() [2/2]

CSSParserToken WebCore::CSSParserToken::copyWithUpdatedString ( const StringView ) const

◆ delimiter() [1/2]

UChar WebCore::CSSParserToken::delimiter ( ) const

◆ delimiter() [2/2]

UChar WebCore::CSSParserToken::delimiter ( ) const

◆ functionId() [1/2]

CSSValueID WebCore::CSSParserToken::functionId ( ) const

◆ functionId() [2/2]

CSSValueID WebCore::CSSParserToken::functionId ( ) const

◆ getBlockType() [1/2]

BlockType WebCore::CSSParserToken::getBlockType ( ) const
inline

◆ getBlockType() [2/2]

BlockType WebCore::CSSParserToken::getBlockType ( ) const
inline

◆ getHashTokenType() [1/2]

HashTokenType WebCore::CSSParserToken::getHashTokenType ( ) const
inline

◆ getHashTokenType() [2/2]

HashTokenType WebCore::CSSParserToken::getHashTokenType ( ) const
inline

◆ hasStringBacking() [1/2]

bool WebCore::CSSParserToken::hasStringBacking ( ) const

◆ hasStringBacking() [2/2]

bool WebCore::CSSParserToken::hasStringBacking ( ) const

◆ id() [1/2]

CSSValueID WebCore::CSSParserToken::id ( ) const

◆ id() [2/2]

CSSValueID WebCore::CSSParserToken::id ( ) const

◆ numericSign() [1/2]

NumericSign WebCore::CSSParserToken::numericSign ( ) const

◆ numericSign() [2/2]

NumericSign WebCore::CSSParserToken::numericSign ( ) const

◆ numericValue() [1/2]

double WebCore::CSSParserToken::numericValue ( ) const

◆ numericValue() [2/2]

double WebCore::CSSParserToken::numericValue ( ) const

◆ numericValueType() [1/2]

NumericValueType WebCore::CSSParserToken::numericValueType ( ) const

◆ numericValueType() [2/2]

NumericValueType WebCore::CSSParserToken::numericValueType ( ) const

◆ operator!=() [1/2]

bool WebCore::CSSParserToken::operator!= ( const CSSParserToken other) const
inline

◆ operator!=() [2/2]

bool WebCore::CSSParserToken::operator!= ( const CSSParserToken other) const
inline

◆ operator==() [1/2]

bool WebCore::CSSParserToken::operator== ( const CSSParserToken other) const

◆ operator==() [2/2]

bool WebCore::CSSParserToken::operator== ( const CSSParserToken other) const

◆ parseAsCSSPropertyID() [1/2]

CSSPropertyID WebCore::CSSParserToken::parseAsCSSPropertyID ( ) const

◆ parseAsCSSPropertyID() [2/2]

CSSPropertyID WebCore::CSSParserToken::parseAsCSSPropertyID ( ) const

◆ serialize() [1/2]

void WebCore::CSSParserToken::serialize ( StringBuilder builder) const

◆ serialize() [2/2]

void WebCore::CSSParserToken::serialize ( StringBuilder ) const

◆ type() [1/2]

CSSParserTokenType WebCore::CSSParserToken::type ( ) const
inline

◆ type() [2/2]

CSSParserTokenType WebCore::CSSParserToken::type ( ) const
inline

◆ unicodeRangeEnd() [1/2]

UChar32 WebCore::CSSParserToken::unicodeRangeEnd ( ) const
inline

◆ unicodeRangeEnd() [2/2]

UChar32 WebCore::CSSParserToken::unicodeRangeEnd ( ) const
inline

◆ unicodeRangeStart() [1/2]

UChar32 WebCore::CSSParserToken::unicodeRangeStart ( ) const
inline

◆ unicodeRangeStart() [2/2]

UChar32 WebCore::CSSParserToken::unicodeRangeStart ( ) const
inline

◆ unitType() [1/2]

CSSPrimitiveValue::UnitType WebCore::CSSParserToken::unitType ( ) const
inline

◆ unitType() [2/2]

CSSPrimitiveValue::UnitType WebCore::CSSParserToken::unitType ( ) const
inline

◆ value() [1/2]

StringView WebCore::CSSParserToken::value ( ) const
inline

◆ value() [2/2]

StringView WebCore::CSSParserToken::value ( ) const
inline

Member Data Documentation

◆ end

UChar32 WebCore::CSSParserToken::end

◆ m_delimiter

UChar WebCore::CSSParserToken::m_delimiter

◆ m_hashTokenType

HashTokenType WebCore::CSSParserToken::m_hashTokenType

◆ m_id

int WebCore::CSSParserToken::m_id
mutable

◆ m_numericValue

double WebCore::CSSParserToken::m_numericValue

◆ m_unicodeRange [1/2]

struct { ... } WebCore::CSSParserToken::m_unicodeRange

◆ m_unicodeRange [2/2]

struct { ... } WebCore::CSSParserToken::m_unicodeRange

◆ start

UChar32 WebCore::CSSParserToken::start

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