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