class

Obelisk::ConditionalTokenIterator

Inherits Iterator < Enumerable < Reference < Object

Token iterator for conditional lexer with context awareness

Constructors

new(lexer : ConditionalLexer, text : String, context_manager : ContextManager)
Source

Instance methods

next

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

Source