Uses of Interface
org.ek9lang.compiler.backend.ConstructOutputSink
Packages that use ConstructOutputSink
Package
Description
Backend Code Generation - Target-specific code generation infrastructure.
JVM Bytecode Generation - Transforms EK9 IR into JVM bytecode.
C - For the Suppliers of the 'compilation phases' as mentioned in the
org.ek9lang.compiler package.
The directives are really aimed at helping the creation of the EK9 language, but they
maybe very useful in the early stages of adoption of EK9 (should there be any).
N - Code Generation.
-
Uses of ConstructOutputSink in org.ek9lang.compiler.backend
Classes in org.ek9lang.compiler.backend that implement ConstructOutputSinkModifier and TypeClassDescriptionfinal classWrites each generated class to its own file - the behaviour every jvm writer had inline.final classHolds generated classes in memory instead of writing a file per construct.Methods in org.ek9lang.compiler.backend that return ConstructOutputSinkModifier and TypeMethodDescriptionConstructTargetTuple.sink()Returns the value of thesinkrecord component.MainEntryTargetTuple.sink()Returns the value of thesinkrecord component.Methods in org.ek9lang.compiler.backend with parameters of type ConstructOutputSinkModifier and TypeMethodDescriptionintInMemoryConstructOutputSink.flushTo(ConstructOutputSink fileSink) Write everything this sink is holding out to the files it would have occupied.Constructors in org.ek9lang.compiler.backend with parameters of type ConstructOutputSinkModifierConstructorDescriptionConstructTargetTuple(IRConstruct construct, String relativeFileName, CompilerFlags compilerFlags, File targetFile, int moduleTotalCoverageProbeCount, Map<String, String> typeHierarchy, ConstructOutputSink sink) Creates an instance of aConstructTargetTuplerecord class.MainEntryTargetTuple(ProgramEntryPointInstr programEntryPoint, CompilerFlags compilerFlags, FileHandling fileHandling, File outputDirectory, ConstructOutputSink sink) Creates an instance of aMainEntryTargetTuplerecord class. -
Uses of ConstructOutputSink in org.ek9lang.compiler.backend.jvm
Constructors in org.ek9lang.compiler.backend.jvm with parameters of type ConstructOutputSinkModifierConstructorDescription(package private)AspectProxyClassGenerator(File outputRootDirectory, ConstructOutputSink sink) Create a proxy class generator.(package private)EnumIteratorClassGenerator(File targetFile, ConstructOutputSink sink) Create an enum iterator class generator. -
Uses of ConstructOutputSink in org.ek9lang.compiler.config
Fields in org.ek9lang.compiler.config declared as ConstructOutputSinkModifier and TypeFieldDescriptionprotected final ConstructOutputSinkPhaseSupplier.outputSinkWhere generated classes go, and where they are read back from.Constructors in org.ek9lang.compiler.config with parameters of type ConstructOutputSinkModifierConstructorDescriptionBackEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier, ConstructOutputSink outputSink) As above, but with an explicit output sink - seeConstructOutputSink.FullPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier, ConstructOutputSink outputSink) As above, but with an explicit output sink.protectedPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier, ConstructOutputSink outputSink) As above, but with an explicit output sink. -
Uses of ConstructOutputSink in org.ek9lang.compiler.directives
Constructors in org.ek9lang.compiler.directives with parameters of type ConstructOutputSinkModifierConstructorDescriptionByteCodeDirectiveListener(ConstructOutputSink outputSink) DirectiveListenerSupplier(ConstructOutputSink outputSink) Directive listeners reading generated bytes from the given sink. -
Uses of ConstructOutputSink in org.ek9lang.compiler.phase10
Constructors in org.ek9lang.compiler.phase10 with parameters of type ConstructOutputSinkModifierConstructorDescriptionCodeGenerationAggregates(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, ConstructOutputSink outputSink, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationApplications(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, ConstructOutputSink outputSink, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationConstants(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, ConstructOutputSink outputSink, Consumer<CompilationEvent> listener, CompilerReporter reporter)