Uses of Class
org.ek9lang.compiler.CompilableSource
Package
Description
B - For the EK9 compiler itself.
Common parts of processing that can be reused across various phases.
-
Uses of CompilableSource in org.ek9lang.compiler
Modifier and TypeMethodDescriptionWorkspace.addSource
(CompilableSource source) CompilableSource.completeParsing()
ParsedModule.getSource()
CompilableSource.prepareToParse()
Sets up the compilable source to be parsed.CompilableSource.prepareToParse
(InputStream inputStream) Prepare to parse but with a provided input stream of what to parse.Workspace.reParseSource
(String uri) Triggers the re-parsing of the source file.Workspace.reParseSource
(String uri, InputStream inputStream) Typically used via the language server.Workspace.reParseSource
(Path path) ReParses or loads and parses a source file.CompilableSource.setDev
(boolean dev) Modifier and TypeMethodDescriptionWorkspace.addSource
(CompilableSource source) CompilableProgram.getParsedModuleForCompilableSource
(CompilableSource source) For a specific source the ParsedModule is returned.boolean
ParsedModule.isForThisCompilableSource
(CompilableSource compilableSource) ModifierConstructorDescriptionParsedModule
(CompilableSource source, SharedThreadContext<CompilableProgram> compilableProgram) We may hold Nodes in here - but not sure yet.ModifierConstructorDescriptionEk9LanguageBootStrap
(Supplier<List<CompilableSource>> sourceSupplier, CompilationPhaseListener listener, CompilerReporter reporter) Create a language bootstrap with a set of ek9 language files. -
Uses of CompilableSource in org.ek9lang.compiler.common
Modifier and TypeMethodDescriptionCompilationEvent.source()
Returns the value of thesource
record component.Modifier and TypeMethodDescriptionboolean
CompilableSourceHasErrors.test
(Collection<CompilableSource> compilableSources) ModifierConstructorDescriptionCompilationEvent
(CompilationPhase phase, ParsedModule parsedModule, CompilableSource source) Creates an instance of aCompilationEvent
record class.