Class RDoc::Token
In: parsers/parse_f95.rb
Parent: Object

Methods

new   set_text  

Public Class methods

[Source]

     # File parsers/parse_f95.rb, line 523
523:     def initialize(line_no, char_no)
524:       @line_no = line_no
525:       @char_no = char_no
526:       @text    = NO_TEXT
527:     end

Public Instance methods

Because we‘re used in contexts that expect to return a token, we set the text string and then return ourselves

[Source]

     # File parsers/parse_f95.rb, line 530
530:     def set_text(text)
531:       @text = text
532:       self
533:     end

[Validate]