public DefaultExpressionCompiler(ICompiledHandlebarsConfiguration configuration, ClosureFeature closureFeature) { _closureFeature = closureFeature; _templateClosure = closureFeature?.TemplateClosure; _closure = closureFeature?.ClosureInternal; _expressionMiddleware = configuration.ExpressionMiddleware; }
/// <inheritdoc /> public void CompilationCompleted() { TemplateClosure?.Build(); foreach (var child in Children) { child.CompilationCompleted(); } }
public ClosureVisitor(ExpressionContainer <object[]> arg, TemplateClosure templateClosure) { _templateClosure = templateClosure; _templateClosureArg = arg; }
public ClosureExpressionMiddleware(TemplateClosure closure, ExpressionContainer <object[]> closureArg) { _closure = closure; _closureArg = closureArg; }
/// <inheritdoc /> public void CompilationCompleted() { TemplateClosure?.Build(); }