Uses of Enum Class
org.ek9lang.compiler.symbols.SymbolGenus
Packages that use SymbolGenus
Package
Description
Common parts of processing that can be reused across various phases.
F - Resolution of Explicitly Defined Type Symbols - at this point phase3 processing should have defined
most of the explicitly defined symbols, so they should be resolvable.
G - Full Symbol Resolution can now take place.
K - Intermediate Representation Generation.
Synthetic operator and method generation for EK9.
Contains critical general components used in the
Ek9Compiler listeners.
This is the main source of EK9 Symbols used within the compiler.
-
Uses of SymbolGenus in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common with parameters of type SymbolGenusModifier and TypeMethodDescriptionMethodAccessModifierRules.visibilityViolation(SymbolGenus genus, String accessModifier, boolean isOverride, boolean aggregateIsOpen, boolean isConstructor, boolean isOperator) Determine whether a method/operator/constructor of the given shape may carry the supplied access modifier within an aggregate of the given genus. -
Uses of SymbolGenus in org.ek9lang.compiler.phase2
Constructors in org.ek9lang.compiler.phase2 with parameters of type SymbolGenusModifierConstructorDescription(package private)SuitableGenusOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, SymbolGenus genus, boolean allowTemplates, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable genus.(package private)SuitableToExtendOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, SymbolGenus genus, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable to be extended from.Constructor parameters in org.ek9lang.compiler.phase2 with type arguments of type SymbolGenusModifierConstructorDescriptionSuitableGenusOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, List<SymbolGenus> genus, boolean allowTemplates, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable genus.SuitableToExtendOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, List<SymbolGenus> genus, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable to be extended from. -
Uses of SymbolGenus in org.ek9lang.compiler.phase3
Constructors in org.ek9lang.compiler.phase3 with parameters of type SymbolGenusModifierConstructorDescription(package private)GenusLocator(SymbolsAndScopes symbolsAndScopes, SymbolGenus genusRequired) -
Uses of SymbolGenus in org.ek9lang.compiler.phase7
Constructors in org.ek9lang.compiler.phase7 with parameters of type SymbolGenusModifierConstructorDescription(package private)AggregateDfnGenerator(IRGenerationContext stackContext, SymbolGenus forGenus) -
Uses of SymbolGenus in org.ek9lang.compiler.phase7.synthesis
Fields in org.ek9lang.compiler.phase7.synthesis with type parameters of type SymbolGenusModifier and TypeFieldDescriptionstatic final Set<SymbolGenus> FieldSetStatusSymbolGenerator.FIELD_SET_STATUS_GENUSESConstruct genuses whose IR generators emit_fieldSetStatus. -
Uses of SymbolGenus in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return types with arguments of type SymbolGenusModifier and TypeMethodDescriptionMetricLimit.GenusLimit.byGenus()Returns the value of thebyGenusrecord component.MetricLimit.GenusLimit.exempt()Returns the value of theexemptrecord component.Methods in org.ek9lang.compiler.support with parameters of type SymbolGenusModifier and TypeMethodDescriptionbooleanMetricLimit.GenusLimit.isOver(double value, SymbolGenus genus) Fractional overload — construct coupling (E11015) is a fractional score oncebydelegation is weighted at 0.5, so the fire predicate compares a double against the integer limit.booleanMetricLimit.GenusLimit.isOver(int value, SymbolGenus genus) The exact predicate the checker uses to fire — false for exempt genera.MetricLimit.GenusLimit.limitFor(SymbolGenus genus) The effective limit for a genus, or empty when the genus is exempt from this metric entirely.MetricLimit.GenusLimit.usableMaxFor(SymbolGenus genus) The "one more crosses" boundary for a genus, or empty when exempt.Constructor parameters in org.ek9lang.compiler.support with type arguments of type SymbolGenusModifierConstructorDescriptionGenusLimit(String metricKey, String ruleCode, MetricLimit.Comparison comparison, Map<SymbolGenus, Integer> byGenus, int fallback, Set<SymbolGenus> exempt) Creates an instance of aGenusLimitrecord class.GenusLimit(String metricKey, String ruleCode, MetricLimit.Comparison comparison, Map<SymbolGenus, Integer> byGenus, int fallback, Set<SymbolGenus> exempt) Creates an instance of aGenusLimitrecord class. -
Uses of SymbolGenus in org.ek9lang.compiler.symbols
Subclasses with type arguments of type SymbolGenus in org.ek9lang.compiler.symbolsModifier and TypeClassDescriptionenumTypically, used on aggregates because we might use a AggregateSymbol.Methods in org.ek9lang.compiler.symbols that return SymbolGenusModifier and TypeMethodDescriptionISymbolNature.getGenus()Symbol.getGenus()static SymbolGenusReturns the enum constant of this class with the specified name.static SymbolGenus[]SymbolGenus.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.ek9lang.compiler.symbols with parameters of type SymbolGenusModifier and TypeMethodDescriptionvoidISymbolNature.setGenus(SymbolGenus genus) voidSymbol.setGenus(SymbolGenus genus)