88 references to ScannerNodeType
System.Xaml (88)
System\Xaml\Parser\XamlPullParser.cs (68)
64
ScannerNodeType
nodeType = _xamlScanner.NodeType;
65
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION)
90
ScannerNodeType
nodeType = _xamlScanner.NodeType;
94
case
ScannerNodeType
.EMPTYELEMENT:
102
case
ScannerNodeType
.ELEMENT:
124
if (_xamlScanner.NodeType !=
ScannerNodeType
.EMPTYELEMENT)
137
while (_xamlScanner.NodeType ==
ScannerNodeType
.DIRECTIVE)
152
while (_xamlScanner.NodeType ==
ScannerNodeType
.ATTRIBUTE)
175
if (_xamlScanner.NodeType !=
ScannerNodeType
.ELEMENT)
188
while (_xamlScanner.NodeType ==
ScannerNodeType
.DIRECTIVE)
209
while (_xamlScanner.NodeType ==
ScannerNodeType
.ATTRIBUTE)
229
ScannerNodeType
nodeType = _xamlScanner.NodeType;
232
case
ScannerNodeType
.PROPERTYELEMENT:
233
case
ScannerNodeType
.EMPTYPROPERTYELEMENT:
242
case
ScannerNodeType
.PREFIXDEFINITION:
243
case
ScannerNodeType
.ELEMENT:
244
case
ScannerNodeType
.EMPTYELEMENT:
245
case
ScannerNodeType
.TEXT:
256
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION
257
|| nodeType ==
ScannerNodeType
.ELEMENT
258
|| nodeType ==
ScannerNodeType
.EMPTYELEMENT
259
|| nodeType ==
ScannerNodeType
.TEXT);
281
case
ScannerNodeType
.ENDTAG:
302
if (_xamlScanner.NodeType !=
ScannerNodeType
.ENDTAG)
321
ScannerNodeType
nodeType = _xamlScanner.NodeType;
325
case
ScannerNodeType
.EMPTYPROPERTYELEMENT:
332
case
ScannerNodeType
.PROPERTYELEMENT:
350
if (_xamlScanner.NodeType !=
ScannerNodeType
.EMPTYPROPERTYELEMENT)
370
if (_xamlScanner.NodeType !=
ScannerNodeType
.PROPERTYELEMENT)
386
ScannerNodeType
nodeType = _xamlScanner.NodeType;
389
case
ScannerNodeType
.PREFIXDEFINITION:
390
case
ScannerNodeType
.ELEMENT:
391
case
ScannerNodeType
.EMPTYELEMENT:
392
case
ScannerNodeType
.TEXT:
402
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION
403
|| nodeType ==
ScannerNodeType
.ELEMENT
404
|| nodeType ==
ScannerNodeType
.EMPTYELEMENT
405
|| nodeType ==
ScannerNodeType
.TEXT);
432
if (_xamlScanner.NodeType !=
ScannerNodeType
.ENDTAG)
454
ScannerNodeType
nodeType = _xamlScanner.NodeType;
457
case
ScannerNodeType
.PREFIXDEFINITION:
458
case
ScannerNodeType
.ELEMENT:
459
case
ScannerNodeType
.EMPTYELEMENT:
460
case
ScannerNodeType
.TEXT:
461
if (nodeType ==
ScannerNodeType
.TEXT)
481
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION)
511
if (nodeType ==
ScannerNodeType
.TEXT)
589
if (nodeType ==
ScannerNodeType
.TEXT)
651
ScannerNodeType
nodeType = _xamlScanner.NodeType;
658
case
ScannerNodeType
.PREFIXDEFINITION:
659
case
ScannerNodeType
.ELEMENT:
660
case
ScannerNodeType
.EMPTYELEMENT:
661
case
ScannerNodeType
.TEXT:
662
if (nodeType ==
ScannerNodeType
.TEXT)
692
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION)
716
if (nodeType ==
ScannerNodeType
.TEXT
740
if (nodeType ==
ScannerNodeType
.TEXT)
921
ScannerNodeType
nextNodeType = _xamlScanner.PeekNodeType;
928
if (nextNodeType ==
ScannerNodeType
.ENDTAG || nextNodeType ==
ScannerNodeType
.PROPERTYELEMENT || nextNodeType ==
ScannerNodeType
.EMPTYPROPERTYELEMENT)
943
if (nextNodeType ==
ScannerNodeType
.ELEMENT
944
|| nextNodeType ==
ScannerNodeType
.EMPTYELEMENT)
1029
XamlType valueElementType = (_xamlScanner.NodeType ==
ScannerNodeType
.TEXT)
1075
&& _xamlScanner.NodeType ==
ScannerNodeType
.TEXT)
1153
if (_xamlScanner.PeekNodeType ==
ScannerNodeType
.ELEMENT)
1172
else if (text.IsSpacePreserved && _xamlScanner.PeekNodeType ==
ScannerNodeType
.ENDTAG)
1259
public XamlUnexpectedParseException(XamlScanner xamlScanner,
ScannerNodeType
nodetype, string parseRule)
System\Xaml\Parser\XamlScanner.cs (19)
63
public
ScannerNodeType
PeekNodeType
81
public
ScannerNodeType
NodeType
331
node.NodeType =
ScannerNodeType
.ELEMENT;
336
node.NodeType =
ScannerNodeType
.EMPTYELEMENT;
359
node.NodeType =
ScannerNodeType
.PROPERTYELEMENT;
402
node.NodeType =
ScannerNodeType
.ELEMENT;
407
node.NodeType =
ScannerNodeType
.EMPTYELEMENT;
460
node.NodeType =
ScannerNodeType
.PROPERTYELEMENT;
464
node.NodeType =
ScannerNodeType
.EMPTYPROPERTYELEMENT;
496
NodeType =
ScannerNodeType
.ENDTAG
520
NodeType =
ScannerNodeType
.NONE
531
node.NodeType =
ScannerNodeType
.TEXT;
763
node.NodeType =
ScannerNodeType
.DIRECTIVE;
777
node.NodeType =
ScannerNodeType
.DIRECTIVE;
783
node.NodeType =
ScannerNodeType
.ATTRIBUTE;
791
node.NodeType =
ScannerNodeType
.ATTRIBUTE;
795
node.NodeType =
ScannerNodeType
.ATTRIBUTE;
852
NodeType =
ScannerNodeType
.TEXT,
867
NodeType =
ScannerNodeType
.PREFIXDEFINITION,
System\Xaml\Parser\XamlScannerNode.cs (1)
30
public
ScannerNodeType
NodeType { get; set; }