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