示例#1
0
		public virtual void AfterVisit(Document document)
        {
        }
示例#2
0
 public static void AssertDocument(Document expected, Document actual)
 {
     AssertNodeList(expected.ChildNodes, actual.ChildNodes);
 }
示例#3
0
		public virtual bool BeforeVisit(Document document)
		{
			return false;
		}
 public override void AfterVisit(Document document)
 {
     var emitter = EmitterNode.Many(LeaveScope());
     DocumentFunc = EmitterNode.Lambda((d, r) => new VNode(emitter.Execute(d, r)));
 }
 public override bool BeforeVisit(Document document)
 {
     EnterScope();
     return true;
 }
		public void AfterVisit(Document document)
		{
		}
		public bool BeforeVisit(Document document)
		{
			_scopes.Push(new Scope());
			return true;
		}