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