Sha256: 634f73ec2eba4befe543748cc1c09894a66ee713679f221bcba95a8ee2565169

Contents?: true

Size: 283 Bytes

Versions: 12

Compression:

Stored size: 283 Bytes

Contents

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lrama-0.6.9 sig/lrama/grammar/error_token.rbs
lrama-0.6.8 sig/lrama/grammar/error_token.rbs
lrama-0.6.7 sig/lrama/grammar/error_token.rbs
lrama-0.6.6 sig/lrama/grammar/error_token.rbs
lrama-0.6.5 sig/lrama/grammar/error_token.rbs
lrama-0.6.4 sig/lrama/grammar/error_token.rbs
lrama-0.6.3 sig/lrama/grammar/error_token.rbs
lrama-0.6.2 sig/lrama/grammar/error_token.rbs
lrama-0.6.1 sig/lrama/grammar/error_token.rbs
lrama-0.6.0 sig/lrama/grammar/error_token.rbs
lrama-0.5.12 sig/lrama/grammar/error_token.rbs
lrama-0.5.11 sig/lrama/grammar/error_token.rbs