Skip to main content

Crate treesitter_types_html

Crate treesitter_types_html 

Source
Expand description

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

Structs§

Attribute
AttributeName
AttributeValue
Comment
Doctype
Document
Element
EndTag
Entity
ErroneousEndTag
ErroneousEndTagName
QuotedAttributeValue
RawText
ScriptElement
SelfClosingTag
Span
StartTag
StyleElement
TagName
Text

Enums§

AnyNode
AttributeChildren
DocumentChildren
ElementChildren
ParseError
ScriptElementChildren
SelfClosingTagChildren
StartTagChildren
StyleElementChildren

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.