Sha256: bfb4901f26129aa34ee1fd67fb7443a43de69d7c16e9804916a76f13768eb9d6

Contents?: true

Size: 448 Bytes

Versions: 6

Compression:

Stored size: 448 Bytes

Contents

module Lrama
  class Grammar
    class Binding
      attr_reader actual_args: Array[Lexer::Token]
      attr_reader count: Integer

      @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

6 entries across 6 versions & 1 rubygems

Version Path
lrama-0.6.9 sig/lrama/grammar/binding.rbs
lrama-0.6.8 sig/lrama/grammar/binding.rbs
lrama-0.6.7 sig/lrama/grammar/binding.rbs
lrama-0.6.6 sig/lrama/grammar/binding.rbs
lrama-0.6.5 sig/lrama/grammar/binding.rbs
lrama-0.6.4 sig/lrama/grammar/binding.rbs