Lines Matching refs:CheckedError
149 CheckedError Parser::Error(const std::string &msg) { in Error()
151 return CheckedError(true); in Error()
154 inline CheckedError NoError() { return CheckedError(false); } in NoError()
156 CheckedError Parser::RecurseError() { in RecurseError()
172 CheckedError Check() { in Check()
175 : CheckedError(false); in Check()
205 template<typename T> CheckedError atot(const char *s, Parser &parser, T *val) { in atot()
215 inline CheckedError atot<Offset<void>>(const char *s, Parser &parser, in atot()
305 CheckedError Parser::ParseHexNum(int nibbles, uint64_t *val) { in ParseHexNum()
317 CheckedError Parser::SkipByteOrderMark() { in SkipByteOrderMark()
333 CheckedError Parser::Next() { in Next()
583 CheckedError Parser::Expect(int t) { in Expect()
592 CheckedError Parser::ParseNamespacing(std::string *id, std::string *last) { in ParseNamespacing()
621 CheckedError Parser::ParseTypeIdent(Type &type) { in ParseTypeIdent()
637 CheckedError Parser::ParseType(Type &type) { in ParseType()
715 CheckedError Parser::AddField(StructDef &struct_def, const std::string &name, in AddField()
739 CheckedError Parser::ParseField(StructDef &struct_def) { in ParseField()
1039 CheckedError Parser::ParseString(Value &val, bool use_string_pooling) { in ParseString()
1050 CheckedError Parser::ParseComma() { in ParseComma()
1055 CheckedError Parser::ParseAnyValue(Value &val, FieldDef *field, in ParseAnyValue()
1196 CheckedError Parser::ParseTableDelimiters(size_t &fieldn, in ParseTableDelimiters()
1236 CheckedError Parser::ParseTable(const StructDef &struct_def, std::string *value, in ParseTable()
1245 const StructDef *struct_def_inner) -> CheckedError { in ParseTable()
1397 CheckedError Parser::ParseVectorDelimiters(uoffset_t &count, F body) { in ParseVectorDelimiters()
1495 CheckedError Parser::ParseAlignAttribute(const std::string &align_constant, in ParseAlignAttribute()
1512 CheckedError Parser::ParseVector(const Type &type, uoffset_t *ovalue, in ParseVector()
1515 auto err = ParseVectorDelimiters(count, [&](uoffset_t &) -> CheckedError { in ParseVector()
1619 CheckedError Parser::ParseArray(Value &array) { in ParseArray()
1625 auto err = ParseVectorDelimiters(count, [&](uoffset_t &) -> CheckedError { in ParseArray()
1666 CheckedError Parser::ParseNestedFlatbuffer(Value &val, FieldDef *field, in ParseNestedFlatbuffer()
1705 CheckedError Parser::ParseMetaData(SymbolTable<Value> *attributes) { in ParseMetaData()
1733 CheckedError Parser::ParseEnumFromString(const Type &type, in ParseEnumFromString()
1765 CheckedError Parser::ParseHash(Value &e, FieldDef *field) { in ParseHash()
1811 CheckedError Parser::TokenError() { in TokenError()
1831 CheckedError Parser::ParseFunction(const std::string *name, Value &e) { in ParseFunction()
1874 CheckedError Parser::TryTypedValue(const std::string *name, int dtoken, in TryTypedValue()
1909 CheckedError Parser::ParseSingleValue(const std::string *name, Value &e, in ParseSingleValue()
2284 CheckedError Parser::ParseEnum(const bool is_union, EnumDef **dest) { in ParseEnum()
2415 CheckedError Parser::StartStruct(const std::string &name, StructDef **dest) { in StartStruct()
2429 CheckedError Parser::CheckClash(std::vector<FieldDef *> &fields, in CheckClash()
2515 CheckedError Parser::ParseDecl() { in ParseDecl()
2602 CheckedError Parser::ParseService() { in ParseService()
2667 CheckedError Parser::ParseNamespace() { in ParseNamespace()
2688 CheckedError Parser::ParseProtoDecl() { in ParseProtoDecl()
2750 CheckedError Parser::StartEnum(const std::string &enum_name, bool is_union, in StartEnum()
2768 CheckedError Parser::ParseProtoFields(StructDef *struct_def, bool isextend, in ParseProtoFields()
2920 CheckedError Parser::ParseProtoKey() { in ParseProtoKey()
2936 CheckedError Parser::ParseProtoCurliesOrIdent() { in ParseProtoCurliesOrIdent()
2952 CheckedError Parser::ParseProtoOption() { in ParseProtoOption()
2961 CheckedError Parser::ParseTypeFromProtoType(Type *type) { in ParseTypeFromProtoType()
2997 CheckedError Parser::SkipAnyJsonValue() { in SkipAnyJsonValue()
3006 const StructDef *) -> CheckedError { in SkipAnyJsonValue()
3014 return ParseVectorDelimiters(count, [&](uoffset_t &) -> CheckedError { in SkipAnyJsonValue()
3030 CheckedError Parser::ParseFlexBufferNumericConstant( in ParseFlexBufferNumericConstant()
3039 CheckedError Parser::ParseFlexBufferValue(flexbuffers::Builder *builder) { in ParseFlexBufferValue()
3050 const StructDef *) -> CheckedError { in ParseFlexBufferValue()
3065 ECHECK(ParseVectorDelimiters(count, [&](uoffset_t &) -> CheckedError { in ParseFlexBufferValue()
3153 CheckedError Parser::StartParseFile(const char *source, in StartParseFile()
3165 CheckedError Parser::ParseRoot(const char *source, const char **include_paths, in ParseRoot()
3261 CheckedError Parser::DoParse(const char *source, const char **include_paths, in DoParse()
3416 CheckedError Parser::DoParseJson() { in DoParseJson()