sig/lrama/grammar/rule_builder.rbs in lrama-0.5.12 vs sig/lrama/grammar/rule_builder.rbs in lrama-0.6.0
- old
+ new
@@ -22,20 +22,18 @@
def initialize: (Counter rule_counter, Counter midrule_action_counter, ?Integer position_in_original_rule_rhs, ?skip_preprocess_references: bool) -> void
def add_rhs: (Lexer::Token rhs) -> void
def user_code=: (Lexer::Token::UserCode user_code) -> void
def precedence_sym=: (Lexer::Token user_code) -> void
def complete_input: () -> void
- def setup_rules: () -> void
- def parameterizing_rules: () -> Array[Rule]
- def midrule_action_rules: () -> Array[Rule]
+ def setup_rules: (Grammar::ParameterizingRuleResolver parameterizing_resolver) -> void
def rules: () -> Array[Rule]
private
def freeze_rhs: () -> void
def preprocess_references: () -> void
def build_rules: () -> void
- def process_rhs: () -> void
+ def process_rhs: (Grammar::ParameterizingRuleResolver parameterizing_resolver) -> void
def numberize_references: () -> void
def flush_user_code: () -> void
end
end
end