using System;
using System.Collections.Generic;
using System.Text;
using DunnChurchill.Code.Compiler;
using DunnChurchill.Code.Compiler.Attributes;
using DunnChurchill.Templates.Compiler.TemplateParser;
using PerCederberg.Grammatica.Parser;
namespace DunnChurchill.Templates.Compiler.TemplateVisitors
{
[VisitorClass((int)TemplateConstants.INTERPOLATION_BLOCK)]
class InterpolationBlockVisitor : Visitor
{
protected override bool OnVisit(PerCederberg.Grammatica.Parser.Node node)
{
Token token = node as Token;
node.AddValue(token.GetImage());
}
}
}