Uses of Package
org.ek9lang.compiler.support
Package
Description
Common parts of processing that can be reused across various phases.
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
F - Resolution of Explicitly Defined Type Symbols - at this point phase1 processing should have defined
most of the explicitly defined symbols, so they should be resolvable.
G - Full Symbol Resolution can now take place.
Contains critical general components used in the
Ek9Compiler
listeners.
This is the main source of EK9 Symbols used within the compiler.
-
ClassDescriptionGeneral utility class that searches in a scope for a symbol to check for duplicates.Can be used for a single Simple named search.
-
-
ClassDescriptionSupport for taking one aggregate and manipulating the methods and the like to be applied to another aggregate.Just a factory for all types of EK9 symbol.
-
ClassDescriptionEnsures that a try statement/expression is used correctly in or out of an expression.Just a factory for all types of EK9 symbol.
-
ClassDescriptionSupport for taking one aggregate and manipulating the methods and the like to be applied to another aggregate.Just for details that are common to all factories.For use when looking to find common types.Fixed set of constants that tend to be used to 'squirrel' away data - these are the keys.Used to model the scenario where a generic type has another dependent generic type used within it.To be used when trying to define/resolve a parameterised type.Just holds a simple set of lists with the appropriate type arguments and their corresponding parameterizing parameters.This is a sort of hybrid resolver or definer function.Used as an abstract base for parameterised types.Just a factory for all types of EK9 symbol.Can be used for a single Simple named search.Holds the coercions we can make from and to on types.
-
ClassDescriptionFixed set of constants that tend to be used to 'squirrel' away data - these are the keys.General utility class that searches in a scope for a symbol to check for duplicates.