struct

Fexpr::Token

Inherits Struct < Value < Object

Represents a single token in the input stream with its type and literal value.

Constructors

new(type : TokenType, literal : String)
Source

Instance methods

literal
Source
literal=(literal : String)
Source
type
Source
type=(type : TokenType)
Source