Skip to content

Commit

Permalink
fix(tree-sitter-kotlin/grammar.js): remove unecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-ley-scrub committed Jan 6, 2025
1 parent 62e5ec8 commit 3b99c9c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions resources/language-metavariables/tree-sitter-kotlin/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,6 @@ module.exports = grammar({
[$._declaration, $.simple_identifier],
[$._primary_expression, $.simple_identifier],
[$._declaration, $._primary_expression, $.simple_identifier],
// [$._statement, $._literal_constant],
// [$.value_arguments, $._literal_constant],
// [$._literal_constant, $._lexical_identifier],
// [$._statement, $._literal_constant, $._lexical_identifier],
// [$.value_arguments, $._literal_constant, $._lexical_identifier],
// [$.function_value_parameters, $._lexical_identifier],
],

externals: $ => [
Expand Down Expand Up @@ -780,8 +774,6 @@ module.exports = grammar({
$.unsigned_literal,
),

// Patch the metavariable grammar to include $.grit_metavariable anywhere we want to substitute a metavariable.
// This is usually at least $identifier and $literal.
string_literal: $ => seq(
$._string_start,
field('fragment',
Expand Down Expand Up @@ -1111,8 +1103,6 @@ module.exports = grammar({
// Identifiers
// ==========

// Patch the metavariable grammar to include $.grit_metavariable anywhere we want to substitute a metavariable.
// This is usually at least $identifier and $literal.
simple_identifier: $ => choice(
$.grit_metavariable,
$._lexical_identifier,
Expand Down

0 comments on commit 3b99c9c

Please sign in to comment.