Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MS.Internal.Xml.XPath.XPathScanner Struct Reference

Public Types

enum  LexKind {
  Comma = 44 , Slash = 47 , At = 64 , Dot = 46 ,
  LParens = 40 , RParens = 41 , LBracket = 91 , RBracket = 93 ,
  Star = 42 , Plus = 43 , Minus = 45 , Eq = 61 ,
  Lt = 60 , Gt = 62 , Bang = 33 , Dollar = 36 ,
  Apos = 39 , Quote = 34 , Union = 124 , Ne = 78 ,
  Le = 76 , Ge = 71 , And = 65 , Or = 79 ,
  DotDot = 68 , SlashSlash = 83 , Name = 110 , String = 115 ,
  Number = 100 , Axe = 97 , Eof = 69
}
 

Public Member Functions

 XPathScanner (string xpathExpr)
 
bool NextLex ()
 

Properties

string SourceText [get]
 
char CurrentChar [get]
 
LexKind Kind [get]
 
string Name [get]
 
string Prefix [get]
 
string StringValue [get]
 
double NumberValue [get]
 
bool CanBeFunction [get]
 

Private Member Functions

bool NextChar ()
 
void SkipSpace ()
 
void SkipKnownSpace ()
 
double ScanNumber ()
 
double ScanFraction ()
 
string ScanString ()
 
string ScanName ()
 

Private Attributes

readonly string _xpathExpr
 
int _xpathExprIndex
 
LexKind _kind
 
char _currentChar
 
string _name
 
string _prefix
 
string _stringValue
 
double _numberValue
 
bool _canBeFunction
 

Detailed Description

Definition at line 9 of file XPathScanner.cs.


The documentation for this struct was generated from the following file: