Uses of Class
org.ek9lang.compiler.ParsedModule
Package
Description
B - For the EK9 compiler itself.
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 ParsedModule in org.ek9lang.compiler
Modifier and TypeMethodDescriptionCompilableProgram.getParsedModuleForCompilableSource
(CompilableSource source) For a specific source the ParsedModule is returned.Modifier and TypeMethodDescriptionCompilableProgram.getParsedModules
(String moduleName) Provide read only access to the list of modules for a particular moduleName.ParsedModules.getParsedModules()
Provides an unmodifiable list of parsed modules.Modifier and TypeMethodDescriptionvoid
CompilableProgram.add
(ParsedModule parsedModule) Add in a newly parsed module to the list of parsed modules.void
ParsedModules.add
(ParsedModule parsedModule) Add a parsed module to the set all under the same moduleName.void
CompilableProgram.remove
(ParsedModule parsedModule) If some source has been altered, then its corresponding parsedModule must be removed.void
ParsedModules.remove
(ParsedModule parsedModule) Remove an existing parsed module for the set of modules recorded against a specific module name. -
Uses of ParsedModule in org.ek9lang.compiler.common
Modifier and TypeMethodDescriptionprotected ParsedModule
AbstractEK9PhaseListener.getParsedModule()
Provide access to the parsedModule.CompilationEvent.parsedModule()
Returns the value of theparsedModule
record component.ModifierConstructorDescriptionprotected
AbstractEK9PhaseListener
(ParsedModule parsedModule) CompilationEvent
(CompilationPhase phase, ParsedModule parsedModule, CompilableSource source) Creates an instance of aCompilationEvent
record class.protected
ScopeStackConsistencyListener
(ParsedModule parsedModule) SymbolsAndScopes
(ParsedModule parsedModule, ScopeStack scopeStack) Create a new instance for symbol and scope management. -
Uses of ParsedModule in org.ek9lang.compiler.phase1
ModifierConstructorDescription(package private)
DefinitionListener
(ParsedModule parsedModule) First phase after parsing.(package private)
ReferencesPhase1Listener
(CompilableProgram compilableProgram, ParsedModule parsedModule) Next phase after symbol definition, now check for explicit references. -
Uses of ParsedModule in org.ek9lang.compiler.phase2
ModifierConstructorDescription(package private)
ResolveDefineExplicitTypeListener
(ParsedModule parsedModule) Still defining some stuff here, but also resolving where possible. -
Uses of ParsedModule in org.ek9lang.compiler.phase3
ModifierConstructorDescriptionprotected
ExpressionsListener
(ParsedModule parsedModule) (package private)
ResolveDefineInferredTypeListener
(ParsedModule parsedModule) Create a new instance to define or resolve inferred types. -
Uses of ParsedModule in org.ek9lang.compiler.phase5
-
Uses of ParsedModule in org.ek9lang.compiler.support
ModifierConstructorDescriptionSymbolFactory
(ParsedModule parsedModule) Create a new symbol factory for use with the parsedModule.