class Amber::Schema::Parser::Context

Overview

Parser context with access to full data and schema

Defined in:

amber/schema/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Hash(String, JSON::Any), schema : Definition) #

[View source]

Instance Method Detail

def add_error(error : Error) #

[View source]
def data : Hash(String, JSON::Any) #

[View source]
def errors : Array(Error) #

[View source]
def has_errors? #

[View source]
def schema : Definition #

[View source]