ExpressionState constructor

ExpressionState(
  1. EvaluationContext context,
  2. Object? root,
  3. String expressionString, [
  4. SpelParserConfiguration? configuration,
])

Starts an evaluation of expressionString in context with root as #root, #this and the initial active object, under the limits of configuration (the defaults when omitted).

Implementation

ExpressionState(
  this.context,
  this.root,
  this.expressionString, [
  SpelParserConfiguration? configuration,
]) : configuration = configuration ?? SpelParserConfiguration.withDefaults(),
     _active = [root],
     _activeReal = [false],
     _scopeRoots = [root],
     _scopeRootReal = [false];