Uses of Class
org.ek9lang.compiler.symbols.AggregateWithTraitsSymbol
Packages that use AggregateWithTraitsSymbol
Package
Description
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.
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
Classes in org.ek9lang.compiler.phase2 that implement interfaces with type arguments of type AggregateWithTraitsSymbolModifier and TypeClassDescription(package private) final classChecks for duplicated trait names on an aggregate.Methods in org.ek9lang.compiler.phase2 with parameters of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionvoidNoDuplicatedTraitsOrError.accept(AggregateWithTraitsSymbol aggregate) -
Uses of AggregateWithTraitsSymbol in org.ek9lang.compiler.phase3
Classes in org.ek9lang.compiler.phase3 that implement interfaces with type arguments of type AggregateWithTraitsSymbolModifier and TypeClassDescription(package private) final classDesigned to add in methods on the aggregate where the 'traits' use is 'traits by'.(package private) final classUsed where traits are implemented 'by' a variable.(package private) final classUsed where traits are implemented 'by' a variable.Methods in org.ek9lang.compiler.phase3 with parameters of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionvoidAugmentAggregateWithTraitMethods.accept(EK9Parser.TraitsListContext traitsListContext, AggregateWithTraitsSymbol aggregate) voidNoTraitByVariablesOrError.accept(EK9Parser.TraitsListContext traitsListContext, AggregateWithTraitsSymbol aggregate) voidResolveByTraitVariables.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 AggregateWithTraitsSymbolAggregateWithTraitsSymbol.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 TypeMethodDescriptionvoidAggregateWithTraitsSymbol.addTrait(AggregateWithTraitsSymbol traitSymbol) mark this aggregate as having additional 'trait'.protected AggregateWithTraitsSymbolAggregateWithTraitsSymbol.cloneIntoAggregateWithTraitsSymbol(AggregateWithTraitsSymbol newCopy) Method parameters in org.ek9lang.compiler.symbols with type arguments of type AggregateWithTraitsSymbolModifier and TypeMethodDescriptionprotected voidAggregateSymbol.addTraitsIfNotPresent(List<AggregateWithTraitsSymbol> exiting, List<AggregateWithTraitsSymbol> additions)