From 3b99c9c72291a658fa8308907b15367cff6b915a Mon Sep 17 00:00:00 2001 From: Alex Ley Date: Fri, 15 Nov 2024 01:43:45 +0000 Subject: [PATCH] fix(tree-sitter-kotlin/grammar.js): remove unecessary comments --- .../tree-sitter-kotlin/grammar.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/resources/language-metavariables/tree-sitter-kotlin/grammar.js b/resources/language-metavariables/tree-sitter-kotlin/grammar.js index cf3bda15d..9d7b4047d 100644 --- a/resources/language-metavariables/tree-sitter-kotlin/grammar.js +++ b/resources/language-metavariables/tree-sitter-kotlin/grammar.js @@ -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: $ => [ @@ -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', @@ -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,