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

◆ AnalyzeContent()

void System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer.AnalyzeContent ( QilNode nd)
inlineprivate

Definition at line 31 of file XmlILNamespaceAnalyzer.cs.

32 {
33 switch (nd.NodeType)
34 {
35 case QilNodeType.Loop:
36 _addInScopeNmsp = false;
38 break;
39 case QilNodeType.Sequence:
40 {
41 foreach (QilNode item in nd)
42 {
44 }
45 break;
46 }
47 case QilNodeType.Conditional:
48 _addInScopeNmsp = false;
51 break;
52 case QilNodeType.Choice:
53 {
54 _addInScopeNmsp = false;
55 QilList branches = (nd as QilChoice).Branches;
56 for (int i = 0; i < branches.Count; i++)
57 {
59 }
60 break;
61 }
62 case QilNodeType.ElementCtor:
63 {
64 _addInScopeNmsp = true;
66 int cntNmsp = _cntNmsp;
68 {
70 }
72 _addInScopeNmsp = false;
74 break;
75 }
76 case QilNodeType.AttributeCtor:
77 _addInScopeNmsp = false;
79 break;
80 case QilNodeType.NamespaceDecl:
82 break;
83 case QilNodeType.Nop:
85 break;
86 default:
87 _addInScopeNmsp = false;
88 break;
89 }
90 }

References System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer._addInScopeNmsp, System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer._cntNmsp, System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer._nsmgr, System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer.AnalyzeContent(), System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer.CheckNamespaceInScope(), System.Xml.Dictionary, System.item, System.Xml.XmlNamespaceManager.PopScope(), and System.Xml.XmlNamespaceManager.PushScope().

Referenced by System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer.Analyze(), and System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer.AnalyzeContent().