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


Class methods#

.new #

View source


#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