e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="XsltDebugger.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">sdub</owner>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Xml.Xsl.XsltOld.Debugger {
|
|
using Res = System.Xml.Utils.Res;
|
|
using System;
|
|
using System.Xml;
|
|
using System.Xml.XPath;
|
|
|
|
internal interface IStackFrame {
|
|
XPathNavigator Instruction { get; }
|
|
XPathNodeIterator NodeSet { get; }
|
|
// Variables:
|
|
int GetVariablesCount();
|
|
XPathNavigator GetVariable(int varIndex);
|
|
object GetVariableValue(int varIndex);
|
|
}
|
|
|
|
internal interface IXsltProcessor {
|
|
int StackDepth { get; }
|
|
IStackFrame GetStackFrame(int depth);
|
|
}
|
|
|
|
internal interface IXsltDebugger {
|
|
string GetBuiltInTemplatesUri();
|
|
void OnInstructionCompile(XPathNavigator styleSheetNavigator);
|
|
void OnInstructionExecute(IXsltProcessor xsltProcessor);
|
|
}
|
|
}
|