encoding

package
v0.0.0-...-e68e48c Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_goscript_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArrayContainer

type ArrayContainer struct {
	Values []*BinaryTypedValue `protobuf:"bytes,1,rep,name=Values,proto3" json:"Values,omitempty"`
	// contains filtered or unexported fields
}

func (*ArrayContainer) Descriptor deprecated

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

Deprecated: Use ArrayContainer.ProtoReflect.Descriptor instead.

func (*ArrayContainer) GetValues

func (x *ArrayContainer) GetValues() []*BinaryTypedValue

func (*ArrayContainer) ProtoMessage

func (*ArrayContainer) ProtoMessage()

func (*ArrayContainer) ProtoReflect

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

func (*ArrayContainer) Reset

func (x *ArrayContainer) Reset()

func (*ArrayContainer) String

func (x *ArrayContainer) String() string

type BinaryOperation

type BinaryOperation struct {
	Type uint32       `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Args []*anypb.Any `protobuf:"bytes,2,rep,name=Args,proto3" json:"Args,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryOperation) Descriptor deprecated

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

Deprecated: Use BinaryOperation.ProtoReflect.Descriptor instead.

func (*BinaryOperation) GetArgs

func (x *BinaryOperation) GetArgs() []*anypb.Any

func (*BinaryOperation) GetType

func (x *BinaryOperation) GetType() uint32

func (*BinaryOperation) ProtoMessage

func (*BinaryOperation) ProtoMessage()

func (*BinaryOperation) ProtoReflect

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

func (*BinaryOperation) Reset

func (x *BinaryOperation) Reset()

func (*BinaryOperation) String

func (x *BinaryOperation) String() string

type BinaryTypedValue

type BinaryTypedValue struct {
	Type  uint32     `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Value *anypb.Any `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryTypedValue) Descriptor deprecated

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

Deprecated: Use BinaryTypedValue.ProtoReflect.Descriptor instead.

func (*BinaryTypedValue) GetType

func (x *BinaryTypedValue) GetType() uint32

func (*BinaryTypedValue) GetValue

func (x *BinaryTypedValue) GetValue() *anypb.Any

func (*BinaryTypedValue) ProtoMessage

func (*BinaryTypedValue) ProtoMessage()

func (*BinaryTypedValue) ProtoReflect

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

func (*BinaryTypedValue) Reset

func (x *BinaryTypedValue) Reset()

func (*BinaryTypedValue) String

func (x *BinaryTypedValue) String() string

type Expression

type Expression struct {
	Left     *Expression       `protobuf:"bytes,1,opt,name=Left,proto3" json:"Left,omitempty"`
	Right    *Expression       `protobuf:"bytes,2,opt,name=Right,proto3" json:"Right,omitempty"`
	Value    *BinaryTypedValue `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
	Ref      uint64            `protobuf:"varint,4,opt,name=Ref,proto3" json:"Ref,omitempty"`
	Operator uint32            `protobuf:"varint,5,opt,name=Operator,proto3" json:"Operator,omitempty"`
	Args     []*anypb.Any      `protobuf:"bytes,6,rep,name=Args,proto3" json:"Args,omitempty"`
	// contains filtered or unexported fields
}

func (*Expression) Descriptor deprecated

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

Deprecated: Use Expression.ProtoReflect.Descriptor instead.

func (*Expression) GetArgs

func (x *Expression) GetArgs() []*anypb.Any

func (*Expression) GetLeft

func (x *Expression) GetLeft() *Expression

func (*Expression) GetOperator

func (x *Expression) GetOperator() uint32

func (*Expression) GetRef

func (x *Expression) GetRef() uint64

func (*Expression) GetRight

func (x *Expression) GetRight() *Expression

func (*Expression) GetValue

func (x *Expression) GetValue() *BinaryTypedValue

func (*Expression) ProtoMessage

func (*Expression) ProtoMessage()

func (*Expression) ProtoReflect

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

func (*Expression) Reset

func (x *Expression) Reset()

func (*Expression) String

func (x *Expression) String() string

type F64Container

type F64Container struct {
	Value float64 `protobuf:"fixed64,1,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*F64Container) Descriptor deprecated

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

Deprecated: Use F64Container.ProtoReflect.Descriptor instead.

func (*F64Container) GetValue

func (x *F64Container) GetValue() float64

func (*F64Container) ProtoMessage

func (*F64Container) ProtoMessage()

func (*F64Container) ProtoReflect

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

func (*F64Container) Reset

func (x *F64Container) Reset()

func (*F64Container) String

func (x *F64Container) String() string

type FunctionArgument

type FunctionArgument struct {
	Expression *Expression `protobuf:"bytes,1,opt,name=Expression,proto3" json:"Expression,omitempty"`
	SymbolRef  uint64      `protobuf:"varint,2,opt,name=SymbolRef,proto3" json:"SymbolRef,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionArgument) Descriptor deprecated

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

Deprecated: Use FunctionArgument.ProtoReflect.Descriptor instead.

func (*FunctionArgument) GetExpression

func (x *FunctionArgument) GetExpression() *Expression

func (*FunctionArgument) GetSymbolRef

func (x *FunctionArgument) GetSymbolRef() uint64

func (*FunctionArgument) ProtoMessage

func (*FunctionArgument) ProtoMessage()

func (*FunctionArgument) ProtoReflect

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

func (*FunctionArgument) Reset

func (x *FunctionArgument) Reset()

func (*FunctionArgument) String

func (x *FunctionArgument) String() string

type Program

type Program struct {
	SymbolTableSize uint64             `protobuf:"varint,1,opt,name=SymbolTableSize,proto3" json:"SymbolTableSize,omitempty"`
	Operations      []*BinaryOperation `protobuf:"bytes,2,rep,name=Operations,proto3" json:"Operations,omitempty"`
	// contains filtered or unexported fields
}

func (*Program) Descriptor deprecated

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

Deprecated: Use Program.ProtoReflect.Descriptor instead.

func (*Program) GetOperations

func (x *Program) GetOperations() []*BinaryOperation

func (*Program) GetSymbolTableSize

func (x *Program) GetSymbolTableSize() uint64

func (*Program) ProtoMessage

func (*Program) ProtoMessage()

func (*Program) ProtoReflect

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

func (*Program) Reset

func (x *Program) Reset()

func (*Program) String

func (x *Program) String() string

type StringContainer

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

func (*StringContainer) Descriptor deprecated

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

Deprecated: Use StringContainer.ProtoReflect.Descriptor instead.

func (*StringContainer) GetValue

func (x *StringContainer) GetValue() string

func (*StringContainer) ProtoMessage

func (*StringContainer) ProtoMessage()

func (*StringContainer) ProtoReflect

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

func (*StringContainer) Reset

func (x *StringContainer) Reset()

func (*StringContainer) String

func (x *StringContainer) String() string

type U64Container

type U64Container struct {
	Value uint64 `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*U64Container) Descriptor deprecated

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

Deprecated: Use U64Container.ProtoReflect.Descriptor instead.

func (*U64Container) GetValue

func (x *U64Container) GetValue() uint64

func (*U64Container) ProtoMessage

func (*U64Container) ProtoMessage()

func (*U64Container) ProtoReflect

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

func (*U64Container) Reset

func (x *U64Container) Reset()

func (*U64Container) String

func (x *U64Container) String() string

Jump to

Keyboard shortcuts

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