Uses of Class
org.ek9lang.compiler.symbols.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
Modifier and TypeMethodDescriptionvoid
AppropriateFunctionBodyOrError.accept
(FunctionSymbol functionSymbol, EK9Parser.OperationDetailsContext ctx) -
Uses of FunctionSymbol in org.ek9lang.compiler.phase2
-
Uses of FunctionSymbol in org.ek9lang.compiler.phase3
Modifier 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.Modifier and TypeMethodDescriptionvoid
AutoMatchSuperFunctionSignature.accept
(FunctionSymbol functionSymbol) void
FunctionOverridesOrError.accept
(FunctionSymbol functionSymbol) void
ValidFunctionAbstractnessOrError.accept
(FunctionSymbol functionSymbol) ModifierConstructorDescription(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
Modifier and TypeMethodDescriptionSymbolFactory.newDynamicFunction
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicFunctionDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic function.SymbolFactory.newFunction
(EK9Parser.FunctionDeclarationContext ctx) Create a new function symbol that represents an EK9 function. -
Uses of FunctionSymbol in org.ek9lang.compiler.symbols
Modifier and TypeMethodDescriptionprotected FunctionSymbol
FunctionSymbol.cloneIntoFunctionSymbol
(FunctionSymbol newCopy) Modifier and TypeMethodDescriptionprotected FunctionSymbol
FunctionSymbol.cloneIntoFunctionSymbol
(FunctionSymbol newCopy) boolean
FunctionSymbol.isImplementingInSomeWay
(FunctionSymbol function) Does this function directly implement or through its hierarch implement the function passed in.void
FunctionSymbol.setSuperFunction
(FunctionSymbol superFunctionSymbol) Modifier and TypeMethodDescriptionvoid
FunctionSymbol.setSuperFunction
(Optional<FunctionSymbol> superFunctionSymbol)