44 references to MeTokenType
System.Xaml (44)
System\Xaml\Parser\MePullParser.cs (32)
55
if (_tokenizer.Token !=
MeTokenType
.None)
75
private bool Expect(
MeTokenType
token, string ruleString)
92
if (Expect(
MeTokenType
.Open, "MarkupExtension ::= @'{' Expr '}'"))
97
if (_tokenizer.Token ==
MeTokenType
.TypeName)
110
case
MeTokenType
.Close: // legal, Arguments is optional
116
case
MeTokenType
.String:
117
case
MeTokenType
.QuotedMarkupExtension:
118
case
MeTokenType
.PropertyName:
119
case
MeTokenType
.Open:
135
if (Expect(
MeTokenType
.Close, "MarkupExtension ::= '{' TYPENAME (Arguments)? @'}'"))
159
case
MeTokenType
.Close: // not found
163
case
MeTokenType
.String:
164
case
MeTokenType
.QuotedMarkupExtension:
165
case
MeTokenType
.Open:
181
while (_tokenizer.Token ==
MeTokenType
.Comma)
196
case
MeTokenType
.PropertyName:
222
case
MeTokenType
.String:
223
case
MeTokenType
.QuotedMarkupExtension:
224
case
MeTokenType
.Open:
244
if (_tokenizer.Token ==
MeTokenType
.Comma)
269
case
MeTokenType
.PropertyName:
304
case
MeTokenType
.PropertyName:
313
while (_tokenizer.Token ==
MeTokenType
.Comma)
344
case
MeTokenType
.String:
351
case
MeTokenType
.QuotedMarkupExtension:
363
case
MeTokenType
.Open:
385
if (_tokenizer.Token ==
MeTokenType
.PropertyName)
392
Expect(
MeTokenType
.EqualSign, "NamedArg ::= PROPERTYNAME @'=' Value");
399
case
MeTokenType
.String:
406
case
MeTokenType
.QuotedMarkupExtension:
418
case
MeTokenType
.Open:
427
case
MeTokenType
.PropertyName:
System\Xaml\Parser\MeScanner.cs (12)
55
MeTokenType
_token;
98
public
MeTokenType
Token
143
_token =
MeTokenType
.None;
152
_token =
MeTokenType
.String;
158
_token =
MeTokenType
.Open;
181
_token =
MeTokenType
.Close;
186
_token =
MeTokenType
.EqualSign;
192
_token =
MeTokenType
.Comma;
220
_token = (isQuotedMarkupExtension) ?
MeTokenType
.QuotedMarkupExtension :
MeTokenType
.String;
228
_token =
MeTokenType
.TypeName;
233
_token =
MeTokenType
.PropertyName;