44 references to MeTokenType
System.Xaml (44)
System\Xaml\Parser\MePullParser.cs (32)
56
if (_tokenizer.Token !=
MeTokenType
.None)
75
private bool Expect(
MeTokenType
token, string ruleString)
91
if (Expect(
MeTokenType
.Open, "MarkupExtension ::= @'{' Expr '}'"))
96
if (_tokenizer.Token ==
MeTokenType
.TypeName)
109
case
MeTokenType
.Close: // legal, Arguments is optional
115
case
MeTokenType
.String:
116
case
MeTokenType
.QuotedMarkupExtension:
117
case
MeTokenType
.PropertyName:
118
case
MeTokenType
.Open:
133
if (Expect(
MeTokenType
.Close, "MarkupExtension ::= '{' TYPENAME (Arguments)? @'}'"))
157
case
MeTokenType
.Close: // not found
161
case
MeTokenType
.String:
162
case
MeTokenType
.QuotedMarkupExtension:
163
case
MeTokenType
.Open:
178
while (_tokenizer.Token ==
MeTokenType
.Comma)
192
case
MeTokenType
.PropertyName:
217
case
MeTokenType
.String:
218
case
MeTokenType
.QuotedMarkupExtension:
219
case
MeTokenType
.Open:
237
if (_tokenizer.Token ==
MeTokenType
.Comma)
259
case
MeTokenType
.PropertyName:
291
case
MeTokenType
.PropertyName:
299
while (_tokenizer.Token ==
MeTokenType
.Comma)
329
case
MeTokenType
.String:
336
case
MeTokenType
.QuotedMarkupExtension:
347
case
MeTokenType
.Open:
368
if (_tokenizer.Token ==
MeTokenType
.PropertyName)
375
Expect(
MeTokenType
.EqualSign, "NamedArg ::= PROPERTYNAME @'=' Value");
382
case
MeTokenType
.String:
389
case
MeTokenType
.QuotedMarkupExtension:
400
case
MeTokenType
.Open:
408
case
MeTokenType
.PropertyName:
System\Xaml\Parser\MeScanner.cs (12)
58
MeTokenType
_token;
101
public
MeTokenType
Token
146
_token =
MeTokenType
.None;
155
_token =
MeTokenType
.String;
161
_token =
MeTokenType
.Open;
181
_token =
MeTokenType
.Close;
186
_token =
MeTokenType
.EqualSign;
192
_token =
MeTokenType
.Comma;
219
_token = (isQuotedMarkupExtension) ?
MeTokenType
.QuotedMarkupExtension :
MeTokenType
.String;
227
_token =
MeTokenType
.TypeName;
232
_token =
MeTokenType
.PropertyName;