Parent

Included Modules

Dhaka::TokenizerSuccessResult

Returned on successful tokenizing of the input stream. Supports iteration by including Enumerable, so it can be passed in directly to the parser.

Public Class Methods

new(tokens) click to toggle source
# File lib/dhaka/tokenizer/tokenizer.rb, line 10
def initialize(tokens)
  @tokens = tokens
end

Public Instance Methods

each(&block) click to toggle source
# File lib/dhaka/tokenizer/tokenizer.rb, line 19
def each(&block)
  @tokens.each(&block)
end
has_error?() click to toggle source

Returns false.

# File lib/dhaka/tokenizer/tokenizer.rb, line 15
def has_error?
  false
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.