struct

Pratt::Token

Inherits Struct < Value < Object

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

Constructors

new(m_type : Pratt::TokenType::Type, m_text : String)
Source

Instance methods

m_text
Source
m_text=(m_text : String)
Source
m_type
Source
m_type=(m_type : TokenType::Type)
Source