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

◆ VisitNodeProperty()

QilNode System.Xml.Xsl.IlGen.XmlILVisitor.VisitNodeProperty ( QilUnary ndProp)
inlineprivate

Definition at line 1848 of file XmlILVisitor.cs.

1849 {
1851 switch (ndProp.NodeType)
1852 {
1853 case QilNodeType.NameOf:
1855 _helper.Call(XmlILMethods.NavLocalName);
1856 _helper.Call(XmlILMethods.NavNmsp);
1857 _helper.Construct(XmlILConstructors.QName);
1858 _iterCurr.Storage = StorageDescriptor.Stack(typeof(XmlQualifiedName), isCached: false);
1859 break;
1860 case QilNodeType.LocalNameOf:
1861 _helper.Call(XmlILMethods.NavLocalName);
1862 _iterCurr.Storage = StorageDescriptor.Stack(typeof(string), isCached: false);
1863 break;
1864 case QilNodeType.NamespaceUriOf:
1865 _helper.Call(XmlILMethods.NavNmsp);
1866 _iterCurr.Storage = StorageDescriptor.Stack(typeof(string), isCached: false);
1867 break;
1868 case QilNodeType.PrefixOf:
1869 _helper.Call(XmlILMethods.NavPrefix);
1870 _iterCurr.Storage = StorageDescriptor.Stack(typeof(string), isCached: false);
1871 break;
1872 }
1873 return ndProp;
1874 }
static readonly OpCode Dup
Definition OpCodes.cs:77
void Construct(ConstructorInfo constr)

References System.Xml.Xsl.IlGen.XmlILVisitor._helper, System.Xml.Xsl.IlGen.GenerateHelper.Call(), System.Xml.Xsl.IlGen.GenerateHelper.Construct(), System.Xml.Dictionary, System.Reflection.Emit.OpCodes.Dup, System.Xml.Xsl.IlGen.GenerateHelper.Emit(), System.Xml.Xsl.IlGen.XmlILMethods.NavLocalName, System.Xml.Xsl.IlGen.XmlILMethods.NavNmsp, System.Xml.Xsl.IlGen.XmlILMethods.NavPrefix, System.Xml.Xsl.IlGen.XmlILVisitor.NestedVisitEnsureStack(), System.Xml.Xsl.IlGen.XmlILConstructors.QName, and System.Xml.Xsl.IlGen.StorageDescriptor.Stack().

Referenced by System.Xml.Xsl.IlGen.XmlILVisitor.VisitLocalNameOf(), System.Xml.Xsl.IlGen.XmlILVisitor.VisitNameOf(), System.Xml.Xsl.IlGen.XmlILVisitor.VisitNamespaceUriOf(), and System.Xml.Xsl.IlGen.XmlILVisitor.VisitPrefixOf().