1 //------------------------------------------------------------------------------
2 // <copyright file="Event.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Xsl.XsltOld {
9 using Res = System.Xml.Utils.Res;
11 using System.Diagnostics;
13 using System.Xml.XPath;
14 using System.Xml.Xsl.XsltOld.Debugger;
16 internal abstract class Event {
17 public virtual void ReplaceNamespaceAlias(Compiler compiler) {}
18 public abstract bool Output(Processor processor, ActionFrame frame);
20 internal void OnInstructionExecute(Processor processor) {
21 Debug.Assert(processor.Debugger != null, "We don't generate calls this function if ! debugger");
22 Debug.Assert(DbgData.StyleSheet != null, "We call this function from *EventDbg only");
23 processor.OnInstructionExecute();
26 internal virtual DbgData DbgData { get { return DbgData.Empty; } }