struct Athena::Serializer::InstantiateObjectConstructor

Overview

Default ASR::ObjectConstructorInterface implementation.

Directly instantiates the object via a custom initializer added by ASR::Serializable.

Included Modules

Defined in:

construction/instantiate_object_constructor.cr

Constructors

Instance Method Summary

Instance methods inherited from module Athena::Serializer::ObjectConstructorInterface

construct(navigator : ASR::Navigators::DeserializationNavigatorInterface, properties : Array(PropertyMetadataBase), data : ASR::Any, type) construct

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def construct(navigator : ASR::Navigators::DeserializationNavigatorInterface, properties : Array(PropertyMetadataBase), data : ASR::Any, type) #

Creates an instance of type and applies the provided properties onto it, with the provided data.


[View source]
def initialize #

[View source]