visitProvideFactory abstract method
void
visitProvideFactory(
- int index,
- TokenElement token,
- Expression tokenExpression,
- Reference returnType,
- Reference function,
- List<
Expression> dependencies, - bool isMulti,
Implement providing token
by calling function
.
Any dependencies
are expected to invoke local methods as appropriate:
refer('inject').call([refer('Dep1')])
Implementation
void visitProvideFactory(
int index,
TokenElement token,
Expression tokenExpression,
Reference returnType,
Reference function,
List<Expression> dependencies,
bool isMulti,
);