class RDoc::RubyToken::TkVal

def ==(other)

def ==(other)
  self.class == other.class and
  other.line_no == @line_no and
  other.char_no == @char_no and
  other.value == @value
end

def initialize(seek, line_no, char_no, value = nil)

def initialize(seek, line_no, char_no, value = nil)
  super(seek, line_no, char_no)
  @value = value
end

def inspect # :nodoc:

:nodoc:
def inspect # :nodoc:
  klass = self.class.name.split('::').last
  "{%s %s, %d:%d %p}" % [klass, @seek, @line_no, @char_no, @value]
end

def set_text text

def set_text text
  @value = text
  self
end