Lines Matching refs:attribute_
301 return t == kTokenIdentifier ? attribute_ : TokenToString(t); in TokenToStringId()
336 attribute_.clear(); in Next()
379 attribute_ += '\n'; in Next()
383 attribute_ += '\t'; in Next()
387 attribute_ += '\r'; in Next()
391 attribute_ += '\b'; in Next()
395 attribute_ += '\f'; in Next()
399 attribute_ += '\"'; in Next()
403 attribute_ += '\''; in Next()
407 attribute_ += '\\'; in Next()
411 attribute_ += '/'; in Next()
418 attribute_ += static_cast<char>(val); in Next()
440 ToUTF8(code_point, &attribute_); in Next()
448 ToUTF8(static_cast<int>(val), &attribute_); in Next()
463 attribute_ += *cursor_++; in Next()
471 !ValidateUTF8(attribute_)) { in Next()
505 attribute_.append(start, cursor_); in Next()
559 attribute_.append(start, cursor_); in Next()
579 return token_ == kTokenIdentifier && attribute_ == id; in IsIdent()
596 *id += attribute_; in ParseNamespacing()
597 if (last) *last = attribute_; in ParseNamespacing()
622 std::string id = attribute_; in ParseTypeIdent()
695 bool check = StringToNumber(attribute_.c_str(), &fixed_length); in ParseType()
740 std::string name = attribute_; in ParseField()
1040 auto s = attribute_; in ParseString()
1102 auto next_name = attribute_; in ParseAnyValue()
1217 name = attribute_; in ParseTableDelimiters()
1709 auto name = attribute_; in ParseMetaData()
1740 const auto delim = attribute_.find_first_of(' ', pos); in ParseEnumFromString()
1742 auto word = attribute_.substr(pos, !last ? delim - pos : std::string::npos); in ParseEnumFromString()
1771 int16_t hashed_value = static_cast<int16_t>(hash(attribute_.c_str())); in ParseHash()
1777 uint16_t hashed_value = hash(attribute_.c_str()); in ParseHash()
1783 int32_t hashed_value = static_cast<int32_t>(hash(attribute_.c_str())); in ParseHash()
1789 uint32_t hashed_value = hash(attribute_.c_str()); in ParseHash()
1795 int64_t hashed_value = static_cast<int64_t>(hash(attribute_.c_str())); in ParseHash()
1801 uint64_t hashed_value = hash(attribute_.c_str()); in ParseHash()
1836 const auto functionname = attribute_; in ParseFunction()
1879 e.constant = attribute_; in TryTypedValue()
1916 attribute_.insert(0, 1, sign); in ParseSingleValue()
1949 ", value: " + attribute_); in ParseSingleValue()
1954 auto is_true = attribute_ == "true"; in ParseSingleValue()
1955 if (is_true || attribute_ == "false") { in ParseSingleValue()
1956 attribute_ = is_true ? "1" : "0"; in ParseSingleValue()
1962 if (!match && IsScalar(in_type) && attribute_ == "null") { in ParseSingleValue()
1970 IsIdentifierStart(*attribute_.c_str())) { in ParseSingleValue()
1979 auto last_non_ws = attribute_.find_last_not_of(' '); in ParseSingleValue()
1980 if (std::string::npos != last_non_ws) attribute_.resize(last_non_ws + 1); in ParseSingleValue()
1985 if (attribute_.find_last_of(')') != std::string::npos) { in ParseSingleValue()
1986 return Error("invalid number: " + attribute_); in ParseSingleValue()
2287 std::string enum_name = attribute_; in ParseEnum()
2326 if (opts.proto_mode && attribute_ == "option") { in ParseEnum()
2329 auto &ev = *evb.CreateEnumerator(attribute_); in ParseEnum()
2359 ECHECK(evb.AssignEnumeratorValue(attribute_)); in ParseEnum()
2520 std::string name = attribute_; in ParseDecl()
2605 auto service_name = attribute_; in ParseService()
2619 auto rpc_name = attribute_; in ParseService()
2673 ns->components.push_back(attribute_); in ParseNamespace()
2700 auto id = attribute_; in ParseProtoDecl()
2707 std::string name = attribute_; in ParseProtoDecl()
2819 auto name = MakeCamel(attribute_, true) + "Union"; in ParseProtoFields()
2842 std::string name = attribute_; in ParseProtoFields()
2866 auto key = attribute_; in ParseProtoFields()
2869 auto val = attribute_; in ParseProtoFields()
2985 if (attribute_ == tl->proto_type) { in ParseTypeFromProtoType()
3033 if (!StringToNumber(attribute_.c_str(), &d)) in ParseFlexBufferNumericConstant()
3034 return Error("unexpected floating-point constant: " + attribute_); in ParseFlexBufferNumericConstant()
3072 builder->String(attribute_); in ParseFlexBufferValue()
3076 builder->Int(StringToInt(attribute_.c_str())); in ParseFlexBufferValue()
3081 StringToNumber(attribute_.c_str(), &d); in ParseFlexBufferValue()
3093 attribute_.insert(0, 1, sign); in ParseFlexBufferValue()
3294 if (opts.proto_mode && (attribute_ == "option" || attribute_ == "syntax" || in DoParse()
3295 attribute_ == "package")) { in DoParse()
3299 vector_emplace_back(&native_included_files_, attribute_); in DoParse()
3304 if (opts.proto_mode && attribute_ == "public") NEXT(); in DoParse()
3305 auto name = flatbuffers::PosixPath(attribute_.c_str()); in DoParse()
3372 auto root_type = attribute_; in DoParse()
3383 file_identifier_ = attribute_; in DoParse()
3392 file_extension_ = attribute_; in DoParse()
3399 auto name = attribute_; in DoParse()