Uses of Class
org.ek9lang.antlr.EK9Parser.FunctionDeclarationContext
Package
Description
Common parts of processing that can be reused across various phases.
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.-
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.antlr
Modifier and TypeMethodDescriptionEK9Parser.FunctionBlockContext.functionDeclaration
(int i) EK9Parser.functionDeclaration()
Modifier and TypeMethodDescriptionvoid
EK9BaseListener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Enter a parse tree produced byEK9Parser.functionDeclaration()
.void
EK9Listener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Enter a parse tree produced byEK9Parser.functionDeclaration()
.void
EK9BaseListener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Exit a parse tree produced byEK9Parser.functionDeclaration()
.void
EK9Listener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Exit a parse tree produced byEK9Parser.functionDeclaration()
.EK9BaseVisitor.visitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Visit a parse tree produced byEK9Parser.functionDeclaration()
.EK9Visitor.visitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Visit a parse tree produced byEK9Parser.functionDeclaration()
. -
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.compiler.common
Modifier and TypeMethodDescriptionvoid
ScopeStackConsistencyListener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) void
AbstractEK9PhaseListener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) -
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.compiler.phase1
Modifier and TypeMethodDescriptionvoid
DefinitionListener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) void
ReferencesPhase1Listener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) void
DefinitionListener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) -
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.compiler.phase2
Modifier and TypeMethodDescriptionvoid
ProcessFunctionDeclarationOrError.accept
(EK9Parser.FunctionDeclarationContext ctx) void
ResolveDefineExplicitTypeListener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) Process a function declaration, so this is at the very top level of construct definition.void
ResolveDefineExplicitTypeListener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) -
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.compiler.phase3
Modifier and TypeMethodDescriptionvoid
ResolveDefineInferredTypeListener.enterFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) IMPORTANT, because we automatically make supers of functions that meet specific signatures (where they don't have a super) it means that behind the scenes we alter a function to have a parameterised generic super function.void
ResolveDefineInferredTypeListener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) -
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.compiler.phase5
Modifier and TypeMethodDescriptionvoid
FunctionOrError.accept
(EK9Parser.FunctionDeclarationContext ctx) void
PreIRListener.exitFunctionDeclaration
(EK9Parser.FunctionDeclarationContext ctx) -
Uses of EK9Parser.FunctionDeclarationContext in org.ek9lang.compiler.support
Modifier and TypeMethodDescriptionSymbolFactory.newFunction
(EK9Parser.FunctionDeclarationContext ctx) Create a new function symbol that represents an EK9 function.