class Rubocop::Cop::Token
def initialize(pos, type, text)
def initialize(pos, type, text) @pos, @type, @text = Position.new(*pos), type, text end
def to_s
def to_s "[[#{@pos.lineno}, #{@pos.column}], #@type, #{@text.inspect}]" end
def initialize(pos, type, text) @pos, @type, @text = Position.new(*pos), type, text end
def to_s "[[#{@pos.lineno}, #{@pos.column}], #@type, #{@text.inspect}]" end