Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TemplateLookupActionDbg.cs
Go to the documentation of this file.
1
namespace
System.Xml.Xsl.XsltOld
;
2
3
internal
sealed
class
TemplateLookupActionDbg
:
TemplateLookupAction
4
{
5
internal
override
void
Execute
(
Processor
processor
,
ActionFrame
frame)
6
{
7
Action
action
=
null
;
8
if
(
mode
==
Compiler
.
BuiltInMode
)
9
{
10
mode
=
processor
.GetPreviousMode();
11
}
12
processor
.SetCurrentMode(
mode
);
13
action
= ((!(
mode
!=
null
)) ? ((
importsOf
==
null
) ?
processor
.Stylesheet.FindTemplate(
processor
, frame.
Node
) :
importsOf
.
FindTemplateImports
(
processor
, frame.
Node
)) : ((
importsOf
==
null
) ?
processor
.Stylesheet.FindTemplate(
processor
, frame.
Node
,
mode
) :
importsOf
.
FindTemplateImports
(
processor
, frame.
Node
,
mode
)));
14
if
(
action
==
null
&&
processor
.RootAction.builtInSheet !=
null
)
15
{
16
action
=
processor
.RootAction.builtInSheet.FindTemplate(
processor
, frame.
Node
,
Compiler
.
BuiltInMode
);
17
}
18
if
(
action
==
null
)
19
{
20
action
=
BuiltInTemplate
(frame.
Node
);
21
}
22
if
(
action
!=
null
)
23
{
24
frame.
SetAction
(
action
);
25
}
26
else
27
{
28
frame.
Finished
();
29
}
30
}
31
}
System.Xml.Xsl.XsltOld.ActionFrame.SetAction
void SetAction(Action action)
Definition
ActionFrame.cs:239
System.Xml.Xsl.XsltOld.ActionFrame.Finished
void Finished()
Definition
ActionFrame.cs:209
System.Xml.Xsl.XsltOld.ActionFrame.Node
XPathNavigator Node
Definition
ActionFrame.cs:102
System.Xml.Xsl.XsltOld.ActionFrame
Definition
ActionFrame.cs:10
System.Xml.Xsl.XsltOld.Action
Definition
Action.cs:4
System.Xml.Xsl.XsltOld.Compiler.BuiltInMode
static XmlQualifiedName BuiltInMode
Definition
Compiler.cs:81
System.Xml.Xsl.XsltOld.Compiler
Definition
Compiler.cs:15
System.Xml.Xsl.XsltOld.Processor
Definition
Processor.cs:14
System.Xml.Xsl.XsltOld.Stylesheet.FindTemplateImports
TemplateAction FindTemplateImports(Processor processor, XPathNavigator navigator, XmlQualifiedName mode)
Definition
Stylesheet.cs:278
System.Xml.Xsl.XsltOld.TemplateLookupActionDbg.Execute
override void Execute(Processor processor, ActionFrame frame)
Definition
TemplateLookupActionDbg.cs:5
System.Xml.Xsl.XsltOld.TemplateLookupActionDbg
Definition
TemplateLookupActionDbg.cs:4
System.Xml.Xsl.XsltOld.TemplateLookupAction.mode
XmlQualifiedName mode
Definition
TemplateLookupAction.cs:7
System.Xml.Xsl.XsltOld.TemplateLookupAction.importsOf
Stylesheet importsOf
Definition
TemplateLookupAction.cs:9
System.Xml.Xsl.XsltOld.TemplateLookupAction.BuiltInTemplate
Action BuiltInTemplate(XPathNavigator node)
Definition
TemplateLookupAction.cs:35
System.Xml.Xsl.XsltOld.TemplateLookupAction
Definition
TemplateLookupAction.cs:6
System.Xml.Xsl.XsltOld
Definition
IXsltDebugger.cs:1
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.action
@ action
source
System.Private.Xml
System.Xml.Xsl.XsltOld
TemplateLookupActionDbg.cs
Generated by
1.10.0