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

◆ IsNodeType()

static bool System.Xml.Xsl.XPath.XPathParser< Node >.IsNodeType ( XPathScanner scanner)
inlinestaticprivate

Definition at line 172 of file XPathParser.cs.

173 {
174 if (scanner.Prefix.Length == 0)
175 {
176 if (!(scanner.Name == "node") && !(scanner.Name == "text") && !(scanner.Name == "processing-instruction"))
177 {
178 return scanner.Name == "comment";
179 }
180 return true;
181 }
182 return false;
183 }

References System.Xml.Dictionary.

Referenced by System.Xml.Xsl.XPath.XPathParser< Node >.InternalParseNodeTest(), and System.Xml.Xsl.XPath.XPathParser< Node >.IsPrimaryExpr().