struct

Fexpr::TokenResult

Inherits Struct < Value < Object

Represents the result of scanning a token, including any error information.

Constructors

new(token : Token, message : String | Nil = nil)
Source

Instance methods

error?

Returns true if an error occurred during scanning.

Source
message
Source
message=(message : String | Nil)
Source
token
Source
token=(token : Token)
Source