method
lex
v1_9_1_378 -
Show latest stable
- Class:
RDoc::RubyLex
lex()public
No documentation available.
# File lib/rdoc/parser/ruby.rb, line 523
def lex
until (TkNL === (tk = token) or TkEND_OF_SCRIPT === tk) and
not @continue or tk.nil?
end
line = get_read
if line == "" and TkEND_OF_SCRIPT === tk or tk.nil? then
nil
else
line
end
end