Crate type_sitter_lib

source ·
Expand description

type-sitter-lib: type-sitter code for generated / downstream code

See type-sitter for more information. This is the library which code generated from type-sitter depends on.

The yak-sitter feature allows you to use yak-sitter, an opinionated alternative tree-sitter facade, instead of the original tree-sitter datatypes.




  • May be a comment or other “extra” instead of the positionally-expected node kind
  • Underlying cause of why the node is the wrong kind


Type Definitions

  • Never type (for the weird case when there is an accessor that can’t return anything)
  • Result of attempting to wrap a node