Package eu.bandm.tools.ramus.runtime2
Class ParserCompilationContext.Continuation
java.lang.Object
eu.bandm.tools.ramus.runtime2.ParserCompilationContext.Continuation
- All Implemented Interfaces:
Consumer<CompilationContext>
- Enclosing class:
- ParserCompilationContext
public abstract static class ParserCompilationContext.Continuation
extends Object
implements Consumer<CompilationContext>
body
is eventually to be called with args
and three additional inputs.-
Constructor Summary
ConstructorDescriptionContinuation
(ParserCompilationContext.Continuation parent, VariableContext.Variable... args) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
accept
(CompilationContext context) void
compile
(CompilationContext context, List<VariableContext.Variable> inputs, List<VariableContext.Variable> outputs) create
(Consumer<? super CompilationContext> body) getArguments
(CompilationContext context, int k) getParamTypes
(CompilationContext context) getShiftedInputs
(CompilationContext context) share()
transfer
(CompilationContext context) wrap
(VariableContext.Variable pre, VariableContext.Variable post)
-
Constructor Details
-
Continuation
-
Continuation
@SafeVarargs public Continuation(ParserCompilationContext.Continuation parent, VariableContext.Variable... args)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<CompilationContext>
-
create
public static ParserCompilationContext.Continuation create(Consumer<? super CompilationContext> body) -
getShiftedInputs
-
getArguments
-
getArguments
-
transfer
-
compile
public void compile(CompilationContext context, List<VariableContext.Variable> inputs, List<VariableContext.Variable> outputs) -
append
-
wrap
public ParserCompilationContext.Continuation wrap(VariableContext.Variable pre, VariableContext.Variable post) -
getParamTypes
-