css_parser

package
v0.19.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(log logger.Log, source logger.Source, options Options) css_ast.AST

Types

type DuplicateRuleRemover added in v0.15.15

type DuplicateRuleRemover struct {
	// contains filtered or unexported fields
}

func MakeDuplicateRuleMangler added in v0.15.15

func MakeDuplicateRuleMangler(symbols ast.SymbolMap) DuplicateRuleRemover

func (*DuplicateRuleRemover) RemoveDuplicateRulesInPlace added in v0.15.15

func (remover *DuplicateRuleRemover) RemoveDuplicateRulesInPlace(sourceIndex uint32, rules []css_ast.Rule, importRecords []ast.ImportRecord) []css_ast.Rule

type Options added in v0.8.12

type Options struct {
	// contains filtered or unexported fields
}

func OptionsFromConfig added in v0.18.9

func OptionsFromConfig(loader config.Loader, options *config.Options) Options

func (*Options) Equal added in v0.18.9

func (a *Options) Equal(b *Options) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL