Skip to content

struct Athena::Serializer::InstantiateObjectConstructor
inherits Struct #

Default ASR::ObjectConstructorInterface implementation.

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

Included modules

Athena::Serializer::ObjectConstructorInterface

Constructors#

Methods#

#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

#initialize#

View source