tree: 95679d5e246bf45112a103f447a7568e8698a3ed [path history] [tgz]
  1. Rust/
  2. Swift/
  3. CMakeLists.txt
  4. README.md
  5. TreeSitterHighlighter.cpp
  6. TreeSitterHighlighter.h
lldb/source/Plugins/Highlighter/TreeSitter/README.md

Tree-sitter Syntax Highlighting

This directory contains Highlighter plugins that use Tree-sitter.

Each plugin contains a vendored copy of the corresponding grammar in the tree-sitter-<language> sub-directory, consisting of the following files:

  • grammar.js: the grammar used by the Tree-sitter command line tool to generate the parser.
  • highlights.scm: the syntax highlight query.
  • scanner.c: an optional scanner.
  • LICENSE: the license for the grammar.

Supported Languages