In Files

Parent

Files

ParseComment

Read and consume tokens in comments until a new line.

Public Instance Methods

count_tokens?() click to toggle source

While in a comment state do not count the tokens.

# File lib/saikuro.rb, line 392
def count_tokens?
  false
end
parse_token(token) click to toggle source
# File lib/saikuro.rb, line 396
def parse_token(token)
  if token.is_a?(TkNL)
    @lines += 1
    @run = false
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.