programv1

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_autokitteh_program_v1_program_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CallFrame

type CallFrame struct {
	Name     string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Location *CodeLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*CallFrame) Descriptor deprecated

func (*CallFrame) Descriptor() ([]byte, []int)

Deprecated: Use CallFrame.ProtoReflect.Descriptor instead.

func (*CallFrame) GetLocation

func (x *CallFrame) GetLocation() *CodeLocation

func (*CallFrame) GetName

func (x *CallFrame) GetName() string

func (*CallFrame) ProtoMessage

func (*CallFrame) ProtoMessage()

func (*CallFrame) ProtoReflect

func (x *CallFrame) ProtoReflect() protoreflect.Message

func (*CallFrame) Reset

func (x *CallFrame) Reset()

func (*CallFrame) String

func (x *CallFrame) String() string

type CodeLocation

type CodeLocation struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Row  uint32 `protobuf:"varint,2,opt,name=row,proto3" json:"row,omitempty"`
	Col  uint32 `protobuf:"varint,3,opt,name=col,proto3" json:"col,omitempty"`
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A specific location in code. Might be used for errors, entry points, etc. Examples:

foo.kitteh
foo.kitteh:12.34
foo.kitteh:OnSlack
foo.kitteh:12.34,OnSlack

func (*CodeLocation) Descriptor deprecated

func (*CodeLocation) Descriptor() ([]byte, []int)

Deprecated: Use CodeLocation.ProtoReflect.Descriptor instead.

func (*CodeLocation) GetCol

func (x *CodeLocation) GetCol() uint32

func (*CodeLocation) GetName

func (x *CodeLocation) GetName() string

func (*CodeLocation) GetPath

func (x *CodeLocation) GetPath() string

func (*CodeLocation) GetRow

func (x *CodeLocation) GetRow() uint32

func (*CodeLocation) ProtoMessage

func (*CodeLocation) ProtoMessage()

func (*CodeLocation) ProtoReflect

func (x *CodeLocation) ProtoReflect() protoreflect.Message

func (*CodeLocation) Reset

func (x *CodeLocation) Reset()

func (*CodeLocation) String

func (x *CodeLocation) String() string

type Error

type Error struct {
	Value *v1.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// [0] is outermost.
	Callstack []*CallFrame      `protobuf:"bytes,2,rep,name=callstack,proto3" json:"callstack,omitempty"`
	Extra     map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCallstack

func (x *Error) GetCallstack() []*CallFrame

func (*Error) GetExtra

func (x *Error) GetExtra() map[string]string

func (*Error) GetValue added in v0.3.0

func (x *Error) GetValue() *v1.Value

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

Jump to

Keyboard shortcuts

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