add method

void add(
  1. CompileTokenMetadata token,
  2. Expression providerValue
)

Adds a builtin local provider for a template node.

Implementation

void add(CompileTokenMetadata token, o.Expression providerValue) {
  _instances.add(token, BuiltInSource(token, providerValue));
}