Therapy::ParseContext(T, V)
Inherits Reference < Object
Constructors
new(value : V, type : Therapy::BaseType(T), full_path : Array(Int32 | String) = [] of String | Int32)
SourceInstance methods
add_error(msg : String, path : Array(String | Int32) | Nil = nil)
Sourcedo_parse
Sourceerrors
Sourcefull_path
Sourcehas_subcontexts?
Sourceparse
Sourceresult_value
Sourcevalue
Sourcevalue=(value : V)
Sourcewith_subcontexts(parse : -> Nil, collect_errors : -> Array(Error), assemble : -> T | Nil) : self
Set subcontext handlers - called by container types when creating context