Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrExpr ¶
AttrExpr ::= S* [ namespace_prefix ]? IDENT S*
[ [ PREFIXMATCH | SUFFIXMATCH | SUBSTRINGMATCH | '=' | INCLUDES | DASHMATCH ] S* [ IDENT | STRING ] S* ]?
type Expression ¶
type Expression interface { String() string // contains filtered or unexported methods }
Expression is a type maker
type FunctionalPseudo ¶
FunctionalPseudo ::= FUNCTION S* arg ')'
func (*FunctionalPseudo) String ¶
func (fp *FunctionalPseudo) String() string
type Negation ¶
type Negation struct {
*NArg
}
Negation ::= NOT S* negation_arg S* ')' negation_arg ::= ident | universal | HASH | class | attrib | pseudo
type Pseudo ¶
type Pseudo struct { *Ident *FunctionalPseudo Token token.Token TypeID byte }
Pseudo ::= ':' ':'? [ IDENT | functional_pseudo ]
type RSelector ¶
type RSelector struct { Expr Expression Token token.Token }
RSelector ::= <relative-selector> = <combinator>? <complex-selector>
type Selector ¶
type Selector struct { Left Expression Right Expression Token token.Token }
Selector ::= simple_selector_sequence [ combinator simple_selector_sequence ]*
type Sequence ¶
type Sequence struct { Expression Exprs []Expression }
Sequence ::= [ type_selector | universal ]
simple_sequence* | simple_sequence+
Click to show internal directories.
Click to hide internal directories.