Documentation
¶
Overview ¶
Package filecontext_proto is a generated protocol buffer package.
It is generated from these files:
kythe/proto/filecontext.proto
It has these top-level messages:
ContextDependentVersion
Index ¶
- Variables
- type ContextDependentVersion
- func (*ContextDependentVersion) Descriptor() ([]byte, []int)
- func (m *ContextDependentVersion) GetRow() []*ContextDependentVersion_Row
- func (m *ContextDependentVersion) Marshal() (data []byte, err error)
- func (m *ContextDependentVersion) MarshalTo(data []byte) (int, error)
- func (*ContextDependentVersion) ProtoMessage()
- func (m *ContextDependentVersion) Reset()
- func (m *ContextDependentVersion) Size() (n int)
- func (m *ContextDependentVersion) String() string
- func (m *ContextDependentVersion) Unmarshal(data []byte) error
- type ContextDependentVersion_Column
- func (*ContextDependentVersion_Column) Descriptor() ([]byte, []int)
- func (m *ContextDependentVersion_Column) Marshal() (data []byte, err error)
- func (m *ContextDependentVersion_Column) MarshalTo(data []byte) (int, error)
- func (*ContextDependentVersion_Column) ProtoMessage()
- func (m *ContextDependentVersion_Column) Reset()
- func (m *ContextDependentVersion_Column) Size() (n int)
- func (m *ContextDependentVersion_Column) String() string
- func (m *ContextDependentVersion_Column) Unmarshal(data []byte) error
- type ContextDependentVersion_Row
- func (*ContextDependentVersion_Row) Descriptor() ([]byte, []int)
- func (m *ContextDependentVersion_Row) GetColumn() []*ContextDependentVersion_Column
- func (m *ContextDependentVersion_Row) Marshal() (data []byte, err error)
- func (m *ContextDependentVersion_Row) MarshalTo(data []byte) (int, error)
- func (*ContextDependentVersion_Row) ProtoMessage()
- func (m *ContextDependentVersion_Row) Reset()
- func (m *ContextDependentVersion_Row) Size() (n int)
- func (m *ContextDependentVersion_Row) String() string
- func (m *ContextDependentVersion_Row) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthFilecontext = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFilecontext = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ContextDependentVersion ¶
type ContextDependentVersion struct {
Row []*ContextDependentVersion_Row `protobuf:"bytes,1,rep,name=row" json:"row,omitempty"`
}
ContextDependentVersion columns and rows define a table that relates input contexts (keyed by a single source context per row) to tuples of (byte offset * linked context). When a file F being processed in context C refers to another file F' at offset O (perhaps because F has an #include directive at O) the context in which F' should be processed is the linked context derived from this table.
func (*ContextDependentVersion) Descriptor ¶
func (*ContextDependentVersion) Descriptor() ([]byte, []int)
func (*ContextDependentVersion) GetRow ¶
func (m *ContextDependentVersion) GetRow() []*ContextDependentVersion_Row
func (*ContextDependentVersion) Marshal ¶
func (m *ContextDependentVersion) Marshal() (data []byte, err error)
func (*ContextDependentVersion) MarshalTo ¶
func (m *ContextDependentVersion) MarshalTo(data []byte) (int, error)
func (*ContextDependentVersion) ProtoMessage ¶
func (*ContextDependentVersion) ProtoMessage()
func (*ContextDependentVersion) Reset ¶
func (m *ContextDependentVersion) Reset()
func (*ContextDependentVersion) Size ¶
func (m *ContextDependentVersion) Size() (n int)
func (*ContextDependentVersion) String ¶
func (m *ContextDependentVersion) String() string
func (*ContextDependentVersion) Unmarshal ¶
func (m *ContextDependentVersion) Unmarshal(data []byte) error
type ContextDependentVersion_Column ¶
type ContextDependentVersion_Column struct { // The byte offset into the file resource. Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // The signature for the resulting context. LinkedContext string `protobuf:"bytes,2,opt,name=linked_context,json=linkedContext,proto3" json:"linked_context,omitempty"` }
func (*ContextDependentVersion_Column) Descriptor ¶
func (*ContextDependentVersion_Column) Descriptor() ([]byte, []int)
func (*ContextDependentVersion_Column) Marshal ¶
func (m *ContextDependentVersion_Column) Marshal() (data []byte, err error)
func (*ContextDependentVersion_Column) MarshalTo ¶
func (m *ContextDependentVersion_Column) MarshalTo(data []byte) (int, error)
func (*ContextDependentVersion_Column) ProtoMessage ¶
func (*ContextDependentVersion_Column) ProtoMessage()
func (*ContextDependentVersion_Column) Reset ¶
func (m *ContextDependentVersion_Column) Reset()
func (*ContextDependentVersion_Column) Size ¶
func (m *ContextDependentVersion_Column) Size() (n int)
func (*ContextDependentVersion_Column) String ¶
func (m *ContextDependentVersion_Column) String() string
func (*ContextDependentVersion_Column) Unmarshal ¶
func (m *ContextDependentVersion_Column) Unmarshal(data []byte) error
type ContextDependentVersion_Row ¶
type ContextDependentVersion_Row struct { // The context to be applied to all columns. SourceContext string `protobuf:"bytes,1,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` // A map from byte offsets to linked contexts. Column []*ContextDependentVersion_Column `protobuf:"bytes,2,rep,name=column" json:"column,omitempty"` // If true, this version should always be processed regardless of any // claiming. AlwaysProcess bool `protobuf:"varint,3,opt,name=always_process,json=alwaysProcess,proto3" json:"always_process,omitempty"` }
See ContextDependentVersionColumn for details. It is valid for a Row to have no columns. In this case, the associated file was seen to exist in some context C, but did not refer to any other files while in that context.
func (*ContextDependentVersion_Row) Descriptor ¶
func (*ContextDependentVersion_Row) Descriptor() ([]byte, []int)
func (*ContextDependentVersion_Row) GetColumn ¶
func (m *ContextDependentVersion_Row) GetColumn() []*ContextDependentVersion_Column
func (*ContextDependentVersion_Row) Marshal ¶
func (m *ContextDependentVersion_Row) Marshal() (data []byte, err error)
func (*ContextDependentVersion_Row) MarshalTo ¶
func (m *ContextDependentVersion_Row) MarshalTo(data []byte) (int, error)
func (*ContextDependentVersion_Row) ProtoMessage ¶
func (*ContextDependentVersion_Row) ProtoMessage()
func (*ContextDependentVersion_Row) Reset ¶
func (m *ContextDependentVersion_Row) Reset()
func (*ContextDependentVersion_Row) Size ¶
func (m *ContextDependentVersion_Row) Size() (n int)
func (*ContextDependentVersion_Row) String ¶
func (m *ContextDependentVersion_Row) String() string
func (*ContextDependentVersion_Row) Unmarshal ¶
func (m *ContextDependentVersion_Row) Unmarshal(data []byte) error