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

◆ ResolveVariable()

VariableAction System.Xml.Xsl.XsltOld.InputScope.ResolveVariable ( XmlQualifiedName qname)
inline

Definition at line 117 of file InputScope.cs.

118 {
119 for (InputScope inputScope = this; inputScope != null; inputScope = inputScope.Parent)
120 {
121 if (inputScope.Variables != null)
122 {
123 VariableAction variableAction = (VariableAction)inputScope.Variables[qname];
124 if (variableAction != null)
125 {
126 return variableAction;
127 }
128 }
129 }
130 return null;
131 }
InputScope(InputScope parent)
Definition InputScope.cs:47

References System.Xml.Dictionary, and System.Xml.Xsl.XsltOld.InputScope.Parent.

Referenced by System.Xml.Xsl.XsltOld.InputScope.ResolveGlobalVariable(), and System.Xml.Xsl.XsltOld.XsltCompileContext.ResolveVariable().