mirror of
https://github.com/hanzoai/ast.git
synced 2026-11-02 19:28:21 +00:00
28 lines
299 B
JavaScript
28 lines
299 B
JavaScript
module.exports = grammar({
|
|
name: 'unused_rules',
|
|
|
|
rules: {
|
|
a: $ => seq($.d, $.h),
|
|
|
|
b: _ => 'B',
|
|
|
|
c: _ => 'C',
|
|
|
|
d: $ => seq($.e, $.f),
|
|
|
|
e: _ => 'E',
|
|
|
|
f: _ => 'F',
|
|
|
|
g: _ => 'G',
|
|
|
|
h: $ => seq($.i, $.j),
|
|
|
|
i: _ => 'I',
|
|
|
|
j: _ => 'J',
|
|
|
|
k: _ => 'K',
|
|
},
|
|
});
|