- java.lang.Object
-
- org.praxislive.script.impl.AbstractSingleCallFrame
-
- All Implemented Interfaces:
StackFrame
public abstract class AbstractSingleCallFrame extends Object implements StackFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.praxislive.script.StackFrame
StackFrame.State
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSingleCallFrame(Namespace namespace, List<Value> args)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Call
createCall(Env env, List<Value> args)
Namespace
getNamespace()
StackFrame.State
getState()
void
postResponse(Call response)
void
postResponse(StackFrame.State state, List<Value> args)
StackFrame
process(Env env)
protected List<Value>
processResult(List<Value> result)
List<Value>
result()
-
-
-
Method Detail
-
getState
public final StackFrame.State getState()
- Specified by:
getState
in interfaceStackFrame
-
getNamespace
public final Namespace getNamespace()
-
process
public final StackFrame process(Env env)
- Specified by:
process
in interfaceStackFrame
-
postResponse
public final void postResponse(Call response)
- Specified by:
postResponse
in interfaceStackFrame
-
postResponse
public final void postResponse(StackFrame.State state, List<Value> args)
- Specified by:
postResponse
in interfaceStackFrame
-
result
public final List<Value> result()
- Specified by:
result
in interfaceStackFrame
-
createCall
protected abstract Call createCall(Env env, List<Value> args) throws Exception
- Throws:
Exception
-
-