package css_ast
import "github.com/evanw/esbuild/internal/css_ast"
Index ¶
- type AST
- type ComplexSelector
- type CompoundSelector
- type NamespacedName
- type R
- type RAtCharset
- type RAtImport
- type RAtNamespace
- type RBadDeclaration
- type RDeclaration
- type RKnownAt
- type RQualified
- type RSelector
- type RUnknownAt
- type SS
- type SSAttribute
- type SSClass
- type SSHash
- type SSPseudoClass
Types ¶
type AST ¶
type AST struct { ImportRecords []ast.ImportRecord Rules []R }
type ComplexSelector ¶
type ComplexSelector struct { Selectors []CompoundSelector }
type CompoundSelector ¶
type CompoundSelector struct { HasNestPrefix bool // "&" Combinator string // Optional, may be "" TypeSelector *NamespacedName SubclassSelectors []SS PseudoClassSelectors []SSPseudoClass // If present, these follow a ":" character }
type NamespacedName ¶
type NamespacedName struct { // If present, this is an identifier or "*" or "" and is followed by a "|" character NamespacePrefix *string // This is an identifier or "*" or "&" Name string }
type R ¶
type R interface {
// contains filtered or unexported methods
}
This interface is never called. Its purpose is to encode a variant type in Go's type system.
type RAtCharset ¶
type RAtCharset struct { Encoding string }
type RAtImport ¶
type RAtImport struct { ImportRecordIndex uint32 }
type RAtNamespace ¶
type RBadDeclaration ¶
type RDeclaration ¶
type RKnownAt ¶
type RQualified ¶
type RSelector ¶
type RSelector struct { Selectors []ComplexSelector Rules []R }
type RUnknownAt ¶
type SS ¶
type SS interface {
// contains filtered or unexported methods
}
This interface is never called. Its purpose is to encode a variant type in Go's type system.
type SSAttribute ¶
type SSAttribute struct { NamespacedName NamespacedName MatcherOp string MatcherValue string MatcherModifier byte }
type SSClass ¶
type SSClass struct { Name string }
type SSHash ¶
type SSHash struct { Name string }
type SSPseudoClass ¶
Source Files ¶
- Version
- v0.7.7
- Published
- Sep 27, 2020
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 4 hours ago –
Tools for package owners.