Uses of Class
org.ek9lang.compiler.symbols.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
Modifier and TypeMethodDescriptionvoid
NoDuplicatedTraitsOrError.accept
(AggregateWithTraitsSymbol aggregate) -
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.phase3
Modifier 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
Modifier and TypeMethodDescriptionSymbolFactory.newClass
(EK9Parser.ClassDeclarationContext ctx) Create a new aggregate that represents an EK9 class.SymbolFactory.newComponent
(EK9Parser.ComponentDeclarationContext ctx) Create a new aggregate that represents an EK9 component.SymbolFactory.newDynamicClass
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicClassDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic class.SymbolFactory.newTrait
(EK9Parser.TraitDeclarationContext ctx) Create a new aggregate that represents an EK9 trait. -
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.symbols
Modifier and TypeMethodDescriptionprotected AggregateWithTraitsSymbol
AggregateWithTraitsSymbol.cloneIntoAggregateWithTraitsSymbol
(AggregateWithTraitsSymbol newCopy) Modifier 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.IAggregateSymbol.getAllTraits()
Modifier and TypeMethodDescriptionvoid
AggregateWithTraitsSymbol.addTrait
(AggregateWithTraitsSymbol traitSymbol) mark this aggregate as having additional 'trait'.protected AggregateWithTraitsSymbol
AggregateWithTraitsSymbol.cloneIntoAggregateWithTraitsSymbol
(AggregateWithTraitsSymbol newCopy) Modifier and TypeMethodDescriptionprotected void
AggregateSymbol.addTraitsIfNotPresent
(List<AggregateWithTraitsSymbol> exiting, List<AggregateWithTraitsSymbol> additions)