Object
Returned on successful tokenizing of the input stream. Supports iteration by including Enumerable, so it can be passed in directly to the parser.
# File lib/dhaka/tokenizer/tokenizer.rb, line 10 def initialize(tokens) @tokens = tokens end
# File lib/dhaka/tokenizer/tokenizer.rb, line 19 def each(&block) @tokens.each(&block) end
Returns false.
# File lib/dhaka/tokenizer/tokenizer.rb, line 15 def has_error? false end
[Validate]
Generated with the Darkfish Rdoc Generator 2.