class Tartrazine::DelegatingTokenizer

Overview

This Tokenizer works with a DelegatingLexer. It first tokenizes using the language lexer, and "Other" tokens are tokenized using the root lexer.

Included Modules

Defined in:

lexer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(lexer : DelegatingLexer, text : String, secondary = false) #

[View source]

Instance Method Detail

def next : Iterator::Stop | Token #
Description copied from module Iterator({type: String, value: String})

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


[View source]