nvim-treesitter/queries/mlir/locals.scm
Ramkumar Ramachandra 5c4ea53070 parsers: add tree-sitter-mlir parser
The parser is currently in development, and 60-80% of MLIR files in the
test suite of MLIR, within the Arith, Math, SCF, Tensor, and Linalg
dialects parse successfully.
2023-03-14 01:50:12 +01:00

7 lines
170 B
Scheme

(region) @scope
(func_arg_list (value_use) @definition.var)
(block_arg_list (value_use) @definition.var)
(op_result (value_use) @definition.var)
(value_use) @reference