Callback2<T, R> typedef

Callback2<T, R> = R Function(T value, Context context)

We pass the parse position so that errors and or warnings can be logged with the current parse position within the Template

Implementation

typedef Callback2<T, R> = R Function(T value, Context context);