class Therapy::SubContext(T, V, PARENT)

Defined in:

therapy/parse_context.cr

Constructors

Instance Method Summary

Instance methods inherited from class Therapy::ParseContext(T, V)

add_error(msg : String) add_error, errors errors, full_path : Array(String | Int32) full_path, map(&block : V -> X) : ParseContext(T, X) forall X map, map_result(&block : V -> Result(X)) : ParseContext(T, V) | ParseContext(T, X) forall X map_result, to_result : Result(T) to_result, value : V value, value=(value : V) value=

Constructor methods inherited from class Therapy::ParseContext(T, V)

new(value : V) new

Constructor Detail

def self.new(parent : PARENT, value, path : Int32 | String | Symbol) #

[View source]

Instance Method Detail

def full_path : Array(String | Int32) #

[View source]
def path : String | Symbol | Int32 #

[View source]
def path=(path : String | Symbol | Int32) #

[View source]
def value : V #

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

[View source]