package interpreter
- Alphabetic
- Public
- All
Type Members
- trait Compareable[T] extends AnyRef
- case class CompositeContext(contexts: Seq[Context], valueMapper: ValueMapper) extends Context with Product with Serializable
-
trait
Context extends AnyRef
A Context provides access to the variables/fields and functions/methods in the scope represented by this Context.
- abstract class ContextBase extends Context
- case class DefaultContext(variables: Map[String, Any] = Map.empty, functions: Map[String, List[ValFunction]] = Map.empty, variableProvider: VariableProvider = ..., functionProvider: FunctionProvider = ..., valueMapper: ValueMapper = DefaultValueMapper.instance) extends ContextBase with Product with Serializable
- class DefaultValueMapper extends ValueMapper
- class FeelInterpreter extends AnyRef
- trait FunctionProvider extends AnyRef
-
case class
ObjectContext(obj: Any, valueMapper: ValueMapper = DefaultValueMapper.instance) extends ContextBase with Product with Serializable
A context that wraps the fields and methods of a given JVM object
A context that wraps the fields and methods of a given JVM object
- obj
the JVM object to be wrapped
- valueMapper
the valueMapper to be applied
- case class RootContext(variables: Map[String, Any] = Map.empty, additionalFunctions: Map[String, List[ValFunction]] = Map.empty, variableProvider: VariableProvider = ..., functionProvider: FunctionProvider = ..., valueMapper: ValueMapper = DefaultValueMapper.instance) extends ContextBase with Product with Serializable
-
sealed
trait
Val extends AnyRef
FEEL supports the following datatypes: number string boolean days and time duration years and months duration time date and time Duration and date/time datatypes have no literal syntax.
FEEL supports the following datatypes: number string boolean days and time duration years and months duration time date and time Duration and date/time datatypes have no literal syntax. They must be constructed from a string representation using a built-in function (10.3.4.1).
- case class ValBoolean(value: Boolean) extends Val with Product with Serializable
- case class ValContext(context: Context) extends Val with Product with Serializable
- case class ValDate(value: Date) extends Val with Product with Serializable
- case class ValDateTime(value: DateTime) extends Val with Product with Serializable
- case class ValDayTimeDuration(value: DayTimeDuration) extends Val with Product with Serializable
- case class ValError(error: String) extends Val with Product with Serializable
- case class ValFunction(params: List[String], invoke: (List[Val]) ⇒ Val, hasVarArgs: Boolean = false) extends Val with Product with Serializable
- case class ValList(items: List[Val]) extends Val with Product with Serializable
- case class ValLocalDateTime(value: LocalDateTime) extends Val with Product with Serializable
- case class ValLocalTime(value: LocalTime) extends Val with Product with Serializable
- case class ValNumber(value: Number) extends Val with Product with Serializable
- case class ValString(value: String) extends Val with Product with Serializable
- case class ValTime(value: Time) extends Val with Product with Serializable
- case class ValYearMonthDuration(value: YearMonthDuration) extends Val with Product with Serializable
- trait ValueMapper extends AnyRef
- trait VariableProvider extends AnyRef
Value Members
- object BuiltinFunctions extends FunctionProvider
- object Compareable
- object CompositeContext extends Serializable
- object DefaultValueMapper
- object FunctionProvider
- object JavaClassMapper
- object RootContext extends Serializable
- object ValNull extends Val with Product with Serializable
- object VariableProvider