- All Known Subinterfaces:
InlineCommand
public interface Command
A script command. The script executor will look up commands by name in the
current
Namespace. Each execution of the command will cause a call
createStackFrame(org.praxislive.script.Namespace, java.util.List).-
Method Summary
Modifier and TypeMethodDescriptioncreateStackFrame(Namespace namespace, List<Value> args) Create a StackFrame to execute the command with the provided Namespace and arguments.
-
Method Details
-
createStackFrame
Create a StackFrame to execute the command with the provided Namespace and arguments.- Parameters:
namespace- current namespaceargs- arguments- Returns:
- stack frame to execute command with provided arguments
- Throws:
Exception- if stack frame cannot be created
-