Interface represents an interface for an object received as parameter by Node class constructor.

interface RuleProps {
    nodes?: (ChildProps | ChildNode)[];
    raws?: RuleRaws;
    selector?: string;
    selectors?: string[];
    source?: Source;
}

Hierarchy (view full)

Properties

nodes?: (ChildProps | ChildNode)[]
raws?: RuleRaws

Information used to generate byte-to-byte equal node string as it was in the origin input.

selector?: string

Selector or selectors of the rule.

selectors?: string[]

Selectors of the rule represented as an array of strings.

source?: Source