PlaceholderPartResolutionContext constructor

PlaceholderPartResolutionContext(
  1. PlaceholderResolverFn resolver,
  2. String prefix,
  3. String suffix,
  4. bool ignoreUnresolvablePlaceholders,
  5. List<PlaceholderPart> parser(
    1. String
    ),
  6. Log logger,
)

A resolution context for placeholder expressions, providing configuration, resolution logic, and tracking for visited placeholders.

This context is passed to PlaceholderParts during resolution, giving them access to:

It is a central piece of the placeholder resolution engine.

Implementation

PlaceholderPartResolutionContext(
  this.resolver,
  this.prefix,
  this.suffix,
  this.ignoreUnresolvablePlaceholders,
  this.parser,
  this.logger,
);