programv1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_autokitteh_program_v1_module_proto protoreflect.FileDescriptor
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 {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,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) GetMessage

func (x *Error) GetMessage() string

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

type Example

type Example struct {
	Code        string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Explanation string `protobuf:"bytes,2,opt,name=explanation,proto3" json:"explanation,omitempty"` // Optional.
	// contains filtered or unexported fields
}

func (*Example) Descriptor deprecated

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetCode

func (x *Example) GetCode() string

func (*Example) GetExplanation

func (x *Example) GetExplanation() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

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

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

type Function

type Function struct {
	Description       string           `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	DocumentationUrl  string           `protobuf:"bytes,2,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"`
	Input             []*FunctionField `protobuf:"bytes,3,rep,name=input,proto3" json:"input,omitempty"`
	Output            []*FunctionField `protobuf:"bytes,4,rep,name=output,proto3" json:"output,omitempty"`
	Examples          []*Example       `protobuf:"bytes,5,rep,name=examples,proto3" json:"examples,omitempty"`
	DeprecatedMessage string           `protobuf:"bytes,6,opt,name=deprecated_message,json=deprecatedMessage,proto3" json:"deprecated_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Function) Descriptor deprecated

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

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetDeprecatedMessage

func (x *Function) GetDeprecatedMessage() string

func (*Function) GetDescription

func (x *Function) GetDescription() string

func (*Function) GetDocumentationUrl

func (x *Function) GetDocumentationUrl() string

func (*Function) GetExamples

func (x *Function) GetExamples() []*Example

func (*Function) GetInput

func (x *Function) GetInput() []*FunctionField

func (*Function) GetOutput

func (x *Function) GetOutput() []*FunctionField

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

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

func (*Function) Reset

func (x *Function) Reset()

func (*Function) String

func (x *Function) String() string

type FunctionField

type FunctionField struct {
	Name         string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description  string     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type         string     `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Flexible informative annotation, not parsed.
	Optional     bool       `protobuf:"varint,4,opt,name=optional,proto3" json:"optional,omitempty"`
	DefaultValue string     `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Kwarg        bool       `protobuf:"varint,6,opt,name=kwarg,proto3" json:"kwarg,omitempty"`
	Examples     []*Example `protobuf:"bytes,7,rep,name=examples,proto3" json:"examples,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionField) Descriptor deprecated

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

Deprecated: Use FunctionField.ProtoReflect.Descriptor instead.

func (*FunctionField) GetDefaultValue

func (x *FunctionField) GetDefaultValue() string

func (*FunctionField) GetDescription

func (x *FunctionField) GetDescription() string

func (*FunctionField) GetExamples

func (x *FunctionField) GetExamples() []*Example

func (*FunctionField) GetKwarg

func (x *FunctionField) GetKwarg() bool

func (*FunctionField) GetName

func (x *FunctionField) GetName() string

func (*FunctionField) GetOptional

func (x *FunctionField) GetOptional() bool

func (*FunctionField) GetType

func (x *FunctionField) GetType() string

func (*FunctionField) ProtoMessage

func (*FunctionField) ProtoMessage()

func (*FunctionField) ProtoReflect

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

func (*FunctionField) Reset

func (x *FunctionField) Reset()

func (*FunctionField) String

func (x *FunctionField) String() string

type Module

type Module struct {
	Functions map[string]*Function `` /* 159-byte string literal not displayed */
	Variables map[string]*Variable `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetFunctions

func (x *Module) GetFunctions() map[string]*Function

func (*Module) GetVariables

func (x *Module) GetVariables() map[string]*Variable

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type Variable

type Variable struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Variable) Descriptor deprecated

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

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetDescription

func (x *Variable) GetDescription() string

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect

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

func (*Variable) Reset

func (x *Variable) Reset()

func (*Variable) String

func (x *Variable) String() string

Jump to

Keyboard shortcuts

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