private String getInterpolatedAttributeValue(String name, Object attribute, JadeModel model, JadeTemplate template)
{
if (!preparedAttributeValues.ContainsKey(name))
{
preparedAttributeValues.Add(name, Utils.prepareInterpolate((String)attribute, true));
}
List<Object> prepared = preparedAttributeValues[name];
try
{
return Utils.interpolate(prepared, model);
}
catch (ExpressionException e)
{
throw new JadeCompilerException(this, template.getTemplateLoader(), e);
}
}