Search


Search something to see results

AstRule

rule node

interface AstRule {
    chi: (
        | AstAtRule
        | AstRule
        | AstInvalidRule
        | AstComment
        | AstDeclaration
        | AstInvalidAtRule
        | AstInvalidDeclaration
    )[];
    errors?: ErrorDescription[];
    loc?: Location;
    optimized?: OptimizedSelector
    | null;
    parent?: any;
    raw?: RawSelectorTokens | null;
    sel: string;
    state?: any;
    tokens?: Token[] | null;
    typ: RuleNodeType;
}

Hierarchy (View Summary)

Index

Properties

chi: (
    | AstAtRule
    | AstRule
    | AstInvalidRule
    | AstComment
    | AstDeclaration
    | AstInvalidAtRule
    | AstInvalidDeclaration
)[]
errors?: ErrorDescription[]
loc?: Location

location info

optimized?: OptimizedSelector | null
parent?: any

parent node

raw?: RawSelectorTokens | null
sel: string
state?: any
tokens?: Token[] | null

prelude or selector tokens

token type