88 references to ScannerNodeType
System.Xaml (88)
System\Xaml\Parser\XamlPullParser.cs (68)
66
ScannerNodeType
nodeType = _xamlScanner.NodeType;
67
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION)
91
ScannerNodeType
nodeType = _xamlScanner.NodeType;
95
case
ScannerNodeType
.EMPTYELEMENT:
102
case
ScannerNodeType
.ELEMENT:
122
if (_xamlScanner.NodeType !=
ScannerNodeType
.EMPTYELEMENT)
134
while (_xamlScanner.NodeType ==
ScannerNodeType
.DIRECTIVE)
147
while (_xamlScanner.NodeType ==
ScannerNodeType
.ATTRIBUTE)
169
if (_xamlScanner.NodeType !=
ScannerNodeType
.ELEMENT)
181
while (_xamlScanner.NodeType ==
ScannerNodeType
.DIRECTIVE)
201
while (_xamlScanner.NodeType ==
ScannerNodeType
.ATTRIBUTE)
220
ScannerNodeType
nodeType = _xamlScanner.NodeType;
223
case
ScannerNodeType
.PROPERTYELEMENT:
224
case
ScannerNodeType
.EMPTYPROPERTYELEMENT:
232
case
ScannerNodeType
.PREFIXDEFINITION:
233
case
ScannerNodeType
.ELEMENT:
234
case
ScannerNodeType
.EMPTYELEMENT:
235
case
ScannerNodeType
.TEXT:
244
} while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION
245
|| nodeType ==
ScannerNodeType
.ELEMENT
246
|| nodeType ==
ScannerNodeType
.EMPTYELEMENT
247
|| nodeType ==
ScannerNodeType
.TEXT);
268
case
ScannerNodeType
.ENDTAG:
287
if (_xamlScanner.NodeType !=
ScannerNodeType
.ENDTAG)
305
ScannerNodeType
nodeType = _xamlScanner.NodeType;
309
case
ScannerNodeType
.EMPTYPROPERTYELEMENT:
315
case
ScannerNodeType
.PROPERTYELEMENT:
332
if (_xamlScanner.NodeType !=
ScannerNodeType
.EMPTYPROPERTYELEMENT)
351
if (_xamlScanner.NodeType !=
ScannerNodeType
.PROPERTYELEMENT)
366
ScannerNodeType
nodeType = _xamlScanner.NodeType;
369
case
ScannerNodeType
.PREFIXDEFINITION:
370
case
ScannerNodeType
.ELEMENT:
371
case
ScannerNodeType
.EMPTYELEMENT:
372
case
ScannerNodeType
.TEXT:
380
} while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION
381
|| nodeType ==
ScannerNodeType
.ELEMENT
382
|| nodeType ==
ScannerNodeType
.EMPTYELEMENT
383
|| nodeType ==
ScannerNodeType
.TEXT);
409
if (_xamlScanner.NodeType !=
ScannerNodeType
.ENDTAG)
430
ScannerNodeType
nodeType = _xamlScanner.NodeType;
433
case
ScannerNodeType
.PREFIXDEFINITION:
434
case
ScannerNodeType
.ELEMENT:
435
case
ScannerNodeType
.EMPTYELEMENT:
436
case
ScannerNodeType
.TEXT:
437
if (nodeType ==
ScannerNodeType
.TEXT)
456
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION)
483
if (nodeType ==
ScannerNodeType
.TEXT)
556
if (nodeType ==
ScannerNodeType
.TEXT)
617
ScannerNodeType
nodeType = _xamlScanner.NodeType;
624
case
ScannerNodeType
.PREFIXDEFINITION:
625
case
ScannerNodeType
.ELEMENT:
626
case
ScannerNodeType
.EMPTYELEMENT:
627
case
ScannerNodeType
.TEXT:
628
if (nodeType ==
ScannerNodeType
.TEXT)
657
while (nodeType ==
ScannerNodeType
.PREFIXDEFINITION)
678
if (nodeType ==
ScannerNodeType
.TEXT
702
if (nodeType ==
ScannerNodeType
.TEXT)
879
ScannerNodeType
nextNodeType = _xamlScanner.PeekNodeType;
886
if (nextNodeType ==
ScannerNodeType
.ENDTAG || nextNodeType ==
ScannerNodeType
.PROPERTYELEMENT || nextNodeType ==
ScannerNodeType
.EMPTYPROPERTYELEMENT)
901
if (nextNodeType ==
ScannerNodeType
.ELEMENT
902
|| nextNodeType ==
ScannerNodeType
.EMPTYELEMENT)
983
XamlType valueElementType = (_xamlScanner.NodeType ==
ScannerNodeType
.TEXT)
1027
&& _xamlScanner.NodeType ==
ScannerNodeType
.TEXT)
1102
if (_xamlScanner.PeekNodeType ==
ScannerNodeType
.ELEMENT)
1118
else if (text.IsSpacePreserved && _xamlScanner.PeekNodeType ==
ScannerNodeType
.ENDTAG)
1197
public XamlUnexpectedParseException(XamlScanner xamlScanner,
ScannerNodeType
nodetype, string parseRule)
System\Xaml\Parser\XamlScanner.cs (19)
66
public
ScannerNodeType
PeekNodeType
84
public
ScannerNodeType
NodeType
331
node.NodeType =
ScannerNodeType
.ELEMENT;
336
node.NodeType =
ScannerNodeType
.EMPTYELEMENT;
358
node.NodeType =
ScannerNodeType
.PROPERTYELEMENT;
400
node.NodeType =
ScannerNodeType
.ELEMENT;
405
node.NodeType =
ScannerNodeType
.EMPTYELEMENT;
457
node.NodeType =
ScannerNodeType
.PROPERTYELEMENT;
461
node.NodeType =
ScannerNodeType
.EMPTYPROPERTYELEMENT;
492
node.NodeType =
ScannerNodeType
.ENDTAG;
514
node.NodeType =
ScannerNodeType
.NONE;
524
node.NodeType =
ScannerNodeType
.TEXT;
749
node.NodeType =
ScannerNodeType
.DIRECTIVE;
762
node.NodeType =
ScannerNodeType
.DIRECTIVE;
768
node.NodeType =
ScannerNodeType
.ATTRIBUTE;
776
node.NodeType =
ScannerNodeType
.ATTRIBUTE;
780
node.NodeType =
ScannerNodeType
.ATTRIBUTE;
835
node.NodeType =
ScannerNodeType
.TEXT;
848
node.NodeType =
ScannerNodeType
.PREFIXDEFINITION;
System\Xaml\Parser\XamlScannerNode.cs (1)
31
public
ScannerNodeType
NodeType { get; set; }