Athena::Serializer::Context
Stores runtime data about the current action.
Such as what serialization groups/version to use when serializing.
!!!warning Cannot be used for more than one action.
Instance methods
add_exclusion_strategy(strategy : ASR::ExclusionStrategies::ExclusionStrategyInterface) : self
Adds strategy to self.
exclusion_strategyis set to strategy if there previously was no strategy.exclusion_strategyis set toASR::ExclusionStrategies::Disjunctif there was aexclusion_strategyalready set.- strategy is added to the
ASR::ExclusionStrategies::Disjunctif there are multiple strategies.
Sets the group(s) to compare against properties' ASRA::Groups annotations.
Adds a ASR::ExclusionStrategies::Groups automatically if set.