Documentation ¶
Index ¶
- Variables
- type GeneratedCodeInfo
- func (*GeneratedCodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GeneratedCodeInfo) GetMeta() []*MappingRule
- func (x *GeneratedCodeInfo) GetType() GeneratedCodeInfo_Type
- func (*GeneratedCodeInfo) ProtoMessage()
- func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message
- func (x *GeneratedCodeInfo) Reset()
- func (x *GeneratedCodeInfo) String() string
- type GeneratedCodeInfo_Type
- func (GeneratedCodeInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x GeneratedCodeInfo_Type) Enum() *GeneratedCodeInfo_Type
- func (GeneratedCodeInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x GeneratedCodeInfo_Type) Number() protoreflect.EnumNumber
- func (x GeneratedCodeInfo_Type) String() string
- func (GeneratedCodeInfo_Type) Type() protoreflect.EnumType
- type MappingRule
- func (*MappingRule) Descriptor() ([]byte, []int)deprecated
- func (x *MappingRule) GetBegin() uint32
- func (x *MappingRule) GetEdge() string
- func (x *MappingRule) GetEnd() uint32
- func (x *MappingRule) GetSemantic() MappingRule_Semantic
- func (x *MappingRule) GetSourceBegin() uint32
- func (x *MappingRule) GetSourceEnd() uint32
- func (x *MappingRule) GetSourceVname() *storage_go_proto.VName
- func (x *MappingRule) GetTargetBegin() uint32
- func (x *MappingRule) GetTargetEnd() uint32
- func (x *MappingRule) GetType() MappingRule_Type
- func (x *MappingRule) GetVname() *storage_go_proto.VName
- func (*MappingRule) ProtoMessage()
- func (x *MappingRule) ProtoReflect() protoreflect.Message
- func (x *MappingRule) Reset()
- func (x *MappingRule) String() string
- type MappingRule_Semantic
- func (MappingRule_Semantic) Descriptor() protoreflect.EnumDescriptor
- func (x MappingRule_Semantic) Enum() *MappingRule_Semantic
- func (MappingRule_Semantic) EnumDescriptor() ([]byte, []int)deprecated
- func (x MappingRule_Semantic) Number() protoreflect.EnumNumber
- func (x MappingRule_Semantic) String() string
- func (MappingRule_Semantic) Type() protoreflect.EnumType
- type MappingRule_Type
- func (MappingRule_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MappingRule_Type) Enum() *MappingRule_Type
- func (MappingRule_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MappingRule_Type) Number() protoreflect.EnumNumber
- func (x MappingRule_Type) String() string
- func (MappingRule_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GeneratedCodeInfo_Type_name = map[int32]string{ 0: "NONE", 1: "KYTHE0", } GeneratedCodeInfo_Type_value = map[string]int32{ "NONE": 0, "KYTHE0": 1, } )
Enum value maps for GeneratedCodeInfo_Type.
View Source
var ( MappingRule_Type_name = map[int32]string{ 0: "NONE", 1: "NOP", 2: "ANCHOR_DEFINES", 3: "ANCHOR_ANCHOR", 4: "FILE_DEFINES", } MappingRule_Type_value = map[string]int32{ "NONE": 0, "NOP": 1, "ANCHOR_DEFINES": 2, "ANCHOR_ANCHOR": 3, "FILE_DEFINES": 4, } )
Enum value maps for MappingRule_Type.
View Source
var ( MappingRule_Semantic_name = map[int32]string{ 0: "SEMA_NONE", 1: "SEMA_WRITE", 2: "SEMA_READ_WRITE", 3: "SEMA_TAKE_ALIAS", } MappingRule_Semantic_value = map[string]int32{ "SEMA_NONE": 0, "SEMA_WRITE": 1, "SEMA_READ_WRITE": 2, "SEMA_TAKE_ALIAS": 3, } )
Enum value maps for MappingRule_Semantic.
View Source
var File_kythe_proto_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GeneratedCodeInfo ¶
type GeneratedCodeInfo struct { Type GeneratedCodeInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=kythe.proto.metadata.GeneratedCodeInfo_Type" json:"type,omitempty"` Meta []*MappingRule `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*GeneratedCodeInfo) Descriptor
deprecated
func (*GeneratedCodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead.
func (*GeneratedCodeInfo) GetMeta ¶
func (x *GeneratedCodeInfo) GetMeta() []*MappingRule
func (*GeneratedCodeInfo) GetType ¶
func (x *GeneratedCodeInfo) GetType() GeneratedCodeInfo_Type
func (*GeneratedCodeInfo) ProtoMessage ¶
func (*GeneratedCodeInfo) ProtoMessage()
func (*GeneratedCodeInfo) ProtoReflect ¶
func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message
func (*GeneratedCodeInfo) Reset ¶
func (x *GeneratedCodeInfo) Reset()
func (*GeneratedCodeInfo) String ¶
func (x *GeneratedCodeInfo) String() string
type GeneratedCodeInfo_Type ¶
type GeneratedCodeInfo_Type int32
const ( GeneratedCodeInfo_NONE GeneratedCodeInfo_Type = 0 GeneratedCodeInfo_KYTHE0 GeneratedCodeInfo_Type = 1 )
func (GeneratedCodeInfo_Type) Descriptor ¶
func (GeneratedCodeInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (GeneratedCodeInfo_Type) Enum ¶
func (x GeneratedCodeInfo_Type) Enum() *GeneratedCodeInfo_Type
func (GeneratedCodeInfo_Type) EnumDescriptor
deprecated
func (GeneratedCodeInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use GeneratedCodeInfo_Type.Descriptor instead.
func (GeneratedCodeInfo_Type) Number ¶
func (x GeneratedCodeInfo_Type) Number() protoreflect.EnumNumber
func (GeneratedCodeInfo_Type) String ¶
func (x GeneratedCodeInfo_Type) String() string
func (GeneratedCodeInfo_Type) Type ¶
func (GeneratedCodeInfo_Type) Type() protoreflect.EnumType
type MappingRule ¶
type MappingRule struct { Type MappingRule_Type `protobuf:"varint,1,opt,name=type,proto3,enum=kythe.proto.metadata.MappingRule_Type" json:"type,omitempty"` Edge string `protobuf:"bytes,2,opt,name=edge,proto3" json:"edge,omitempty"` Vname *storage_go_proto.VName `protobuf:"bytes,3,opt,name=vname,proto3" json:"vname,omitempty"` Begin uint32 `protobuf:"varint,4,opt,name=begin,proto3" json:"begin,omitempty"` End uint32 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` Semantic MappingRule_Semantic `protobuf:"varint,11,opt,name=semantic,proto3,enum=kythe.proto.metadata.MappingRule_Semantic" json:"semantic,omitempty"` SourceVname *storage_go_proto.VName `protobuf:"bytes,6,opt,name=source_vname,json=sourceVname,proto3" json:"source_vname,omitempty"` SourceBegin uint32 `protobuf:"varint,7,opt,name=source_begin,json=sourceBegin,proto3" json:"source_begin,omitempty"` SourceEnd uint32 `protobuf:"varint,8,opt,name=source_end,json=sourceEnd,proto3" json:"source_end,omitempty"` TargetBegin uint32 `protobuf:"varint,9,opt,name=target_begin,json=targetBegin,proto3" json:"target_begin,omitempty"` TargetEnd uint32 `protobuf:"varint,10,opt,name=target_end,json=targetEnd,proto3" json:"target_end,omitempty"` // contains filtered or unexported fields }
func (*MappingRule) Descriptor
deprecated
func (*MappingRule) Descriptor() ([]byte, []int)
Deprecated: Use MappingRule.ProtoReflect.Descriptor instead.
func (*MappingRule) GetBegin ¶
func (x *MappingRule) GetBegin() uint32
func (*MappingRule) GetEdge ¶
func (x *MappingRule) GetEdge() string
func (*MappingRule) GetEnd ¶
func (x *MappingRule) GetEnd() uint32
func (*MappingRule) GetSemantic ¶
func (x *MappingRule) GetSemantic() MappingRule_Semantic
func (*MappingRule) GetSourceBegin ¶
func (x *MappingRule) GetSourceBegin() uint32
func (*MappingRule) GetSourceEnd ¶
func (x *MappingRule) GetSourceEnd() uint32
func (*MappingRule) GetSourceVname ¶
func (x *MappingRule) GetSourceVname() *storage_go_proto.VName
func (*MappingRule) GetTargetBegin ¶
func (x *MappingRule) GetTargetBegin() uint32
func (*MappingRule) GetTargetEnd ¶
func (x *MappingRule) GetTargetEnd() uint32
func (*MappingRule) GetType ¶
func (x *MappingRule) GetType() MappingRule_Type
func (*MappingRule) GetVname ¶
func (x *MappingRule) GetVname() *storage_go_proto.VName
func (*MappingRule) ProtoMessage ¶
func (*MappingRule) ProtoMessage()
func (*MappingRule) ProtoReflect ¶
func (x *MappingRule) ProtoReflect() protoreflect.Message
func (*MappingRule) Reset ¶
func (x *MappingRule) Reset()
func (*MappingRule) String ¶
func (x *MappingRule) String() string
type MappingRule_Semantic ¶
type MappingRule_Semantic int32
const ( MappingRule_SEMA_NONE MappingRule_Semantic = 0 MappingRule_SEMA_WRITE MappingRule_Semantic = 1 MappingRule_SEMA_READ_WRITE MappingRule_Semantic = 2 MappingRule_SEMA_TAKE_ALIAS MappingRule_Semantic = 3 )
func (MappingRule_Semantic) Descriptor ¶
func (MappingRule_Semantic) Descriptor() protoreflect.EnumDescriptor
func (MappingRule_Semantic) Enum ¶
func (x MappingRule_Semantic) Enum() *MappingRule_Semantic
func (MappingRule_Semantic) EnumDescriptor
deprecated
func (MappingRule_Semantic) EnumDescriptor() ([]byte, []int)
Deprecated: Use MappingRule_Semantic.Descriptor instead.
func (MappingRule_Semantic) Number ¶
func (x MappingRule_Semantic) Number() protoreflect.EnumNumber
func (MappingRule_Semantic) String ¶
func (x MappingRule_Semantic) String() string
func (MappingRule_Semantic) Type ¶
func (MappingRule_Semantic) Type() protoreflect.EnumType
type MappingRule_Type ¶
type MappingRule_Type int32
const ( MappingRule_NONE MappingRule_Type = 0 MappingRule_NOP MappingRule_Type = 1 MappingRule_ANCHOR_DEFINES MappingRule_Type = 2 MappingRule_ANCHOR_ANCHOR MappingRule_Type = 3 MappingRule_FILE_DEFINES MappingRule_Type = 4 )
func (MappingRule_Type) Descriptor ¶
func (MappingRule_Type) Descriptor() protoreflect.EnumDescriptor
func (MappingRule_Type) Enum ¶
func (x MappingRule_Type) Enum() *MappingRule_Type
func (MappingRule_Type) EnumDescriptor
deprecated
func (MappingRule_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MappingRule_Type.Descriptor instead.
func (MappingRule_Type) Number ¶
func (x MappingRule_Type) Number() protoreflect.EnumNumber
func (MappingRule_Type) String ¶
func (x MappingRule_Type) String() string
func (MappingRule_Type) Type ¶
func (MappingRule_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.