public class Scope
extends java.lang.Object
| Constructor and Description |
|---|
Scope(int stackFrameSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterFunction(int stackFrameSize) |
static Scope |
getRoot(int stackFrameSize) |
com.fasterxml.jackson.databind.JsonNode |
getValue(int slot) |
void |
leaveFunction() |
static Scope |
makeScope(java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> variables,
int stackFrameSize,
java.util.Map<java.lang.String,java.lang.Integer> parameterSlots)
Creates an initialized scope with values for variables supplied
by client code into the JSLT expression.
|
void |
setValue(int slot,
com.fasterxml.jackson.databind.JsonNode value) |
public static Scope getRoot(int stackFrameSize)
public static Scope makeScope(java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> variables, int stackFrameSize, java.util.Map<java.lang.String,java.lang.Integer> parameterSlots)
public void enterFunction(int stackFrameSize)
public void leaveFunction()
public com.fasterxml.jackson.databind.JsonNode getValue(int slot)
public void setValue(int slot,
com.fasterxml.jackson.databind.JsonNode value)