Sha256: 32ecfaf7f1aa420695430ac6eca8807111f06944fc9f9e1f1b486a776ac41903

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

module Lrama
  class Lexer
    class Token
      attr_accessor s_value: String
      attr_accessor alias_name: String
      attr_accessor location: Location
      attr_accessor referred: bool

      def initialize: (?s_value: String, ?alias_name: String, ?location: Location) -> void

      def to_s: () -> String
      def referred_by?: (String string) -> bool
      def ==: (Token other) -> bool
      def first_line: () -> Integer
      def first_column: () -> Integer
      def last_line: () -> Integer
      def last_column: () -> Integer
      alias line first_line
      alias column first_column
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lrama-0.5.10 sig/lrama/lexer/token.rbs