api

ast.ch

Declarations in ast.ch

7 declarationscss_parser

Declarations

Public only
Combinator#
Publicenum
enum Combinator { Descendant, Child, NextSibling, SubsequentSibling, None }
SimpleSelectorKind#
Publicenum
enum SimpleSelectorKind { Tag, Class, Id, Universal, Attribute, PseudoClass, PseudoElement, Ampersand }
SimpleSelector#
Publicstruct
struct SimpleSelector { var kind : SimpleSelectorKind var value : string_view var attr : *AttributeSelectorData }
AttributeSelectorData#
Publicstruct
struct AttributeSelectorData { var name : string_view var operator : string_view var value : string_view var flags : string_view }
make#
functionConstructor
func make() : AttributeSelectorData
CompoundSelector#
Publicstruct
struct CompoundSelector { var simple_selectors : vector<*SimpleSelector> }
make#
functionConstructor
func make() : CompoundSelector
delete#
function
func delete(self : *CompoundSelector) : void
ComplexSelector#
Publicstruct
struct ComplexSelector { var compound : *CompoundSelector var combinator : Combinator var next : *ComplexSelector }
SelectorList#
Publicstruct
struct SelectorList { var selectors : vector<*ComplexSelector> }
make#
functionConstructor
func make() : SelectorList
delete#
function
func delete(self : *SelectorList) : void