class CLTK::Parser::Exceptions::HandledError

Overview

An error of this type is raised when the parser encountered a error that was handled by an error production.

Defined in:

cltk/parser/exceptions/handled_error_exception.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Class Method Detail

def self.new(errors : Array(CLTK::Type), result : CLTK::Type) #

[View source]

Instance Method Detail

def errors : Array(CLTK::Type) #

The errors as reported by the parser.

@return [Array<Object>]


[View source]
def result : CLTK::Type #

The result that would have been returned by the call to parse.


[View source]