public class Scope extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Scope.ValueWithPath |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunction(String name,
Function q) |
void |
addFunction(String name,
int n,
Function q) |
Function |
getFunction(String name,
int nargs) |
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
com.fasterxml.jackson.databind.JsonNode |
getValue(String name) |
Scope.ValueWithPath |
getValueWithPath(String name) |
static Scope |
newChildScope(Scope scope) |
static Scope |
newEmptyScope() |
void |
setValue(String name,
com.fasterxml.jackson.databind.JsonNode value) |
void |
setValueWithPath(String name,
com.fasterxml.jackson.databind.JsonNode value,
Path path) |
public static Scope newEmptyScope()
public void setValue(String name, com.fasterxml.jackson.databind.JsonNode value)
public void setValueWithPath(String name, com.fasterxml.jackson.databind.JsonNode value, Path path)
public Scope.ValueWithPath getValueWithPath(String name)
public com.fasterxml.jackson.databind.JsonNode getValue(String name)
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2019. All rights reserved.