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

◆ CheckEmpty()

void System.Xml.Xsl.XsltOld.CompiledAction.CheckEmpty ( Compiler compiler)
inlineinherited

Definition at line 58 of file CompiledAction.cs.

59 {
60 string name = compiler.Input.Name;
61 if (!compiler.Recurse())
62 {
63 return;
64 }
65 do
66 {
67 XPathNodeType nodeType = compiler.Input.NodeType;
68 if (nodeType != XPathNodeType.Whitespace && nodeType != XPathNodeType.Comment && nodeType != XPathNodeType.ProcessingInstruction)
69 {
70 throw XsltException.Create(System.SR.Xslt_NotEmptyContents, name);
71 }
72 }
73 while (compiler.Advance());
74 compiler.ToParent();
75 }
static string Xslt_NotEmptyContents
Definition SR.cs:1878
Definition SR.cs:7

References System.Xml.Xsl.XsltException.Create(), System.Xml.Dictionary, and System.SR.Xslt_NotEmptyContents.

Referenced by System.Xml.Xsl.XsltOld.ApplyImportsAction.Compile(), System.Xml.Xsl.XsltOld.CopyOfAction.Compile(), System.Xml.Xsl.XsltOld.NumberAction.Compile(), System.Xml.Xsl.XsltOld.SortAction.Compile(), System.Xml.Xsl.XsltOld.ValueOfAction.Compile(), System.Xml.Xsl.XsltOld.XsltOutput.Compile(), System.Xml.Xsl.XsltOld.ContainerAction.CompileDecimalFormat(), System.Xml.Xsl.XsltOld.ContainerAction.CompileInclude(), System.Xml.Xsl.XsltOld.ContainerAction.CompileNamespaceAlias(), System.Xml.Xsl.XsltOld.ContainerAction.CompileSpace(), and System.Xml.Xsl.XsltOld.ContainerAction.CompileTopLevelElements().