struct Pratt::Token

Overview

A simple token class. These are generated by Lexer and consumed by Parser.

Defined in:

token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(m_type : Pratt::TokenType::Type, m_text : String) #

[View source]

Instance Method Detail

def m_text : String #

[View source]
def m_text=(m_text : String) #

[View source]
def m_type : TokenType::Type #

[View source]
def m_type=(m_type : TokenType::Type) #

[View source]