Lines Matching refs:EXPECT

68 #define EXPECT(tok) ECHECK(Expect(tok))  macro
508 EXPECT(kTokenIdentifier); in ParseNamespacing()
532 EXPECT(kTokenIdentifier); in ParseTypeIdent()
598 EXPECT(']'); in ParseType()
636 EXPECT(kTokenIdentifier); in ParseField()
637 EXPECT(':'); in ParseField()
828 EXPECT(';'); in ParseField()
834 EXPECT(kTokenStringConstant); in ParseString()
840 if (!opts.protobuf_ascii_alike) EXPECT(','); in ParseComma()
877 EXPECT(kTokenIdentifier); in ParseAnyValue()
882 EXPECT(':'); in ParseAnyValue()
961 EXPECT('{'); in ParseTableDelimiters()
976 EXPECT(opts.strict_json ? kTokenStringConstant : kTokenIdentifier); in ParseTableDelimiters()
978 if (!opts.protobuf_ascii_alike || !(Is('{') || Is('['))) EXPECT(':'); in ParseTableDelimiters()
1148 EXPECT('['); in ParseVectorDelimiters()
1262 EXPECT(','); in ParseMetaData()
1409 EXPECT('('); in ParseSingleValue()
1411 EXPECT(')'); in ParseSingleValue()
1593 EXPECT(kTokenIdentifier); in ParseEnum()
1616 EXPECT('{'); in ParseEnum()
1626 EXPECT(kTokenIdentifier); in ParseEnum()
1664 EXPECT(kTokenIntegerConstant); in ParseEnum()
1710 EXPECT('}'); in ParseEnum()
1805 EXPECT(kTokenIdentifier); in ParseDecl()
1813 EXPECT('{'); in ParseDecl()
1864 EXPECT('}'); in ParseDecl()
1874 EXPECT(kTokenIdentifier); in ParseService()
1884 EXPECT('{'); in ParseService()
1888 EXPECT(kTokenIdentifier); in ParseService()
1889 EXPECT('('); in ParseService()
1892 EXPECT(')'); in ParseService()
1893 EXPECT(':'); in ParseService()
1906 EXPECT(';'); in ParseService()
1942 EXPECT(kTokenIdentifier); in ParseNamespace()
1948 EXPECT(';'); in ParseNamespace()
1973 EXPECT(kTokenIdentifier); in ParseProtoDecl()
1980 EXPECT(kTokenIdentifier); in ParseProtoDecl()
2014 EXPECT('='); in ParseProtoDecl()
2015 EXPECT(kTokenStringConstant); in ParseProtoDecl()
2016 EXPECT(';'); in ParseProtoDecl()
2019 EXPECT(';'); in ParseProtoDecl()
2022 EXPECT(kTokenIdentifier); in ParseProtoDecl()
2051 EXPECT('{'); in ParseProtoFields()
2058 EXPECT(kTokenIntegerConstant); in ParseProtoFields()
2063 EXPECT(';'); in ParseProtoFields()
2066 EXPECT(';'); in ParseProtoFields()
2124 EXPECT(kTokenIdentifier); in ParseProtoFields()
2129 EXPECT('='); in ParseProtoFields()
2130 EXPECT(kTokenIntegerConstant); in ParseProtoFields()
2147 EXPECT('='); in ParseProtoFields()
2161 EXPECT(']'); in ParseProtoFields()
2188 EXPECT(';'); in ParseProtoFields()
2201 EXPECT(')'); in ParseProtoKey()
2204 EXPECT(kTokenIdentifier); in ParseProtoKey()
2207 EXPECT(kTokenIdentifier); in ParseProtoKey()
2231 EXPECT('='); in ParseProtoOption()
2333 EXPECT(kTokenStringConstant); in ParseFlexBufferValue()
2337 EXPECT(kTokenIntegerConstant); in ParseFlexBufferValue()
2341 EXPECT(kTokenFloatConstant); in ParseFlexBufferValue()
2500 EXPECT(kTokenStringConstant); in DoParse()
2501 EXPECT(';'); in DoParse()
2506 EXPECT(kTokenStringConstant); in DoParse()
2545 EXPECT(';'); in DoParse()
2575 EXPECT(kTokenEof); in DoParse()
2583 EXPECT(kTokenIdentifier); in DoParse()
2591 EXPECT(';'); in DoParse()
2595 EXPECT(kTokenStringConstant); in DoParse()
2600 EXPECT(';'); in DoParse()
2604 EXPECT(kTokenStringConstant); in DoParse()
2605 EXPECT(';'); in DoParse()
2614 EXPECT(kTokenStringConstant); in DoParse()
2616 EXPECT(';'); in DoParse()