Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ApplyImportsAction.cs
Go to the documentation of this file.
2
4{
6
8
9 internal override void Compile(Compiler compiler)
10 {
12 if (!compiler.CanHaveApplyImports)
13 {
15 }
16 _mode = compiler.CurrentMode;
17 _stylesheet = compiler.CompiledStylesheet;
18 }
19
20 internal override void Execute(Processor processor, ActionFrame frame)
21 {
22 switch (frame.State)
23 {
24 case 0:
25 processor.PushTemplateLookup(frame.NodeSet, _mode, _stylesheet);
26 frame.State = 2;
27 break;
28 case 2:
29 frame.Finished();
30 break;
31 }
32 }
33}
static string Xslt_ApplyImports
Definition SR.cs:2130
Definition SR.cs:7
static XsltException Create(string res, params string[] args)
override void Execute(Processor processor, ActionFrame frame)
override void Compile(Compiler compiler)