class Magiika::MatchResult

Defined in:

misc/match_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(matched : Bool = true, errors : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def add_error(error : String) #

[View source]
def defer_raise : Error::InternalMatchFail | Nil #

[View source]
def errors #

[View source]
def errors? : Array(String) | Nil #

[View source]
def has_errors? : Bool #

[View source]
def matched? #

[View source]
def merge!(other : MatchResult) #

[View source]
def raise : Nil #

[View source]