class

Obelisk::TokenTransformIterator

Inherits Iterator < Enumerable < Reference < Object

Iterator that transforms tokens through another lexer

Constructors

new(source : TokenIterator, lexer : Lexer)
Source

Instance methods

next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

Source