public static void AssertContent(TextNode expected, TextNode actual) { Assert.Equal(expected.Text, actual.Text); }
public override void Visit(TextNode textNode) { Scope.Add(EmitterNode.AsList(EmitterNode.Lambda((d, r) => new VText(textNode.Text)))); }
public virtual void Visit(TextNode textNode) { }
public void Visit(TextNode textNode) { Action<TextWriter, IDataContext, IRenderingContext> exp = (writer, d, rc) => writer.Write(textNode.Text); _scopes.Peek().Elements.Add(exp); }