From d67f7d256675f4ddb0a41a257dcf4411e7498882 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Wed, 14 Feb 2024 23:54:31 +0900 Subject: [PATCH] Remove unnecessary definitions from rbs --- sig/lrama/grammar/binding.rbs | 1 - sig/lrama/grammar/parameterizing_rule/resolver.rbs | 1 - sig/lrama/grammar/reference.rbs | 1 - 3 files changed, 3 deletions(-) diff --git a/sig/lrama/grammar/binding.rbs b/sig/lrama/grammar/binding.rbs index 64226381..817d7eb1 100644 --- a/sig/lrama/grammar/binding.rbs +++ b/sig/lrama/grammar/binding.rbs @@ -4,7 +4,6 @@ module Lrama attr_reader actual_args: Array[Lexer::Token] attr_reader count: Integer - @rule_name: String @required_parameters_count: Integer @parameters: Array[Lexer::Token] @parameter_to_arg: untyped diff --git a/sig/lrama/grammar/parameterizing_rule/resolver.rbs b/sig/lrama/grammar/parameterizing_rule/resolver.rbs index 45b8e0ab..8c646f39 100644 --- a/sig/lrama/grammar/parameterizing_rule/resolver.rbs +++ b/sig/lrama/grammar/parameterizing_rule/resolver.rbs @@ -8,7 +8,6 @@ module Lrama def initialize: () -> void def add_parameterizing_rule: (Grammar::ParameterizingRule::Rule rule) -> void - def defined?: (Lexer::Token::InstantiateRule token) -> bool def find: (Lexer::Token::InstantiateRule token) -> Grammar::ParameterizingRule::Rule? def created_lhs: (String lhs_s_value) -> Lexer::Token? diff --git a/sig/lrama/grammar/reference.rbs b/sig/lrama/grammar/reference.rbs index a27cbac9..d593ea65 100644 --- a/sig/lrama/grammar/reference.rbs +++ b/sig/lrama/grammar/reference.rbs @@ -17,7 +17,6 @@ module Lrama ) -> void def value: () -> (String|Integer) - def tag: () -> untyped end end end