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

◆ ProcessVarPar()

XslFlags System.Xml.Xsl.Xslt.XslAstAnalyzer.ProcessVarPar ( VarPar node)
inlineprivate

Definition at line 885 of file XslAstAnalyzer.cs.

886 {
887 XslFlags result;
888 if (node.Select != null)
889 {
890 if (node.Content.Count != 0)
891 {
892 result = _xpathAnalyzer.Analyze(node.Select) | VisitChildren(node) | XslFlags.TypeFilter;
893 _typeDonor = null;
894 }
895 else
896 {
897 result = _xpathAnalyzer.Analyze(node.Select);
899 if (_typeDonor != null && node.NodeType != XslNodeType.WithParam)
900 {
901 _dataFlow.AddEdge(_typeDonor, node);
902 }
903 }
904 }
905 else if (node.Content.Count != 0)
906 {
907 result = XslFlags.Rtf | VisitChildren(node);
908 _typeDonor = null;
909 }
910 else
911 {
912 result = XslFlags.String;
913 _typeDonor = null;
914 }
915 return result;
916 }
override XslFlags VisitChildren(XslNode node)

References System.Xml.Xsl.Xslt.XslAstAnalyzer._dataFlow, System.Xml.Xsl.Xslt.XslAstAnalyzer._typeDonor, System.Xml.Xsl.Xslt.XslAstAnalyzer._xpathAnalyzer, System.Xml.Xsl.Xslt.XslAstAnalyzer.XPathAnalyzer.Analyze(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, System.Xml.Xsl.Xslt.XslAstAnalyzer.XPathAnalyzer.TypeDonor, and System.Xml.Xsl.Xslt.XslAstAnalyzer.VisitChildren().

Referenced by System.Xml.Xsl.Xslt.XslAstAnalyzer.VisitParam(), System.Xml.Xsl.Xslt.XslAstAnalyzer.VisitVariable(), and System.Xml.Xsl.Xslt.XslAstAnalyzer.VisitWithParam().