Crate hotspots_parser

source ·
Expand description

This crate parses supported languages with their tree-sitter grammers, and collects all the methods and functions in the files.

All tree-sitter queries are stored in the queries directory. All fixtures for testing are stored in the fixtures directory.

Modules

  • This module implements the parser for Go language.
  • This module implements the parser for Lua language.
  • This module implements the parser for Rust language.

Structs

  • Container holds the files and filters for the Parser.
  • Element represents a function or a method in a file.

Enums

  • Error enumerates all errors for this application.

Traits

  • Parser provides the functionalities necessary for finding tree-sitter Nodes from a list of given files.