Uses of Class
org.ek9lang.antlr.EK9Parser.CompilationUnitContext
Package
Description
B - For the EK9 compiler itself.
Common parts of processing that can be reused across various phases.
-
Uses of EK9Parser.CompilationUnitContext in org.ek9lang.antlr
Modifier and TypeMethodDescriptionvoid
EK9BaseListener.enterCompilationUnit
(EK9Parser.CompilationUnitContext ctx) Enter a parse tree produced byEK9Parser.compilationUnit()
.void
EK9Listener.enterCompilationUnit
(EK9Parser.CompilationUnitContext ctx) Enter a parse tree produced byEK9Parser.compilationUnit()
.void
EK9BaseListener.exitCompilationUnit
(EK9Parser.CompilationUnitContext ctx) Exit a parse tree produced byEK9Parser.compilationUnit()
.void
EK9Listener.exitCompilationUnit
(EK9Parser.CompilationUnitContext ctx) Exit a parse tree produced byEK9Parser.compilationUnit()
.EK9BaseVisitor.visitCompilationUnit
(EK9Parser.CompilationUnitContext ctx) Visit a parse tree produced byEK9Parser.compilationUnit()
.EK9Visitor.visitCompilationUnit
(EK9Parser.CompilationUnitContext ctx) Visit a parse tree produced byEK9Parser.compilationUnit()
. -
Uses of EK9Parser.CompilationUnitContext in org.ek9lang.compiler
Modifier and TypeMethodDescriptionCompilableSource.getCompilationUnitContext()
Provide access to the main compilation context.CompilableSource.parse()
Actually parse the source code.Modifier and TypeMethodDescriptionParsedModule.acceptCompilationUnitContext
(EK9Parser.CompilationUnitContext compilationUnitContext) Once the source code has been parsed by one of the stages in the compiler, the CompilationUnitContext can be provided to this Parsed module. -
Uses of EK9Parser.CompilationUnitContext in org.ek9lang.compiler.common
Modifier and TypeMethodDescriptionvoid
Ek9SourceVisitor.visit
(EK9Parser.CompilationUnitContext context, ErrorListener errorListener) This is the key to lexing and parsing the source file mainly just for package information.