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

◆ ScanNumber()

void System.Xml.Xsl.XPath.XPathScanner.ScanNumber ( )
inlineprivate

Definition at line 400 of file XPathScanner.cs.

401 {
402 while (IsAsciiDigit(_curChar))
403 {
404 NextChar();
405 }
406 if (_curChar == '.')
407 {
408 NextChar();
409 while (IsAsciiDigit(_curChar))
410 {
411 NextChar();
412 }
413 }
414 if ((_curChar & -33) == 69)
415 {
416 NextChar();
417 if (_curChar == '+' || _curChar == '-')
418 {
419 NextChar();
420 }
421 while (IsAsciiDigit(_curChar))
422 {
423 NextChar();
424 }
426 }
427 }
static string XPath_ScientificNotation
Definition SR.cs:1830
Definition SR.cs:7
XPathCompileException CreateException(string resId, params string[] args)
static bool IsAsciiDigit(char ch)

References System.Xml.Xsl.XPath.XPathScanner._curChar, System.Xml.Xsl.XPath.XPathScanner.CreateException(), System.Xml.Xsl.XPath.XPathScanner.IsAsciiDigit(), System.Xml.Xsl.XPath.XPathScanner.NextChar(), and System.SR.XPath_ScientificNotation.

Referenced by System.Xml.Xsl.XPath.XPathScanner.NextLex().