Sha256: 3ea2751123a3869142c7759392ad6fae300d92a38cf3e5173c70230d0ec4c651

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

module Lrama
  class Grammar
    class Reference
      attr_accessor type: Symbol
      attr_accessor name: String
      attr_accessor index: Integer
      attr_accessor ex_tag: Lexer::Token?
      attr_accessor first_column: Integer
      attr_accessor last_column: Integer
      attr_accessor position_in_rhs: Integer?

      def initialize: (
        type: Symbol, ?name: String, ?index: Integer, ?ex_tag: Lexer::Token?,
        first_column: Integer, last_column: Integer,
        ?position_in_rhs: Integer?
      ) -> void

      def value: () -> (String|Integer)
      def tag: () -> untyped
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lrama-0.5.10 sig/lrama/grammar/reference.rbs