| Modifier and Type | Class and Description |
|---|---|
class |
BinaryOperator<T extends Value>
Abstraction for a core binary operator
|
class |
UnaryOperator<T extends Value>
Abstraction for an unary operator that can be evaluated as hope lang
|
| Modifier and Type | Field and Description |
|---|---|
protected T |
BinaryOperator.lhs |
protected T |
BinaryOperator.rhs |
| Modifier and Type | Class and Description |
|---|---|
class |
HopeFunction<T extends Value>
|
| Constructor and Description |
|---|
ContainsAll(Value lhs,
Value rhs) |
ContainsAny(Value lhs,
Value rhs) |
In(Value lhs,
Value rhs) |
IsEmpty(Value arr) |
Length(Value arr) |
NotIn(Value lhs,
Value rhs) |
| Constructor and Description |
|---|
Abs(Value param) |
Add(Value... values) |
Ceil(Value param) |
Divide(Value num,
Value den) |
Floor(Value param) |
Modulo(Value num,
Value den) |
Multiply(Value... values) |
Negate(Value param) |
Substract(Value lhs,
Value rhs) |
| Constructor and Description |
|---|
Exists(Value path) |
| Modifier and Type | Method and Description |
|---|---|
Value |
Length.apply(Evaluator.EvaluationContext evaluationContext) |
Value |
UpperCase.apply(Evaluator.EvaluationContext evaluationContext) |
Value |
LowerCase.apply(Evaluator.EvaluationContext evaluationContext) |
Value |
SubStr.apply(Evaluator.EvaluationContext evaluationContext) |
| Constructor and Description |
|---|
Length(Value arg) |
LowerCase(Value arg) |
Match(Value regex,
Value str) |
SubStr(Value arg,
Value start) |
SubStr(Value arg,
Value start,
Value end) |
UpperCase(Value arg) |
| Constructor and Description |
|---|
Equals(Value lhs,
Value rhs) |
NotEquals(Value lhs,
Value rhs) |
| Modifier and Type | Method and Description |
|---|---|
static List<Value> |
Converters.explodeArray(Evaluator.EvaluationContext evaluationContext,
TreeNode node,
List<Value> defaultValue)
Evaluates a
TreeNode to find eventual array. |
| Modifier and Type | Method and Description |
|---|---|
static List<Object> |
Converters.flattenArray(Evaluator.EvaluationContext evaluationContext,
Value value,
Object defaultValue)
Flatten an
ArrayNode into List of objects |
| Modifier and Type | Method and Description |
|---|---|
static List<Value> |
Converters.explodeArray(Evaluator.EvaluationContext evaluationContext,
TreeNode node,
List<Value> defaultValue)
Evaluates a
TreeNode to find eventual array. |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayValue
Represents an array os
Values. |
class |
BooleanValue |
class |
EvaluatableValue<T>
An abstraction of a value that can be evaluated from
JsonPathValue or from FunctionValue |
class |
FunctionEvaluatableValue
Abstraction of a value that is generated as eval of a
HopeFunction call. |
class |
FunctionValue
An abstraction for a
HopeFunction call. |
class |
JsonPathValue |
class |
NumericValue |
class |
ObjectValue
Represents an object.
|
class |
StringValue |
| Constructor and Description |
|---|
ArrayValue(List<Value> value) |
FunctionValue(String name,
List<Value> parameters,
FunctionRegistry.ConstructorMeta selectedConstructor) |
Copyright © 2019. All rights reserved.