public void Visit(CustomBlockTag caseWhenElseBlockTag)
 {
     _result += caseWhenElseBlockTag.ToString();
 }
        public void Visit(CustomBlockTag customBlockTag)
        {
            var tagType = _templateContext.SymbolTableStack.LookupCustomBlockTagRendererType(customBlockTag.TagName);
            var tagRenderer = CustomBlockTagRendererFactory.Create(tagType);
            if (tagRenderer == null)
            {
                AddError("Liquid syntax error: Unknown tag '" + customBlockTag.TagName + "'", customBlockTag);              
                return;
            }

            EvalExpressions(customBlockTag.LiquidExpressionTrees,
               args => AppendTextToCurrentAccumulator(tagRenderer.Render(this, _templateContext, customBlockTag.LiquidBlock, args.ToList()).StringVal),
               errors => AppendTextToCurrentAccumulator(FormatErrors(errors)));

        }