#parser #incremental #doxygen

tree-sitter-doxygen

Doxygen grammar for tree-sitter

2 stable releases

1.1.0 Aug 26, 2023
1.0.0 Aug 25, 2023

#176 in #parsing

MIT license

150KB
4.5K SLoC

C 4.5K SLoC JavaScript 136 SLoC // 0.2% comments Rust 34 SLoC // 0.1% comments Scheme 33 SLoC

tree-sitter-doxygen

Build Status Discord

Doxygen grammar for tree-sitter


lib.rs:

This crate provides Doxygen 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_doxygen::language()).expect("Error loading Doxygen grammar");
let tree = parser.parse(code, None).unwrap();

Dependencies

~2.8–4MB
~72K SLoC