Documentation
¶
Index ¶
- func IsNodesEmpty(nodes []Node) bool
- func ReplaceHolder(rule string, p string) string
- func SplitRules(s string) []string
- func WalkRules(rules []Node, parent string, each func(r Node))
- type AtRule
- type Declaration
- type FormatOpt
- type Node
- type NodeAppendable
- type Root
- type Rule
- type Tokenizer
- type WithSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNodesEmpty ¶
func ReplaceHolder ¶
func SplitRules ¶
Types ¶
type Declaration ¶
func (*Declaration) IsEmpty ¶
func (s *Declaration) IsEmpty() bool
func (*Declaration) IsVariable ¶
func (s *Declaration) IsVariable() bool
type FormatOpt ¶
func (*FormatOpt) WriteIdent ¶
type Node ¶
func ParseBytes ¶
type NodeAppendable ¶
type NodeAppendable interface {
AppendNode(n Node)
}
type WithSelector ¶
Click to show internal directories.
Click to hide internal directories.