class Ven::Suite::ReadError

Overview

The exception that is raised when the reader is given malformed or illegal input, or when the lexical analyzer receives invalid input.

Defined in:

ven/suite/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(lexeme : Nil | String, line : Int32, file : String, message) #

Initializes a lexical error.


[View source]
def self.new(word : Word, file : String, message) #

Initializes a reader error.


[View source]
def self.new(tag : QTag, message) #

Initializes a readtime error.


[View source]

Instance Method Detail

def file : String #

[View source]
def lexeme : String | Nil #

[View source]
def line : Int32 #

[View source]