Uses of Interface
org.praxislive.script.StackFrame
Packages that use StackFrame
-
Uses of StackFrame in org.praxislive.script
Classes in org.praxislive.script that implement StackFrameModifier and TypeClassDescriptionclassAn abstractStackFramefor commands that need to make a stack frame that makes a single call and processes its response.static final classA default implementation of StackFrame for use by InlineCommand implementations.final classA stackframe implementation that supports parsing and running of Pcl scripts.Methods in org.praxislive.script that return StackFrameModifier and TypeMethodDescriptiondefault StackFrameStackFrame.andThen(Function<List<Value>, StackFrame> stage) Combine this StackFrame with another created from the result of this StackFrame.default StackFrameStackFrame.andThenMap(UnaryOperator<List<Value>> mapper) Map the result of this StackFrame with the provided mapping function before returning a result or usingandThen(java.util.function.Function).static StackFrameStackFrame.async(TaskService.Task task) Create a StackFrame that executes the provided task asynchronously in the defaultTaskServiceand returns the result.static StackFrameStackFrame.call(ControlAddress to, List<Value> args) Create a StackFrame that makes a call to the provided control and returns the result.static StackFrameStackFrame.call(ControlAddress to, Value arg) Create a StackFrame that makes a call to the provided control and returns the result.Command.createStackFrame(Namespace namespace, List<Value> args) Create a StackFrame to execute the command with the provided Namespace and arguments.static StackFrameStackFrame.empty()Create a StackFrame that returns an empty result.default StackFrameStackFrame.onError(Function<List<Value>, StackFrame> errorStage) Create a StackFrame that catches any error produced by this StackFrame and defers to the StackFrame created by the provided function.final StackFrameProcess the StackFrame.static StackFrameCreate a StackFrame that makes a call to the providedServiceand returns the result.static StackFrameStackFrame.serviceCall(Class<? extends Service> service, String control, Value arg) Create a StackFrame that makes a call to the providedServiceand returns the result.Method parameters in org.praxislive.script with type arguments of type StackFrameModifier and TypeMethodDescriptiondefault StackFrameStackFrame.andThen(Function<List<Value>, StackFrame> stage) Combine this StackFrame with another created from the result of this StackFrame.default StackFrameStackFrame.onError(Function<List<Value>, StackFrame> errorStage) Create a StackFrame that catches any error produced by this StackFrame and defers to the StackFrame created by the provided function.