class Therapy::ParseContext(T, V)

Direct Known Subclasses

Defined in:

therapy/parse_context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : V) #

[View source]

Instance Method Detail

def add_error(msg : String) #

[View source]
def errors #

[View source]
def full_path : Array(String | Int32) #

[View source]
def map(&block : V -> X) : ParseContext(T, X) forall X #

[View source]
def map_result(&block : V -> Result(X)) : ParseContext(T, V) | ParseContext(T, X) forall X #

[View source]
def to_result : Result(T) #

[View source]
def value : V #

[View source]
def value=(value : V) #

[View source]