Uses of Class
org.ek9lang.compiler.symbols.FunctionSymbol
Packages that use FunctionSymbol
Package
Description
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.
-
Uses of FunctionSymbol in org.ek9lang.compiler.phase1
Classes in org.ek9lang.compiler.phase1 that implement interfaces with type arguments of type FunctionSymbolModifier and TypeClassDescription(package private) final class
Checks if the body of a function is appropriate.Methods in org.ek9lang.compiler.phase1 with parameters of type FunctionSymbolModifier and TypeMethodDescriptionvoid
AppropriateFunctionBodyOrError.accept
(FunctionSymbol functionSymbol, EK9Parser.OperationDetailsContext ctx) -
Uses of FunctionSymbol in org.ek9lang.compiler.phase2
Classes in org.ek9lang.compiler.phase2 that implement interfaces with type arguments of type FunctionSymbolModifier and TypeClassDescription(package private) final class
Looks at the function and if it has no super function, attempts to work out what would be the best super function generic type it could implement.Methods in org.ek9lang.compiler.phase2 with parameters of type FunctionSymbol -
Uses of FunctionSymbol in org.ek9lang.compiler.phase3
Classes in org.ek9lang.compiler.phase3 that implement interfaces with type arguments of type FunctionSymbolModifier and TypeClassDescription(package private) final class
Check is the data passed in enabled a delegate function to be resolved and if so return that Function.(package private) final class
Checks that the function correctly overrides the signature if it has a super.(package private) final class
Check for valid function parameters.(package private) final class
(package private) final class
Checks if a function extends another function and if it is abstract.Methods in org.ek9lang.compiler.phase3 that return FunctionSymbolModifier and TypeMethodDescriptionFunctionDelegateOrError.apply
(DelegateFunctionData data) ResolveFunctionOrError.apply
(FunctionData functionData) FunctionData.function()
Returns the value of thefunction
record component.StreamFunctionCheckData.functionSymbol()
Returns the value of thefunctionSymbol
record component.Methods in org.ek9lang.compiler.phase3 that return types with arguments of type FunctionSymbolMethods in org.ek9lang.compiler.phase3 with parameters of type FunctionSymbolModifier and TypeMethodDescriptionvoid
FunctionOverridesOrError.accept
(FunctionSymbol functionSymbol) void
ValidFunctionAbstractnessOrError.accept
(FunctionSymbol functionSymbol) Constructors in org.ek9lang.compiler.phase3 with parameters of type FunctionSymbolModifierConstructorDescription(package private)
FunctionData
(IToken token, FunctionSymbol function, List<ISymbol> callArgumentTypes) Creates an instance of aFunctionData
record class.(package private)
StreamFunctionCheckData
(org.antlr.v4.runtime.Token errorLocation, FunctionSymbol functionSymbol, ISymbol currentStreamType) Creates an instance of aStreamFunctionCheckData
record class. -
Uses of FunctionSymbol in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return FunctionSymbolModifier and TypeMethodDescriptionFunctionFactory.newDynamicFunction
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicFunctionDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic function.SymbolFactory.newDynamicFunction
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicFunctionDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic function.FunctionFactory.newFunction
(EK9Parser.FunctionDeclarationContext ctx) Create a new function symbol that represents an EK9 function.SymbolFactory.newFunction
(EK9Parser.FunctionDeclarationContext ctx) Create a new function symbol that represents an EK9 function. -
Uses of FunctionSymbol in org.ek9lang.compiler.symbols
Methods in org.ek9lang.compiler.symbols that return FunctionSymbolModifier and TypeMethodDescriptionprotected FunctionSymbol
FunctionSymbol.cloneIntoFunctionSymbol
(FunctionSymbol newCopy) Methods in org.ek9lang.compiler.symbols with parameters of type FunctionSymbolModifier and TypeMethodDescriptionprotected FunctionSymbol
FunctionSymbol.cloneIntoFunctionSymbol
(FunctionSymbol newCopy)