Home
last modified time | relevance | path

Searched refs:SourceCodeInfo (Results 1 - 17 of 17) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.h79 // DEPRECATED: New code should use the SourceCodeInfo embedded in the
213 // Records a location in the SourceCodeInfo.location table (see
236 SourceCodeInfo* source_code_info);
240 // Add a path component. See SourceCodeInfo.Location.path in
281 // SourceCodeInfo.location repeated field. For top-level elements,
284 SourceCodeInfo* source_code_info_;
285 SourceCodeInfo::Location* location_;
287 void Init(const LocationRecorder& parent, SourceCodeInfo* source_code_info);
529 SourceCodeInfo* source_code_info_;
543 // the next element (See SourceCodeInfo
[all...]
H A Dparser.cc415 SourceCodeInfo* source_code_info) { in LocationRecorder()
434 SourceCodeInfo* source_code_info) { in Init()
623 // SourceCodeInfo on the stack, then swap it into the FileDescriptorProto in Parse()
625 SourceCodeInfo source_code_info; in Parse()
1646 SourceCodeInfo info; in ParseExtensions()
H A Dparser_unittest.cc129 // We don't cover SourceCodeInfo in these tests. in ExpectParsesTo()
2449 // SourceCodeInfo tests.
2451 // Follows a path -- as defined by SourceCodeInfo.Location.path -- from a
2559 // all the source location spans in its SourceCodeInfo table.
2567 const SourceCodeInfo& source_info = file_.source_code_info(); in Parse()
2569 const SourceCodeInfo::Location& location = source_info.location(i); in Parse()
2592 // tags (comments) correspond via the SourceCodeInfo table to the given
2736 typedef std::multimap<SpanKey, const SourceCodeInfo::Location*> SpanMap;
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DSourceCodeInfo.php17 * Generated from protobuf message <code>google.protobuf.SourceCodeInfo</code>
19 class SourceCodeInfo extends \Google\Protobuf\Internal\Message class
64 * Generated from protobuf field <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>
74 * @type \Google\Protobuf\Internal\SourceCodeInfo\Location[]|\Google\Protobuf\Internal\RepeatedField $location
166 * Generated from protobuf field <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>
217 * Generated from protobuf field <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>
218 * @param \Google\Protobuf\Internal\SourceCodeInfo\Location[]|\Google\Protobuf\Internal\RepeatedField $var
223 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\SourceCodeInfo\Location::class);
H A DSourceCodeInfo_Location.php9 * This class is deprecated. Use Google\Protobuf\Internal\SourceCodeInfo\Location instead.
14 class_exists(SourceCodeInfo\Location::class);
15 @trigger_error('Google\Protobuf\Internal\SourceCodeInfo_Location is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\SourceCodeInfo\Location instead', E_USER_DEPRECATED);
H A DFileDescriptorProto.php79 * Generated from protobuf field <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
113 * @type \Google\Protobuf\Internal\SourceCodeInfo $source_code_info
410 * Generated from protobuf field <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
411 * @return \Google\Protobuf\Internal\SourceCodeInfo
434 * Generated from protobuf field <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
435 * @param \Google\Protobuf\Internal\SourceCodeInfo $var
440 GPBUtil::checkMessage($var, \Google\Protobuf\Internal\SourceCodeInfo::class);
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DDescriptor.cs166 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorProto), global::Google.Protobuf.Reflection.FileDescriptorProto.Parser, new[]{ "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", "Syntax" }, null, null, null, null), in DescriptorReflection()
185 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}), in DescriptorReflection()
558 private global::Google.Protobuf.Reflection.SourceCodeInfo sourceCodeInfo_;
566 public global::Google.Protobuf.Reflection.SourceCodeInfo SourceCodeInfo { property in Google.Protobuf.Reflection.FileDescriptorProto
623 if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) retur in Equals()
9183 public sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo> global() class
9204 public SourceCodeInfo() { SourceCodeInfo() method in Google.Protobuf.Reflection.SourceCodeInfo
9211 public SourceCodeInfo(SourceCodeInfo other) : this() { SourceCodeInfo() method in Google.Protobuf.Reflection.SourceCodeInfo
[all...]
H A DDescriptorDeclaration.cs38 using static Google.Protobuf.Reflection.SourceCodeInfo.Types;
H A DFileDescriptor.cs41 using static Google.Protobuf.Reflection.SourceCodeInfo.Types;
127 foreach (var location in Proto.SourceCodeInfo?.Location ?? Enumerable.Empty<Location>()) in CreateDeclarationMap()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.pb.cc141 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SourceCodeInfo> _instance;
512 new (ptr) PROTOBUF_NAMESPACE_ID::SourceCodeInfo(); in InitDefaultsscc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto()
515 PROTOBUF_NAMESPACE_ID::SourceCodeInfo::InitAsDefaultInstance(); in InitDefaultsscc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto()
926 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo, _internal_metadata_),
930 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo, location_),
976 { 355, -1, sizeof(PROTOBUF_NAMESPACE_ID::SourceCodeInfo)},
1026 "le.protobuf.SourceCodeInfo\022\016\n\006syntax\030\014 \001"
1151 ".protobuf.SourceCodeInfo.Location\032\206\001\n\010Lo"
1585 PROTOBUF_NAMESPACE_ID::_FileDescriptorProto_default_instance_._instance.get_mutable()->source_code_info_ = const_cast< PROTOBUF_NAMESPACE_ID::SourceCodeInfo*>( in InitAsDefaultInstance()
1586 PROTOBUF_NAMESPACE_ID::SourceCodeInfo in InitAsDefaultInstance()
10461 SourceCodeInfo::SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena) SourceCodeInfo() function in SourceCodeInfo
10468 SourceCodeInfo::SourceCodeInfo(const SourceCodeInfo& from) SourceCodeInfo() function in SourceCodeInfo
[all...]
H A Ddescriptor.pb.h128 class SourceCodeInfo;
165 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*);
837 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
843 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const;
844 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info();
845 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info();
846 void set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
848 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const;
849 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_inf
6074 inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} SourceCodeInfo() function in PROTOBUF_FINAL
6079 : SourceCodeInfo() { SourceCodeInfo() function in PROTOBUF_FINAL
[all...]
H A Ddescriptor.cc746 std::pair<const FileDescriptorTables*, const SourceCodeInfo*>* p);
753 const std::vector<int>& path, const SourceCodeInfo* info) const;
1227 std::pair<const FileDescriptorTables*, const SourceCodeInfo*>* p) { in BuildLocationsByPath()
1235 const std::vector<int>& path, const SourceCodeInfo* info) const { in GetSourceLocation()
1236 std::pair<const FileDescriptorTables*, const SourceCodeInfo*> p( in GetSourceLocation()
2082 source_code_info_ != &SourceCodeInfo::default_instance()) { in CopySourceCodeInfoTo()
3393 void UpdateSourceCodeInfo(SourceCodeInfo* info);
4013 placeholder->source_code_info_ = &SourceCodeInfo::default_instance(); in NewPlaceholderFileWithMutexHeld()
4351 SourceCodeInfo* info = nullptr; in BuildFileImpl()
4353 info = tables_->AllocateMessage<SourceCodeInfo>(); in BuildFileImpl()
[all...]
H A Ddescriptor.h114 class SourceCodeInfo;
154 // See the comments in SourceCodeInfo.Location (descriptor.proto) for details.
1541 // information was not available. (See SourceCodeInfo for
1583 const SourceCodeInfo* source_code_info_;
H A Ddescriptor_unittest.cc7695 // Missing SourceCodeInfo doesn't cause crash:
7703 file_desc->CopyTo(&proto); // Note, this discards the SourceCodeInfo. in TEST_F()
7713 // Corrupt SourceCodeInfo doesn't cause crash:
7721 file_desc->CopyTo(&proto); // Note, this discards the SourceCodeInfo. in TEST_F()
7780 const SourceCodeInfo& info = file_desc_proto.source_code_info(); in TEST_F()
/third_party/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/
H A DLocation.php5 namespace Google\Protobuf\Internal\SourceCodeInfo;
14 * Generated from protobuf message <code>google.protobuf.SourceCodeInfo.Location</code>
55 * If this SourceCodeInfo represents a complete declaration, these are any
139 * If this SourceCodeInfo represents a complete declaration, these are any
285 * If this SourceCodeInfo represents a complete declaration, these are any
341 * If this SourceCodeInfo represents a complete declaration, these are any
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/Internal/
H A DDescriptor.php32 ->optional('source_code_info', \Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.SourceCodeInfo')
251 $pool->addMessage('google.protobuf.internal.SourceCodeInfo', \Google\Protobuf\Internal\SourceCodeInfo::class)
252 ->repeated('location', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.SourceCodeInfo.Location')
255 $pool->addMessage('google.protobuf.internal.SourceCodeInfo.Location', \Google\Protobuf\Internal\SourceCodeInfo\Location::class)
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
H A Ddescriptor.js4 exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.methodOptions_IdempotencyLevelToJSON = exports.methodOptions_IdempotencyLevelFromJSON = exports.MethodOptions_IdempotencyLevel = exports.fieldOptions_JSTypeToJSON = exports.fieldOptions_JSTypeFromJSON = exports.FieldOptions_JSType = exports.fieldOptions_CTypeToJSON = exports.fieldOptions_CTypeFromJSON = exports.FieldOptions_CType = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.FileOptions_OptimizeMode = exports.fieldDescriptorProto_LabelToJSON = exports.fieldDescriptorProto_LabelFromJSON = exports.FieldDescriptorProto_Label = exports.fieldDescriptorProto_TypeToJSON = exports.fieldDescriptorProto_TypeFromJSON = exports.FieldDescriptorProto_Type = void 0;
396 sourceCodeInfo: isSet(object.sourceCodeInfo) ? exports.SourceCodeInfo.fromJSON(object.sourceCodeInfo) : undefined,
448 (obj.sourceCodeInfo = message.sourceCodeInfo ? exports.SourceCodeInfo.toJSON(message.sourceCodeInfo) : undefined);
1159 exports.SourceCodeInfo = {

Completed in 64 milliseconds