class Axal::Error::Syntax::UnexpectedToken

Defined in:

lang/error/syntax/unexpected_token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(current_token : Axal::Token, next_token : Axal::Token, expected_token_kind : Axal::TokenKind | Nil = nil) #

[View source]

Instance Method Detail

def current_token : Token #

[View source]
def expected_token_kind : TokenKind | Nil #

[View source]
def next_token : Token #

[View source]