Add supertypes
This commit is contained in:
parent
60f2783804
commit
7478c62b24
|
@ -47,6 +47,12 @@ module.exports = grammar({
|
||||||
/\\?\s/,
|
/\\?\s/,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
supertypes: $ => [
|
||||||
|
$._statement,
|
||||||
|
$._expression,
|
||||||
|
$._primary_expression,
|
||||||
|
],
|
||||||
|
|
||||||
word: $ => $.word,
|
word: $ => $.word,
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
|
|
|
@ -2505,6 +2505,10 @@
|
||||||
"_simple_variable_name",
|
"_simple_variable_name",
|
||||||
"_special_variable_name"
|
"_special_variable_name"
|
||||||
],
|
],
|
||||||
"supertypes": []
|
"supertypes": [
|
||||||
|
"_statement",
|
||||||
|
"_expression",
|
||||||
|
"_primary_expression"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue