Skip to main content

Crate treesitter_types_css

Crate treesitter_types_css 

Source
Expand description

Strongly-typed AST types for CSS, generated from tree-sitter-css’s node-types.json.

Structs§

AdjacentSiblingSelector
Arguments
AtKeyword
AtRule
AttributeName
AttributeSelector
BinaryExpression
BinaryQuery
Block
CallExpression
CharsetStatement
ChildSelector
ClassName
ClassSelector
ColorValue
Comment
Declaration
DescendantSelector
EscapeSequence
FeatureName
FeatureQuery
FloatValue
From
FunctionName
GridValue
IdName
IdSelector
Identifier
ImportStatement
Important
ImportantValue
IntegerValue
JsComment
KeyframeBlock
KeyframeBlockList
KeyframesName
KeyframesStatement
KeywordQuery
MediaStatement
NamespaceName
NamespaceSelector
NamespaceStatement
NestingSelector
ParenthesizedQuery
ParenthesizedValue
PlainValue
PostcssStatement
PropertyName
PseudoClassSelector
PseudoElementSelector
RuleSet
ScopeStatement
SelectorQuery
Selectors
SiblingSelector
Span
StringContent
StringValue
Stylesheet
SupportsStatement
TagName
To
UnaryQuery
Unit
UniversalSelector

Enums§

AdjacentSiblingSelectorChildren
AnyNode
ArgumentsChildren
AtRuleChildren
AttributeNameChildren
AttributeSelectorChildren
BinaryExpressionChildren
BinaryQueryChildren
BlockChildren
CallExpressionChildren
CharsetStatementChildren
ChildSelectorChildren
ClassNameChildren
ClassSelectorChildren
DeclarationChildren
DescendantSelectorChildren
FeatureQueryChildren
GridValueChildren
IdSelectorChildren
ImportStatementChildren
KeyframeBlockChildren
KeyframesStatementChildren
MediaStatementChildren
NamespaceSelectorChildren
NamespaceStatementChildren
ParenthesizedQueryChildren
ParenthesizedValueChildren
ParseError
PostcssStatementChildren
PseudoClassSelectorChildren
PseudoElementSelectorChildren
RuleSetChildren
ScopeStatementChildren
SelectorQueryChildren
SelectorsChildren
SiblingSelectorChildren
StringValueChildren
StylesheetChildren
SupportsStatementChildren
UnaryQueryChildren

Traits§

FromNode
Every generated struct and enum implements this.
LeafNode
Implemented by every generated leaf type (identifiers, literals, etc.)
Spanned
Implemented by every generated type that has a source location.