Uses of Class
org.ek9lang.compiler.symbols.AggregateWithTraitsSymbol
Packages that use AggregateWithTraitsSymbol
Package
Description
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.
-
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.phase2
Methods in org.ek9lang.compiler.phase2 with parameters of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionvoid
NoDuplicatedTraitsOrError.accept
(AggregateWithTraitsSymbol aggregate) -
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.phase3
Methods in org.ek9lang.compiler.phase3 with parameters of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionvoid
AugmentAggregateWithTraitMethods.accept
(EK9Parser.TraitsListContext traitsListContext, AggregateWithTraitsSymbol aggregate) void
NoTraitByVariablesOrError.accept
(EK9Parser.TraitsListContext traitsListContext, AggregateWithTraitsSymbol aggregate) void
ResolveByTraitVariables.accept
(EK9Parser.TraitsListContext traitsListContext, AggregateWithTraitsSymbol aggregate) -
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return AggregateWithTraitsSymbolModifier and TypeMethodDescriptionAggregateFactory.newClass
(EK9Parser.ClassDeclarationContext ctx) Create a new aggregate that represents an EK9 class.SymbolFactory.newClass
(EK9Parser.ClassDeclarationContext ctx) Create a new aggregate that represents an EK9 class.AggregateFactory.newComponent
(EK9Parser.ComponentDeclarationContext ctx) Create a new aggregate that represents an EK9 component.SymbolFactory.newComponent
(EK9Parser.ComponentDeclarationContext ctx) Create a new aggregate that represents an EK9 component.AggregateFactory.newDynamicClass
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicClassDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic class.SymbolFactory.newDynamicClass
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicClassDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic class.AggregateFactory.newTrait
(EK9Parser.TraitDeclarationContext ctx) Create a new aggregate that represents an EK9 trait.SymbolFactory.newTrait
(EK9Parser.TraitDeclarationContext ctx) Create a new aggregate that represents an EK9 trait. -
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.symbols
Methods in org.ek9lang.compiler.symbols that return AggregateWithTraitsSymbolModifier and TypeMethodDescriptionprotected AggregateWithTraitsSymbol
AggregateWithTraitsSymbol.cloneIntoAggregateWithTraitsSymbol
(AggregateWithTraitsSymbol newCopy) Methods in org.ek9lang.compiler.symbols that return types with arguments of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionAggregateWithTraitsSymbol.getAllExtensionConstrainedTraits()
Gets all traits this class implements directly or indirectly through supers that have constraints upon them.default List
<AggregateWithTraitsSymbol> IAggregateSymbol.getAllExtensionConstrainedTraits()
AggregateSymbol.getAllTraits()
AggregateWithTraitsSymbol.getAllTraits()
Get all the traits this aggregate implements - this means all the traits any of these traits extends.default List
<AggregateWithTraitsSymbol> IAggregateSymbol.getAllTraits()
Methods in org.ek9lang.compiler.symbols with parameters of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionvoid
AggregateWithTraitsSymbol.addTrait
(AggregateWithTraitsSymbol traitSymbol) mark this aggregate as having additional 'trait'.protected AggregateWithTraitsSymbol
AggregateWithTraitsSymbol.cloneIntoAggregateWithTraitsSymbol
(AggregateWithTraitsSymbol newCopy) Method parameters in org.ek9lang.compiler.symbols with type arguments of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionprotected void
AggregateSymbol.addTraitsIfNotPresent
(List<AggregateWithTraitsSymbol> exiting, List<AggregateWithTraitsSymbol> additions)