AstRule
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;
}
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)
- BaseToken
- AstNodeStatus
- AstRule
Index
Properties
Properties
chi
chi: (
| AstAtRule
| AstRule
| AstInvalidRule
| AstComment
| AstDeclaration
| AstInvalidAtRule
| AstInvalidDeclaration
)[]
| AstAtRule
| AstRule
| AstInvalidRule
| AstComment
| AstDeclaration
| AstInvalidAtRule
| AstInvalidDeclaration
)[]
Optionalerrors
errors?: ErrorDescription[]
Optionalloc
location info
Optionaloptimized
optimized?: OptimizedSelector | null
Optionalparent
parent?: any
parent node
Optionalraw
sel
sel: string
Optionalstate
state?: any
Optionaltokens
prelude or selector tokens
typ
token type
rule node