Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
source.proto
It has these top-level messages:
Fixture Source Position
Index ¶
- Variables
- func FileDescriptorBytes() []byte
- type Fixture
- func (*Fixture) Descriptor() ([]byte, []int)
- func (m *Fixture) GetSource() *Source
- func (m *Fixture) Marshal() (dAtA []byte, err error)
- func (m *Fixture) MarshalTo(dAtA []byte) (int, error)
- func (*Fixture) ProtoMessage()
- func (m *Fixture) Reset()
- func (m *Fixture) Size() (n int)
- func (m *Fixture) String() string
- func (m *Fixture) Unmarshal(dAtA []byte) error
- type Position
- func (*Position) Descriptor() ([]byte, []int)
- func (m *Position) GetColumn() int64
- func (m *Position) GetLine() int64
- func (m *Position) GetOffset() int64
- func (m *Position) Marshal() (dAtA []byte, err error)
- func (m *Position) MarshalTo(dAtA []byte) (int, error)
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) Size() (n int)
- func (m *Position) String() string
- func (m *Position) Unmarshal(dAtA []byte) error
- type Source
- func (*Source) Descriptor() ([]byte, []int)
- func (m *Source) GetEnd() *Position
- func (m *Source) GetFile() string
- func (m *Source) GetStart() *Position
- func (m *Source) Marshal() (dAtA []byte, err error)
- func (m *Source) MarshalTo(dAtA []byte) (int, error)
- func (*Source) ProtoMessage()
- func (m *Source) Reset()
- func (m *Source) Size() (n int)
- func (m *Source) String() string
- func (m *Source) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSource = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSource = fmt.Errorf("proto: integer overflow") )
Functions ¶
func FileDescriptorBytes ¶
func FileDescriptorBytes() []byte
Types ¶
type Fixture ¶
type Fixture struct { Source *Source `protobuf:"bytes,1,req,name=source" json:"source,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Fixture) Descriptor ¶
func (*Fixture) ProtoMessage ¶
func (*Fixture) ProtoMessage()
type Position ¶
type Position struct { Offset *int64 `protobuf:"varint,1,req,name=offset" json:"offset,omitempty"` Line *int64 `protobuf:"varint,2,req,name=line" json:"line,omitempty"` Column *int64 `protobuf:"varint,3,req,name=column" json:"column,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Position) Descriptor ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
type Source ¶
type Source struct { File *string `protobuf:"bytes,1,req,name=file" json:"file,omitempty"` Start *Position `protobuf:"bytes,2,req,name=start" json:"start,omitempty"` End *Position `protobuf:"bytes,3,req,name=end" json:"end,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Source) Descriptor ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.