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

◆ CompileContent()

void System.Xml.Xsl.XsltOld.TextAction.CompileContent ( Compiler compiler)
inlineprivate

Definition at line 29 of file TextAction.cs.

30 {
31 if (!compiler.Recurse())
32 {
33 return;
34 }
35 NavigatorInput input = compiler.Input;
36 _text = string.Empty;
37 do
38 {
39 switch (input.NodeType)
40 {
41 case XPathNodeType.Text:
42 case XPathNodeType.SignificantWhitespace:
43 case XPathNodeType.Whitespace:
44 _text += input.Value;
45 break;
46 default:
47 throw compiler.UnexpectedKeyword();
48 case XPathNodeType.ProcessingInstruction:
49 case XPathNodeType.Comment:
50 break;
51 }
52 }
53 while (compiler.Advance());
54 compiler.ToParent();
55 }

References System.Xml.Xsl.XsltOld.TextAction._text, System.Xml.Dictionary, and System.input.

Referenced by System.Xml.Xsl.XsltOld.TextAction.Compile().