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 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 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 classChecks if the body of a function is appropriate.Methods in org.ek9lang.compiler.phase1 with parameters of type FunctionSymbolModifier and TypeMethodDescriptionvoidAppropriateFunctionBodyOrError.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 classLooks 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 classCheck is the data passed in enabled a delegate function to be resolved and if so return that Function.(package private) final classChecks that the function correctly overrides the signature if it has a super.(package private) final classCheck for valid function parameters.(package private) final class(package private) final classChecks 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 thefunctionrecord component.StreamFunctionCheckData.functionSymbol()Returns the value of thefunctionSymbolrecord 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 TypeMethodDescriptionvoidFunctionOverridesOrError.accept(FunctionSymbol functionSymbol) voidValidFunctionAbstractnessOrError.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 aFunctionDatarecord class.(package private)StreamFunctionCheckData(org.antlr.v4.runtime.Token errorLocation, FunctionSymbol functionSymbol, ISymbol currentStreamType) Creates an instance of aStreamFunctionCheckDatarecord 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 FunctionSymbolFunctionSymbol.cloneIntoFunctionSymbol(FunctionSymbol newCopy) Methods in org.ek9lang.compiler.symbols with parameters of type FunctionSymbolModifier and TypeMethodDescriptionprotected FunctionSymbolFunctionSymbol.cloneIntoFunctionSymbol(FunctionSymbol newCopy)