Sha256: 1b0283b7cc6af878e7f5b30eab3a0d70a589ae14b2b181afe2dd97618ecacbae

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

module Lrama
  class Grammar
    class Code
      class RuleAction < Code
        @rule: Rule

        def initialize: (type: ::Symbol, token_code: Grammar::Code, rule: Rule) -> void

        private

        def reference_to_c: (Reference ref) -> String
        def position_in_rhs: () -> Integer
        def rhs: () -> Array[Grammar::Symbol]
        def lhs: () -> Grammar::Symbol
        def raise_tag_not_found_error: (Reference ref) -> bot
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lrama-0.7.0 sig/lrama/grammar/code/rule_action.rbs
lrama-0.6.11 sig/lrama/grammar/code/rule_action.rbs
lrama-0.6.10 sig/lrama/grammar/code/rule_action.rbs