Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Processor()

System.Xml.Xsl.XsltOld.Processor.Processor ( XPathNavigator doc,
XsltArgumentList args,
XmlResolver resolver,
Stylesheet stylesheet,
List< TheQuery > queryStore,
RootAction rootAction,
IXsltDebugger debugger )
inline

Definition at line 220 of file Processor.cs.

221 {
222 _stylesheet = stylesheet;
226 for (int i = 0; i < queryStore.Count; i++)
227 {
228 _queryList[i] = Query.Clone(queryStore[i].CompiledQuery.QueryTree);
229 }
230 _xsm = new StateMachine();
231 _document = doc;
232 _builder = null;
233 _actionStack = new HWStack(10);
235 _resolver = resolver ?? XmlNullResolver.Singleton;
236 _args = args ?? new XsltArgumentList();
238 if (_debugger != null)
239 {
240 _debuggerStack = new HWStack(10, 1000);
241 _templateLookup = new TemplateLookupActionDbg();
242 }
243 if (_rootAction.KeyList != null)
244 {
246 for (int j = 0; j < _keyList.Length; j++)
247 {
248 _keyList[j] = _rootAction.KeyList[j].Clone();
249 }
250 }
253 {
254 throw new PlatformNotSupportedException(System.SR.CompilingScriptsNotSupported);
255 }
257 }
static Query Clone(Query input)
Definition Query.cs:66
static string CompilingScriptsNotSupported
Definition SR.cs:2148
Definition SR.cs:7
readonly TemplateLookupAction _templateLookup
Definition Processor.cs:72
readonly IXsltDebugger _debugger
Definition Processor.cs:74
readonly XsltArgumentList _args
Definition Processor.cs:66
readonly HWStack _debuggerStack
Definition Processor.cs:50
void PushActionFrame(Action action, XPathNodeIterator nodeSet)
Definition Processor.cs:348
readonly XmlResolver _resolver
Definition Processor.cs:64
readonly XPathNavigator _document
Definition Processor.cs:46
readonly Stylesheet _stylesheet
Definition Processor.cs:38
readonly List< TheQuery > _queryStore
Definition Processor.cs:44
readonly Hashtable _scriptExtensions
Definition Processor.cs:68
readonly RootAction _rootAction
Definition Processor.cs:40
readonly StateMachine _xsm
Definition Processor.cs:56
readonly HWStack _actionStack
Definition Processor.cs:48

References System.Xml.Xsl.XsltOld.Processor._actionStack, System.Xml.Xsl.XsltOld.Processor._args, System.Xml.Xsl.XsltOld.Processor._builder, System.Xml.Xsl.XsltOld.Processor._debugger, System.Xml.Xsl.XsltOld.Processor._debuggerStack, System.Xml.Xsl.XsltOld.Processor._document, System.Xml.Xsl.XsltOld.Processor._keyList, System.Xml.Xsl.XsltOld.Processor._output, System.Xml.Xsl.XsltOld.Processor._queryList, System.Xml.Xsl.XsltOld.Processor._queryStore, System.Xml.Xsl.XsltOld.Processor._resolver, System.Xml.Xsl.XsltOld.Processor._rootAction, System.Xml.Xsl.XsltOld.Processor._scriptExtensions, System.Xml.Xsl.XsltOld.Processor._stylesheet, System.Xml.Xsl.XsltOld.Processor._templateLookup, System.Xml.Xsl.XsltOld.Processor._xsm, MS.Internal.Xml.XPath.Query.Clone(), System.SR.CompilingScriptsNotSupported, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Collections.Hashtable.Count, System.Xml.Dictionary, System.Xml.Xsl.XsltOld.RootAction.KeyList, System.Xml.Xsl.XsltOld.RootAction.Output, System.Xml.Xsl.XsltOld.Processor.PushActionFrame(), System.Xml.Xsl.XsltOld.Stylesheet.ScriptObjectTypes, and System.Xml.XmlNullResolver.Singleton.