class RDoc::RubyToken::Token
def ==(other)
def ==(other) self.class == other.class and other.line_no == @line_no and other.char_no == @char_no and other.text == @text end
def initialize(seek, line_no, char_no, text = nil)
def initialize(seek, line_no, char_no, text = nil) @seek = seek @line_no = line_no @char_no = char_no @text = text end
def inspect # :nodoc:
def inspect # :nodoc: klass = self.class.name.split('::').last "{%s %d, %d:%d %p}" % [klass, @seek, @line_no, @char_no, @text] end
def set_text(text)
def set_text(text) @text = text self end