proto

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Fixture) GetSource

func (m *Fixture) GetSource() *Source

func (*Fixture) Marshal

func (m *Fixture) Marshal() (dAtA []byte, err error)

func (*Fixture) MarshalTo

func (m *Fixture) MarshalTo(dAtA []byte) (int, error)

func (*Fixture) ProtoMessage

func (*Fixture) ProtoMessage()

func (*Fixture) Reset

func (m *Fixture) Reset()

func (*Fixture) Size

func (m *Fixture) Size() (n int)

func (*Fixture) String

func (m *Fixture) String() string

func (*Fixture) Unmarshal

func (m *Fixture) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Position) GetColumn

func (m *Position) GetColumn() int64

func (*Position) GetLine

func (m *Position) GetLine() int64

func (*Position) GetOffset

func (m *Position) GetOffset() int64

func (*Position) Marshal

func (m *Position) Marshal() (dAtA []byte, err error)

func (*Position) MarshalTo

func (m *Position) MarshalTo(dAtA []byte) (int, error)

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) Reset

func (m *Position) Reset()

func (*Position) Size

func (m *Position) Size() (n int)

func (*Position) String

func (m *Position) String() string

func (*Position) Unmarshal

func (m *Position) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Source) GetEnd

func (m *Source) GetEnd() *Position

func (*Source) GetFile

func (m *Source) GetFile() string

func (*Source) GetStart

func (m *Source) GetStart() *Position

func (*Source) Marshal

func (m *Source) Marshal() (dAtA []byte, err error)

func (*Source) MarshalTo

func (m *Source) MarshalTo(dAtA []byte) (int, error)

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) Size

func (m *Source) Size() (n int)

func (*Source) String

func (m *Source) String() string

func (*Source) Unmarshal

func (m *Source) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL