Sha256: ff0617543b130c2e5d473725de8c66e5858e55a19351dd4c36876ba067ed7d24

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

module Lrama
  class Grammar
    class ErrorToken
      attr_accessor ident_or_tags: Array[Lexer::Token::Ident | Lexer::Token::Tag]
      attr_accessor token_code: Grammar::Code
      attr_accessor lineno: Integer

      def initialize: (?ident_or_tags: Array[Lexer::Token::Ident|Lexer::Token::Tag], ?token_code: Grammar::Code, ?lineno: Integer) -> void

      def translated_code: (Lexer::Token::Tag tag) -> String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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