Documentation ¶
Index ¶
- Variables
- type CorpusPath
- func (*CorpusPath) Descriptor() ([]byte, []int)deprecated
- func (x *CorpusPath) GetCorpus() string
- func (x *CorpusPath) GetPath() string
- func (x *CorpusPath) GetRoot() string
- func (*CorpusPath) ProtoMessage()
- func (x *CorpusPath) ProtoReflect() protoreflect.Message
- func (x *CorpusPath) Reset()
- func (x *CorpusPath) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetContextUrl() string
- func (x *Diagnostic) GetDetails() string
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetSpan() *Span
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type Fact
- type Language
- func (*Language) Descriptor() ([]byte, []int)deprecated
- func (x *Language) GetAnalyzerVersion() []string
- func (x *Language) GetName() string
- func (x *Language) GetSupport() Language_Support
- func (*Language) ProtoMessage()
- func (x *Language) ProtoReflect() protoreflect.Message
- func (x *Language) Reset()
- func (x *Language) String() string
- type Language_Support
- func (Language_Support) Descriptor() protoreflect.EnumDescriptor
- func (x Language_Support) Enum() *Language_Support
- func (Language_Support) EnumDescriptor() ([]byte, []int)deprecated
- func (x Language_Support) Number() protoreflect.EnumNumber
- func (x Language_Support) String() string
- func (Language_Support) Type() protoreflect.EnumType
- type Link
- type MarkedSource
- func (*MarkedSource) Descriptor() ([]byte, []int)deprecated
- func (x *MarkedSource) GetAddFinalListToken() bool
- func (x *MarkedSource) GetChild() []*MarkedSource
- func (x *MarkedSource) GetDefaultChildrenCount() uint32
- func (x *MarkedSource) GetKind() MarkedSource_Kind
- func (x *MarkedSource) GetLink() []*Link
- func (x *MarkedSource) GetLookupIndex() uint32
- func (x *MarkedSource) GetPostChildText() string
- func (x *MarkedSource) GetPostText() string
- func (x *MarkedSource) GetPreText() string
- func (*MarkedSource) ProtoMessage()
- func (x *MarkedSource) ProtoReflect() protoreflect.Message
- func (x *MarkedSource) Reset()
- func (x *MarkedSource) String() string
- type MarkedSource_Kind
- func (MarkedSource_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x MarkedSource_Kind) Enum() *MarkedSource_Kind
- func (MarkedSource_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x MarkedSource_Kind) Number() protoreflect.EnumNumber
- func (x MarkedSource_Kind) String() string
- func (MarkedSource_Kind) Type() protoreflect.EnumType
- type NodeInfo
- type Origin
- func (*Origin) Descriptor() ([]byte, []int)deprecated
- func (x *Origin) GetCommitTimestamp() *timestamppb.Timestamp
- func (x *Origin) GetCorpus() string
- func (x *Origin) GetLanguage() []string
- func (x *Origin) GetRevision() string
- func (*Origin) ProtoMessage()
- func (x *Origin) ProtoReflect() protoreflect.Message
- func (x *Origin) Reset()
- func (x *Origin) String() string
- type Point
- func (*Point) Descriptor() ([]byte, []int)deprecated
- func (x *Point) GetByteOffset() int32
- func (x *Point) GetColumnOffset() int32
- func (x *Point) GetLineNumber() int32
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (x *Point) String() string
- type ResolvedDiagnostic
- func (*ResolvedDiagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDiagnostic) GetCorpusPath() *CorpusPath
- func (x *ResolvedDiagnostic) GetDiagnostic() *Diagnostic
- func (*ResolvedDiagnostic) ProtoMessage()
- func (x *ResolvedDiagnostic) ProtoReflect() protoreflect.Message
- func (x *ResolvedDiagnostic) Reset()
- func (x *ResolvedDiagnostic) String() string
- type Span
- type SymbolInfo
- func (*SymbolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolInfo) GetBaseName() string
- func (x *SymbolInfo) GetQualifiedName() string
- func (*SymbolInfo) ProtoMessage()
- func (x *SymbolInfo) ProtoReflect() protoreflect.Message
- func (x *SymbolInfo) Reset()
- func (x *SymbolInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MarkedSource_Kind_name = map[int32]string{ 0: "BOX", 1: "TYPE", 2: "PARAMETER", 3: "IDENTIFIER", 4: "CONTEXT", 5: "INITIALIZER", 6: "PARAMETER_LOOKUP_BY_PARAM", 7: "LOOKUP_BY_PARAM", 8: "PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS", 9: "LOOKUP_BY_TYPED", 10: "PARAMETER_LOOKUP_BY_TPARAM", 11: "LOOKUP_BY_TPARAM", } MarkedSource_Kind_value = map[string]int32{ "BOX": 0, "TYPE": 1, "PARAMETER": 2, "IDENTIFIER": 3, "CONTEXT": 4, "INITIALIZER": 5, "PARAMETER_LOOKUP_BY_PARAM": 6, "LOOKUP_BY_PARAM": 7, "PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS": 8, "LOOKUP_BY_TYPED": 9, "PARAMETER_LOOKUP_BY_TPARAM": 10, "LOOKUP_BY_TPARAM": 11, } )
Enum value maps for MarkedSource_Kind.
View Source
var ( Language_Support_name = map[int32]string{ 0: "UNKNOWN", 1: "EXPERIMENTAL", 2: "SUPPORTED", } Language_Support_value = map[string]int32{ "UNKNOWN": 0, "EXPERIMENTAL": 1, "SUPPORTED": 2, } )
Enum value maps for Language_Support.
View Source
var File_kythe_proto_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CorpusPath ¶ added in v0.0.29
type CorpusPath struct { Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"` Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CorpusPath) Descriptor
deprecated
added in
v0.0.29
func (*CorpusPath) Descriptor() ([]byte, []int)
Deprecated: Use CorpusPath.ProtoReflect.Descriptor instead.
func (*CorpusPath) GetCorpus ¶ added in v0.0.29
func (x *CorpusPath) GetCorpus() string
func (*CorpusPath) GetPath ¶ added in v0.0.29
func (x *CorpusPath) GetPath() string
func (*CorpusPath) GetRoot ¶ added in v0.0.29
func (x *CorpusPath) GetRoot() string
func (*CorpusPath) ProtoMessage ¶ added in v0.0.29
func (*CorpusPath) ProtoMessage()
func (*CorpusPath) ProtoReflect ¶ added in v0.0.49
func (x *CorpusPath) ProtoReflect() protoreflect.Message
func (*CorpusPath) Reset ¶ added in v0.0.29
func (x *CorpusPath) Reset()
func (*CorpusPath) String ¶ added in v0.0.29
func (x *CorpusPath) String() string
type Diagnostic ¶
type Diagnostic struct { Span *Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` ContextUrl string `protobuf:"bytes,4,opt,name=context_url,json=contextUrl,proto3" json:"context_url,omitempty"` // contains filtered or unexported fields }
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetContextUrl ¶
func (x *Diagnostic) GetContextUrl() string
func (*Diagnostic) GetDetails ¶
func (x *Diagnostic) GetDetails() string
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetSpan ¶
func (x *Diagnostic) GetSpan() *Span
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶ added in v0.0.49
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type Fact ¶
type Fact struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Fact) Descriptor
deprecated
func (*Fact) ProtoMessage ¶
func (*Fact) ProtoMessage()
func (*Fact) ProtoReflect ¶ added in v0.0.49
func (x *Fact) ProtoReflect() protoreflect.Message
type Language ¶ added in v0.0.50
type Language struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Support Language_Support `protobuf:"varint,2,opt,name=support,proto3,enum=kythe.proto.common.Language_Support" json:"support,omitempty"` AnalyzerVersion []string `protobuf:"bytes,3,rep,name=analyzer_version,json=analyzerVersion,proto3" json:"analyzer_version,omitempty"` // contains filtered or unexported fields }
func (*Language) Descriptor
deprecated
added in
v0.0.50
func (*Language) GetAnalyzerVersion ¶ added in v0.0.50
func (*Language) GetSupport ¶ added in v0.0.50
func (x *Language) GetSupport() Language_Support
func (*Language) ProtoMessage ¶ added in v0.0.50
func (*Language) ProtoMessage()
func (*Language) ProtoReflect ¶ added in v0.0.50
func (x *Language) ProtoReflect() protoreflect.Message
type Language_Support ¶ added in v0.0.50
type Language_Support int32
const ( Language_UNKNOWN Language_Support = 0 Language_EXPERIMENTAL Language_Support = 1 Language_SUPPORTED Language_Support = 2 )
func (Language_Support) Descriptor ¶ added in v0.0.50
func (Language_Support) Descriptor() protoreflect.EnumDescriptor
func (Language_Support) Enum ¶ added in v0.0.50
func (x Language_Support) Enum() *Language_Support
func (Language_Support) EnumDescriptor
deprecated
added in
v0.0.50
func (Language_Support) EnumDescriptor() ([]byte, []int)
Deprecated: Use Language_Support.Descriptor instead.
func (Language_Support) Number ¶ added in v0.0.50
func (x Language_Support) Number() protoreflect.EnumNumber
func (Language_Support) String ¶ added in v0.0.50
func (x Language_Support) String() string
func (Language_Support) Type ¶ added in v0.0.50
func (Language_Support) Type() protoreflect.EnumType
type Link ¶
type Link struct { Definition []string `protobuf:"bytes,3,rep,name=definition,proto3" json:"definition,omitempty"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) GetDefinition ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶ added in v0.0.49
func (x *Link) ProtoReflect() protoreflect.Message
type MarkedSource ¶
type MarkedSource struct { Kind MarkedSource_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=kythe.proto.common.MarkedSource_Kind" json:"kind,omitempty"` PreText string `protobuf:"bytes,2,opt,name=pre_text,json=preText,proto3" json:"pre_text,omitempty"` Child []*MarkedSource `protobuf:"bytes,3,rep,name=child,proto3" json:"child,omitempty"` PostChildText string `protobuf:"bytes,4,opt,name=post_child_text,json=postChildText,proto3" json:"post_child_text,omitempty"` PostText string `protobuf:"bytes,5,opt,name=post_text,json=postText,proto3" json:"post_text,omitempty"` LookupIndex uint32 `protobuf:"varint,6,opt,name=lookup_index,json=lookupIndex,proto3" json:"lookup_index,omitempty"` DefaultChildrenCount uint32 `protobuf:"varint,7,opt,name=default_children_count,json=defaultChildrenCount,proto3" json:"default_children_count,omitempty"` AddFinalListToken bool `protobuf:"varint,10,opt,name=add_final_list_token,json=addFinalListToken,proto3" json:"add_final_list_token,omitempty"` Link []*Link `protobuf:"bytes,11,rep,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*MarkedSource) Descriptor
deprecated
func (*MarkedSource) Descriptor() ([]byte, []int)
Deprecated: Use MarkedSource.ProtoReflect.Descriptor instead.
func (*MarkedSource) GetAddFinalListToken ¶
func (x *MarkedSource) GetAddFinalListToken() bool
func (*MarkedSource) GetChild ¶
func (x *MarkedSource) GetChild() []*MarkedSource
func (*MarkedSource) GetDefaultChildrenCount ¶
func (x *MarkedSource) GetDefaultChildrenCount() uint32
func (*MarkedSource) GetKind ¶
func (x *MarkedSource) GetKind() MarkedSource_Kind
func (*MarkedSource) GetLink ¶
func (x *MarkedSource) GetLink() []*Link
func (*MarkedSource) GetLookupIndex ¶
func (x *MarkedSource) GetLookupIndex() uint32
func (*MarkedSource) GetPostChildText ¶
func (x *MarkedSource) GetPostChildText() string
func (*MarkedSource) GetPostText ¶
func (x *MarkedSource) GetPostText() string
func (*MarkedSource) GetPreText ¶
func (x *MarkedSource) GetPreText() string
func (*MarkedSource) ProtoMessage ¶
func (*MarkedSource) ProtoMessage()
func (*MarkedSource) ProtoReflect ¶ added in v0.0.49
func (x *MarkedSource) ProtoReflect() protoreflect.Message
func (*MarkedSource) Reset ¶
func (x *MarkedSource) Reset()
func (*MarkedSource) String ¶
func (x *MarkedSource) String() string
type MarkedSource_Kind ¶
type MarkedSource_Kind int32
const ( MarkedSource_BOX MarkedSource_Kind = 0 MarkedSource_TYPE MarkedSource_Kind = 1 MarkedSource_PARAMETER MarkedSource_Kind = 2 MarkedSource_IDENTIFIER MarkedSource_Kind = 3 MarkedSource_CONTEXT MarkedSource_Kind = 4 MarkedSource_INITIALIZER MarkedSource_Kind = 5 MarkedSource_PARAMETER_LOOKUP_BY_PARAM MarkedSource_Kind = 6 MarkedSource_LOOKUP_BY_PARAM MarkedSource_Kind = 7 MarkedSource_PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS MarkedSource_Kind = 8 MarkedSource_LOOKUP_BY_TYPED MarkedSource_Kind = 9 MarkedSource_PARAMETER_LOOKUP_BY_TPARAM MarkedSource_Kind = 10 MarkedSource_LOOKUP_BY_TPARAM MarkedSource_Kind = 11 )
func (MarkedSource_Kind) Descriptor ¶ added in v0.0.49
func (MarkedSource_Kind) Descriptor() protoreflect.EnumDescriptor
func (MarkedSource_Kind) Enum ¶ added in v0.0.49
func (x MarkedSource_Kind) Enum() *MarkedSource_Kind
func (MarkedSource_Kind) EnumDescriptor
deprecated
func (MarkedSource_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use MarkedSource_Kind.Descriptor instead.
func (MarkedSource_Kind) Number ¶ added in v0.0.49
func (x MarkedSource_Kind) Number() protoreflect.EnumNumber
func (MarkedSource_Kind) String ¶
func (x MarkedSource_Kind) String() string
func (MarkedSource_Kind) Type ¶ added in v0.0.49
func (MarkedSource_Kind) Type() protoreflect.EnumType
type NodeInfo ¶
type NodeInfo struct { Facts map[string][]byte `` /* 151-byte string literal not displayed */ Definition string `protobuf:"bytes,5,opt,name=definition,proto3" json:"definition,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetDefinition ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶ added in v0.0.49
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type Origin ¶ added in v0.0.50
type Origin struct { Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"` Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` CommitTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"` Language []string `protobuf:"bytes,4,rep,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*Origin) Descriptor
deprecated
added in
v0.0.50
func (*Origin) GetCommitTimestamp ¶ added in v0.0.50
func (x *Origin) GetCommitTimestamp() *timestamppb.Timestamp
func (*Origin) GetLanguage ¶ added in v0.0.53
func (*Origin) GetRevision ¶ added in v0.0.50
func (*Origin) ProtoMessage ¶ added in v0.0.50
func (*Origin) ProtoMessage()
func (*Origin) ProtoReflect ¶ added in v0.0.50
func (x *Origin) ProtoReflect() protoreflect.Message
type Point ¶
type Point struct { ByteOffset int32 `protobuf:"varint,1,opt,name=byte_offset,json=byteOffset,proto3" json:"byte_offset,omitempty"` LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"` ColumnOffset int32 `protobuf:"varint,3,opt,name=column_offset,json=columnOffset,proto3" json:"column_offset,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) GetByteOffset ¶
func (*Point) GetColumnOffset ¶
func (*Point) GetLineNumber ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶ added in v0.0.49
func (x *Point) ProtoReflect() protoreflect.Message
type ResolvedDiagnostic ¶ added in v0.0.29
type ResolvedDiagnostic struct { CorpusPath *CorpusPath `protobuf:"bytes,1,opt,name=corpus_path,json=corpusPath,proto3" json:"corpus_path,omitempty"` Diagnostic *Diagnostic `protobuf:"bytes,2,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"` // contains filtered or unexported fields }
func (*ResolvedDiagnostic) Descriptor
deprecated
added in
v0.0.29
func (*ResolvedDiagnostic) Descriptor() ([]byte, []int)
Deprecated: Use ResolvedDiagnostic.ProtoReflect.Descriptor instead.
func (*ResolvedDiagnostic) GetCorpusPath ¶ added in v0.0.29
func (x *ResolvedDiagnostic) GetCorpusPath() *CorpusPath
func (*ResolvedDiagnostic) GetDiagnostic ¶ added in v0.0.29
func (x *ResolvedDiagnostic) GetDiagnostic() *Diagnostic
func (*ResolvedDiagnostic) ProtoMessage ¶ added in v0.0.29
func (*ResolvedDiagnostic) ProtoMessage()
func (*ResolvedDiagnostic) ProtoReflect ¶ added in v0.0.49
func (x *ResolvedDiagnostic) ProtoReflect() protoreflect.Message
func (*ResolvedDiagnostic) Reset ¶ added in v0.0.29
func (x *ResolvedDiagnostic) Reset()
func (*ResolvedDiagnostic) String ¶ added in v0.0.29
func (x *ResolvedDiagnostic) String() string
type Span ¶
type Span struct { Start *Point `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End *Point `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*Span) Descriptor
deprecated
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) ProtoReflect ¶ added in v0.0.49
func (x *Span) ProtoReflect() protoreflect.Message
type SymbolInfo ¶
type SymbolInfo struct { BaseName string `protobuf:"bytes,1,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"` QualifiedName string `protobuf:"bytes,2,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"` // contains filtered or unexported fields }
func (*SymbolInfo) Descriptor
deprecated
func (*SymbolInfo) Descriptor() ([]byte, []int)
Deprecated: Use SymbolInfo.ProtoReflect.Descriptor instead.
func (*SymbolInfo) GetBaseName ¶
func (x *SymbolInfo) GetBaseName() string
func (*SymbolInfo) GetQualifiedName ¶
func (x *SymbolInfo) GetQualifiedName() string
func (*SymbolInfo) ProtoMessage ¶
func (*SymbolInfo) ProtoMessage()
func (*SymbolInfo) ProtoReflect ¶ added in v0.0.49
func (x *SymbolInfo) ProtoReflect() protoreflect.Message
func (*SymbolInfo) Reset ¶
func (x *SymbolInfo) Reset()
func (*SymbolInfo) String ¶
func (x *SymbolInfo) String() string
Click to show internal directories.
Click to hide internal directories.