Class Parsing
java.lang.Object
org.ek9lang.compiler.phase0.Parsing
- All Implemented Interfaces:
BiFunction<Workspace, CompilerFlags, CompilationPhaseResult>, CompilationStep
Can be MULTI THREADED.
This class just deals with the parsing phase of compilation, and through
reading() the reading phase
before it. It is NOT a parser itself, but is used by the Ek9Compiler to initiate the
parsing. The Lexer and Parser are held in the CompilableSource.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Workspace workspace, CompilerFlags compilerFlags) phase()The phase this step runs.reading()The READING step that comes before this PARSING step: each is ONE phase, so the driver records each as entered before it runs (Q11).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
Parsing
-
-
Method Details
-
reading
The READING step that comes before this PARSING step: each is ONE phase, so the driver records each as entered before it runs (Q11). The two share the sources READING chose. -
phase
Description copied from interface:CompilationStepThe phase this step runs.- Specified by:
phasein interfaceCompilationStep
-
apply
- Specified by:
applyin interfaceBiFunction<Workspace, CompilerFlags, CompilationPhaseResult>
-