Documentation
¶
Index ¶
- Variables
- type CallFrame
- func (*CallFrame) Descriptor() ([]byte, []int)deprecated
- func (x *CallFrame) GetLoc() *Location
- func (x *CallFrame) GetName() string
- func (*CallFrame) ProtoMessage()
- func (x *CallFrame) ProtoReflect() protoreflect.Message
- func (x *CallFrame) Reset()
- func (x *CallFrame) String() string
- func (m *CallFrame) Validate() error
- type CallFrameValidationError
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCallstack() []*CallFrame
- func (x *Error) GetMsg() string
- func (x *Error) GetNext() *Error
- func (x *Error) GetType() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- func (m *Error) Validate() error
- type ErrorValidationError
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetColumn() int32
- func (x *Location) GetLine() int32
- func (x *Location) GetPath() *Path
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- func (m *Location) Validate() error
- type LocationValidationError
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetCompiledCode() []byte
- func (x *Module) GetCompilerVersion() string
- func (x *Module) GetLang() string
- func (x *Module) GetPredecls() []string
- func (x *Module) GetSourcePath() *Path
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- func (m *Module) Validate() error
- type ModuleValidationError
- type Path
- func (*Path) Descriptor() ([]byte, []int)deprecated
- func (x *Path) GetPath() string
- func (x *Path) GetScheme() string
- func (x *Path) GetVersion() string
- func (*Path) ProtoMessage()
- func (x *Path) ProtoReflect() protoreflect.Message
- func (x *Path) Reset()
- func (x *Path) String() string
- func (m *Path) Validate() error
- type PathValidationError
Constants ¶
This section is empty.
Variables ¶
var File_program_error_proto protoreflect.FileDescriptor
var File_program_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"` Loc *Location `protobuf:"bytes,2,opt,name=loc,proto3" json:"loc,omitempty"` // contains filtered or unexported fields }
func (*CallFrame) Descriptor
deprecated
func (*CallFrame) ProtoMessage ¶
func (*CallFrame) ProtoMessage()
func (*CallFrame) ProtoReflect ¶
func (x *CallFrame) ProtoReflect() protoreflect.Message
type CallFrameValidationError ¶
type CallFrameValidationError struct {
// contains filtered or unexported fields
}
CallFrameValidationError is the validation error returned by CallFrame.Validate if the designated constraints aren't met.
func (CallFrameValidationError) Cause ¶
func (e CallFrameValidationError) Cause() error
Cause function returns cause value.
func (CallFrameValidationError) Error ¶
func (e CallFrameValidationError) Error() string
Error satisfies the builtin error interface
func (CallFrameValidationError) ErrorName ¶
func (e CallFrameValidationError) ErrorName() string
ErrorName returns error name.
func (CallFrameValidationError) Field ¶
func (e CallFrameValidationError) Field() string
Field function returns field value.
func (CallFrameValidationError) Key ¶
func (e CallFrameValidationError) Key() bool
Key function returns key value.
func (CallFrameValidationError) Reason ¶
func (e CallFrameValidationError) Reason() string
Reason function returns reason value.
type Error ¶
type Error struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Callstack []*CallFrame `protobuf:"bytes,3,rep,name=callstack,proto3" json:"callstack,omitempty"` Next *Error `protobuf:"bytes,4,opt,name=next,proto3" json:"next,omitempty"` // next error if multiple errors. // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetCallstack ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type ErrorValidationError ¶
type ErrorValidationError struct {
// contains filtered or unexported fields
}
ErrorValidationError is the validation error returned by Error.Validate if the designated constraints aren't met.
func (ErrorValidationError) Cause ¶
func (e ErrorValidationError) Cause() error
Cause function returns cause value.
func (ErrorValidationError) Error ¶
func (e ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorValidationError) ErrorName ¶
func (e ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorValidationError) Field ¶
func (e ErrorValidationError) Field() string
Field function returns field value.
func (ErrorValidationError) Key ¶
func (e ErrorValidationError) Key() bool
Key function returns key value.
func (ErrorValidationError) Reason ¶
func (e ErrorValidationError) Reason() string
Reason function returns reason value.
type Location ¶
type Location struct { Path *Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type LocationValidationError ¶
type LocationValidationError struct {
// contains filtered or unexported fields
}
LocationValidationError is the validation error returned by Location.Validate if the designated constraints aren't met.
func (LocationValidationError) Cause ¶
func (e LocationValidationError) Cause() error
Cause function returns cause value.
func (LocationValidationError) Error ¶
func (e LocationValidationError) Error() string
Error satisfies the builtin error interface
func (LocationValidationError) ErrorName ¶
func (e LocationValidationError) ErrorName() string
ErrorName returns error name.
func (LocationValidationError) Field ¶
func (e LocationValidationError) Field() string
Field function returns field value.
func (LocationValidationError) Key ¶
func (e LocationValidationError) Key() bool
Key function returns key value.
func (LocationValidationError) Reason ¶
func (e LocationValidationError) Reason() string
Reason function returns reason value.
type Module ¶
type Module struct { Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"` // starlark, lua, some-kind-of-yaml, etc... Predecls []string `protobuf:"bytes,2,rep,name=predecls,proto3" json:"predecls,omitempty"` CompilerVersion string `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion,proto3" json:"compiler_version,omitempty"` SourcePath *Path `protobuf:"bytes,4,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"` CompiledCode []byte `protobuf:"bytes,5,opt,name=compiled_code,json=compiledCode,proto3" json:"compiled_code,omitempty"` // if empty, fetch from path. // contains filtered or unexported fields }
func (*Module) Descriptor
deprecated
func (*Module) GetCompiledCode ¶
func (*Module) GetCompilerVersion ¶
func (*Module) GetPredecls ¶
func (*Module) GetSourcePath ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleValidationError ¶
type ModuleValidationError struct {
// contains filtered or unexported fields
}
ModuleValidationError is the validation error returned by Module.Validate if the designated constraints aren't met.
func (ModuleValidationError) Cause ¶
func (e ModuleValidationError) Cause() error
Cause function returns cause value.
func (ModuleValidationError) Error ¶
func (e ModuleValidationError) Error() string
Error satisfies the builtin error interface
func (ModuleValidationError) ErrorName ¶
func (e ModuleValidationError) ErrorName() string
ErrorName returns error name.
func (ModuleValidationError) Field ¶
func (e ModuleValidationError) Field() string
Field function returns field value.
func (ModuleValidationError) Key ¶
func (e ModuleValidationError) Key() bool
Key function returns key value.
func (ModuleValidationError) Reason ¶
func (e ModuleValidationError) Reason() string
Reason function returns reason value.
type Path ¶
type Path struct { Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Path) Descriptor
deprecated
func (*Path) GetVersion ¶
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶
func (x *Path) ProtoReflect() protoreflect.Message
type PathValidationError ¶
type PathValidationError struct {
// contains filtered or unexported fields
}
PathValidationError is the validation error returned by Path.Validate if the designated constraints aren't met.
func (PathValidationError) Cause ¶
func (e PathValidationError) Cause() error
Cause function returns cause value.
func (PathValidationError) Error ¶
func (e PathValidationError) Error() string
Error satisfies the builtin error interface
func (PathValidationError) ErrorName ¶
func (e PathValidationError) ErrorName() string
ErrorName returns error name.
func (PathValidationError) Field ¶
func (e PathValidationError) Field() string
Field function returns field value.
func (PathValidationError) Key ¶
func (e PathValidationError) Key() bool
Key function returns key value.
func (PathValidationError) Reason ¶
func (e PathValidationError) Reason() string
Reason function returns reason value.