sig/lrama/grammar/rule_builder.rbs in lrama-0.6.5 vs sig/lrama/grammar/rule_builder.rbs in lrama-0.6.6

- old
+ new

@@ -13,14 +13,15 @@ @position_in_original_rule_rhs: Integer? @skip_preprocess_references: bool @user_code: Lexer::Token::UserCode? @rule_builders_for_parameterizing_rules: Array[RuleBuilder] @rule_builders_for_derived_rules: Array[RuleBuilder] + @rule_builders_for_inline_rules: Array[RuleBuilder] @rules: Array[Rule] @replaced_rhs: Array[Lexer::Token] @parameterizing_rules: Array[Rule] - @old_parameterizing_rules: Array[Rule] + @inline_rules: Array[Rule] @midrule_action_rules: Array[Rule] def initialize: (Counter rule_counter, Counter midrule_action_counter, ?Integer position_in_original_rule_rhs, ?lhs_tag: Lexer::Token::Tag?, ?skip_preprocess_references: bool) -> void def add_rhs: (Lexer::Token rhs) -> void def user_code=: (Lexer::Token::UserCode? user_code) -> void @@ -34,9 +35,12 @@ def freeze_rhs: () -> void def preprocess_references: () -> void def build_rules: () -> void def process_rhs: (Grammar::ParameterizingRule::Resolver parameterizing_rule_resolver) -> void def lhs_s_value: (Lexer::Token::InstantiateRule token, Grammar::Binding bindings) -> String + def resolve_inline: (Grammar::ParameterizingRule::Resolver parameterizing_rule_resolver) -> void + def resolve_inline_rhs: (RuleBuilder rule_builder, Grammar::ParameterizingRule::Rhs inline_rhs, Integer index) -> void + def replace_inline_user_code: (Grammar::ParameterizingRule::Rhs inline_rhs, Integer index) -> Lexer::Token::UserCode? def numberize_references: () -> void def flush_user_code: () -> void end end end