Method: RBS::Parser::Token#initialize

Defined in:
lib/rbs/parser/token.rb

#initialize(type:, location:) ⇒ Token

Returns a new instance of Token.



9
10
11
12
# File 'lib/rbs/parser/token.rb', line 9

def initialize(type:, location:)
  @type = type
  @location = location
end