Lines Matching refs:IsIdent
490 bool Parser::IsIdent(const char *id) const { in IsIdent() function in flatbuffers::Parser
550 if (IsIdent("bool")) { in ParseType()
553 } else if (IsIdent("byte") || IsIdent("int8")) { in ParseType()
556 } else if (IsIdent("ubyte") || IsIdent("uint8")) { in ParseType()
559 } else if (IsIdent("short") || IsIdent("int16")) { in ParseType()
562 } else if (IsIdent("ushort") || IsIdent("uint16")) { in ParseType()
565 } else if (IsIdent("int") || IsIdent("int32")) { in ParseType()
568 } else if (IsIdent("uint") || IsIdent("uint32")) { in ParseType()
571 } else if (IsIdent("long") || IsIdent("int64")) { in ParseType()
574 } else if (IsIdent("ulong") || IsIdent("uint64")) { in ParseType()
577 } else if (IsIdent("float") || IsIdent("float32")) { in ParseType()
580 } else if (IsIdent("double") || IsIdent("float64")) { in ParseType()
583 } else if (IsIdent("string")) { in ParseType()
1039 if (IsIdent("null") && !IsScalar(field->value.type.base_type)) { in ParseTable()
1834 bool fixed = IsIdent("struct"); in ParseDecl()
1835 if (!fixed && !IsIdent("table")) return Error("declaration expected"); in ParseDecl()
1994 bool isextend = IsIdent("extend"); in ParseProtoDecl()
1995 if (IsIdent("package")) { in ParseProtoDecl()
1998 } else if (IsIdent("message") || isextend) { in ParseProtoDecl()
2029 } else if (IsIdent("enum")) { in ParseProtoDecl()
2053 } else if (IsIdent("syntax")) { // Skip these. in ParseProtoDecl()
2058 } else if (IsIdent("option")) { // Skip these. in ParseProtoDecl()
2061 } else if (IsIdent("service")) { // Skip these. in ParseProtoDecl()
2094 if (IsIdent("message") || IsIdent("extend") || IsIdent("enum")) { in ParseProtoFields()
2097 } else if (IsIdent("extensions")) { // Skip these. in ParseProtoFields()
2105 } else if (IsIdent("option")) { // Skip these. in ParseProtoFields()
2108 } else if (IsIdent("reserved")) { // Skip these. in ParseProtoFields()
2119 if (IsIdent("optional")) { in ParseProtoFields()
2122 } else if (IsIdent("required")) { in ParseProtoFields()
2125 } else if (IsIdent("repeated")) { in ParseProtoFields()
2128 } else if (IsIdent("oneof")) { in ParseProtoFields()
2138 if (IsIdent("group") || oneof) { in ParseProtoFields()
2337 if (IsIdent("true") || IsIdent("false") || IsIdent("null")) { in SkipAnyJsonValue()
2385 if (IsIdent("true")) { in ParseFlexBufferValue()
2388 } else if (IsIdent("false")) { in ParseFlexBufferValue()
2391 } else if (IsIdent("null")) { in ParseFlexBufferValue()
2538 } else if (IsIdent("native_include")) { in DoParse()
2543 } else if (IsIdent("include") || (opts.proto_mode && IsIdent("import"))) { in DoParse()
2595 } else if (IsIdent("namespace")) { in DoParse()
2617 } else if (IsIdent("enum")) { in DoParse()
2619 } else if (IsIdent("union")) { in DoParse()
2621 } else if (IsIdent("root_type")) { in DoParse()
2633 } else if (IsIdent("file_identifier")) { in DoParse()
2642 } else if (IsIdent("file_extension")) { in DoParse()
2647 } else if (IsIdent("include")) { in DoParse()
2649 } else if (IsIdent("attribute")) { in DoParse()
2659 } else if (IsIdent("rpc_service")) { in DoParse()