class Pratt::Lexer

Included Modules

Defined in:

lexer.cr

Constructors

Instance Method Summary

Instance methods inherited from module Pratt::TokenType

punctuator(token : Type) : Char | Nil punctuator

Constructor Detail

def self.new(m_text : String) #

[View source]

Instance Method Detail

def next : Token #
Description copied from module Iterator(Pratt::Token)

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


[View source]