tree-sitter-sql 0.0.2

SQL grammar for the tree-sitter parsing library
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 2 items with examples
  • Size
  • Source code size: 465.28 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 861.74 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • m-novikov/tree-sitter-sql
    125 38 22
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • m-novikov

This crate provides SQL language support for the tree-sitter parsing library.

Typically, you will use the language function to add this language to a tree-sitter Parser, and then use the parser to parse some code:

let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_sql::language()).expect("Error loading SQL grammar");
let tree = parser.parse(code, None).unwrap();