In Files

  • rdoc/parser/f95.rb

Parent

Methods

Files

Class/Module Index [+]

Quicksearch

RDoc::Parser::F95::Token

Constants

NO_TEXT

Attributes

char_no[R]
line_no[R]
text[R]

Public Class Methods

new(line_no, char_no) click to toggle source
 
               # File rdoc/parser/f95.rb, line 163
def initialize(line_no, char_no)
  @line_no = line_no
  @char_no = char_no
  @text    = NO_TEXT
end
            

Public Instance Methods

set_text(text) click to toggle source

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

 
               # File rdoc/parser/f95.rb, line 170
def set_text(text)
  @text = text
  self
end