Sha256: a1ffe5805f6a62fcdebab68cdef644e89b301ebae135b7a65d3045796cf09f88

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

module Lrama
  class Grammar
    class Binding
      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

      def initialize: (Grammar::ParameterizingRule::Rule parameterizing_rule, Array[Lexer::Token] actual_args) -> void
      def resolve_symbol: (Lexer::Token symbol) -> Lexer::Token
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lrama-0.6.3 sig/lrama/grammar/binding.rbs
lrama-0.6.2 sig/lrama/grammar/binding.rbs
lrama-0.6.1 sig/lrama/grammar/binding.rbs