public void Visit(MarkupLiteral astLeaf) { state.SetCursor(astLeaf); if (!string.IsNullOrEmpty(astLeaf.Value)) {//Do not append empty strings (possible through whitespace control) state.PushStatement(SyntaxHelper.AppendStringLiteral(astLeaf.Value)); } }
internal StaticHandlebarsTemplate(MarkupLiteral markupLiteral, IList<HandlebarsSyntaxError> parseErrors) : base(parseErrors) { _markupLiteral = markupLiteral; }