Uses of Package
org.ek9lang.compiler.phase7
Packages that use org.ek9lang.compiler.phase7
-
Classes in org.ek9lang.compiler.phase7 used by org.ek9lang.compiler.phase7ClassDescriptionActs as a base for the main construct definitions.Common code of Aggregate Construct types.The instructions every part of a constrained type's generation shares (
ConstraintLowering,ConstrainedConstruction,ConstrainedDelegation): the delegate and_viablefield loads and stores, the base value's copy, the_isSetof a base value and the call metadata of the base and constrained constructors.THE description of the constrained type being generated, built once per type byConstrainedTypeDfnGeneratorand read by its three parts (ConstraintLowering,ConstrainedConstruction,ConstrainedDelegation) - never mutable per-type state on a generator.THE lowering of a constrained type'sconstrain asexpression (DFN-3): the Panicking check a value handed in must pass (ConstraintLowering.emitConstraintCheck(List, String, String, DebugInfo)), its non-throwing twin that records viability (ConstraintLowering.emitViabilityCheck(List, String, String, DebugInfo)), and the walk of the constraint's parse tree to a Boolean (ConstraintLowering.walkConstraint(EK9Parser.ConstrainTypeContext, String, List, String, DebugInfo)).The three monomorphization scenarios.Shared utilities for Scenario 2 wrapper IR generation.THE choice of the two calls a wrapper makes on its delegate to reach the contained value: the presence check and the accessor, which differ between Optional (_isSet/get) and Result (isOk/ok, orisError/errorforwhenError).