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
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
make#
functionConstructor
func make() : SelectorList
delete#
function
func delete(self : *SelectorList) : void