tree-sitter.tree-sitter/test/fixtures/test_grammars/next_sibling_from_zwt/grammar.js
2025-01-10 22:57:54 -05:00

22 lines
255 B
JavaScript

module.exports = grammar({
name: "next_sibling_from_zwt",
extras: $ => [
/\s|\\\r?\n/,
],
rules: {
source: $ => seq(
'a',
$._bc,
'd',
'e',
'f',
),
_bc: $ => seq(
'b',
'c',
),
}
});