sig/lrama/grammar/parameterizing_rule/resolver.rbs in lrama-0.6.9 vs sig/lrama/grammar/parameterizing_rule/resolver.rbs in lrama-0.6.10
- old
+ new
@@ -1,14 +1,15 @@
module Lrama
class Grammar
class ParameterizingRule
class Resolver
+ attr_accessor rules: Array[Grammar::ParameterizingRule::Rule]
attr_accessor created_lhs_list: Array[Lexer::Token]
@rules: Array[Grammar::ParameterizingRule::Rule]
def initialize: () -> void
- def add_parameterizing_rule: (Grammar::ParameterizingRule::Rule rule) -> void
+ def add_parameterizing_rule: (Grammar::ParameterizingRule::Rule rule) -> Array[Grammar::ParameterizingRule::Rule]
def find_rule: (Lexer::Token::InstantiateRule token) -> Grammar::ParameterizingRule::Rule?
def find_inline: (Lexer::Token token) -> Grammar::ParameterizingRule::Rule?
def created_lhs: (String lhs_s_value) -> Lexer::Token?
private