Uses of Class
org.ek9lang.compiler.CompilableSource
Packages that use 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
Methods in org.ek9lang.compiler that return CompilableSourceModifier 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) Methods in org.ek9lang.compiler that return types with arguments of type CompilableSourceMethods in org.ek9lang.compiler with parameters of type CompilableSourceModifier and TypeMethodDescriptionWorkspace.addSource
(CompilableSource source) CompilableProgram.getParsedModuleForCompilableSource
(CompilableSource source) For a specific source the ParsedModule is returned.boolean
ParsedModule.isForThisCompilableSource
(CompilableSource compilableSource) Constructors in org.ek9lang.compiler with parameters of type CompilableSourceModifierConstructorDescriptionParsedModule
(CompilableSource source, SharedThreadContext<CompilableProgram> compilableProgram) We may hold Nodes in here - but not sure yet.Constructor parameters in org.ek9lang.compiler with type arguments of type CompilableSourceModifierConstructorDescriptionEk9LanguageBootStrap
(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
Methods in org.ek9lang.compiler.common that return CompilableSourceModifier and TypeMethodDescriptionCompilationEvent.source()
Returns the value of thesource
record component.Method parameters in org.ek9lang.compiler.common with type arguments of type CompilableSourceModifier and TypeMethodDescriptionboolean
CompilableSourceHasErrors.test
(Collection<CompilableSource> compilableSources) Constructors in org.ek9lang.compiler.common with parameters of type CompilableSourceModifierConstructorDescriptionCompilationEvent
(CompilationPhase phase, ParsedModule parsedModule, CompilableSource source) Creates an instance of aCompilationEvent
record class.