Skip to main content

Crate treesitter_types_json

Crate treesitter_types_json 

Source
Expand description

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

Structs§

Array
Comment
Document
EscapeSequence
False
Null
Number
Object
Pair
Span
String
StringContent
True

Enums§

AnyNode
ParseError
StringChildren
Value

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.