class RDoc::RubyToken::TkOPASGN
def ==(other)
def ==(other) self.class == other.class and other.line_no == @line_no and other.char_no == @char_no and other.op == @op end
def initialize(seek, line_no, char_no, op)
def initialize(seek, line_no, char_no, op) super(seek, line_no, char_no) op = TkReading2Token[op][0] unless op.kind_of?(Symbol) @op = op @text = nil end
def inspect # :nodoc:
def inspect # :nodoc: klass = self.class.name.split('::').last "{%s %d, %d:%d %p}" % [klass, @seek, @line_no, @char_no, @op] end
def text
def text @text ||= "#{TkToken2Reading[op]}=" end