db3-sqlparser 0.0.1

db3-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: 12.96 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 620.55 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • imotai
This crate provides db3_sql language support for the [tree-sitter][] parsing library. Typically, you will use the [language][language func] 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_db3_sql::language()).expect("Error loading db3_sql grammar"); let tree = parser.parse(code, None).unwrap(); ``` [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html [language func]: fn.language.html [Parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html [tree-sitter]: https://tree-sitter.github.io/