class

Obelisk::RegexTokenIterator

Inherits Iterator < Enumerable < Reference < Object

Token iterator for regex lexers

Constructors

new(lexer : RegexLexer, text : String)
Source

Instance methods

next

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

Source