expression

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0, BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_google_xtoproto_proto_expression_expression_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Expression

type Expression struct {

	// Types that are assignable to Value:
	//	*Expression_Double
	//	*Expression_Float
	//	*Expression_Int32
	//	*Expression_Int64
	//	*Expression_Uint32
	//	*Expression_Uint64
	//	*Expression_Sint32
	//	*Expression_Sint64
	//	*Expression_Fixed32
	//	*Expression_Fixed64
	//	*Expression_Sfixed32
	//	*Expression_Sfixed64
	//	*Expression_Bool
	//	*Expression_String_
	//	*Expression_Bytes
	//	*Expression_Symbol
	//	*Expression_List
	//	*Expression_Other
	Value         isExpression_Value `protobuf_oneof:"value"`
	SourceContext *SourceContext     `protobuf:"bytes,21,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"`
	// contains filtered or unexported fields
}

func (*Expression) Descriptor deprecated

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

Deprecated: Use Expression.ProtoReflect.Descriptor instead.

func (*Expression) GetBool

func (x *Expression) GetBool() bool

func (*Expression) GetBytes

func (x *Expression) GetBytes() []byte

func (*Expression) GetDouble

func (x *Expression) GetDouble() float64

func (*Expression) GetFixed32

func (x *Expression) GetFixed32() uint32

func (*Expression) GetFixed64

func (x *Expression) GetFixed64() uint64

func (*Expression) GetFloat

func (x *Expression) GetFloat() float32

func (*Expression) GetInt32

func (x *Expression) GetInt32() int32

func (*Expression) GetInt64

func (x *Expression) GetInt64() int64

func (*Expression) GetList

func (x *Expression) GetList() *List

func (*Expression) GetOther

func (x *Expression) GetOther() *anypb.Any

func (*Expression) GetSfixed32

func (x *Expression) GetSfixed32() int32

func (*Expression) GetSfixed64

func (x *Expression) GetSfixed64() int64

func (*Expression) GetSint32

func (x *Expression) GetSint32() int32

func (*Expression) GetSint64

func (x *Expression) GetSint64() int64

func (*Expression) GetSourceContext

func (x *Expression) GetSourceContext() *SourceContext

func (*Expression) GetString_

func (x *Expression) GetString_() string

func (*Expression) GetSymbol

func (x *Expression) GetSymbol() *Symbol

func (*Expression) GetUint32

func (x *Expression) GetUint32() uint32

func (*Expression) GetUint64

func (x *Expression) GetUint64() uint64

func (*Expression) GetValue

func (m *Expression) GetValue() isExpression_Value

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 Expression_Bool

type Expression_Bool struct {
	Bool bool `protobuf:"varint,13,opt,name=bool,proto3,oneof"`
}

type Expression_Bytes

type Expression_Bytes struct {
	Bytes []byte `protobuf:"bytes,15,opt,name=bytes,proto3,oneof"`
}

type Expression_Double

type Expression_Double struct {
	Double float64 `protobuf:"fixed64,1,opt,name=double,proto3,oneof"`
}

type Expression_Fixed32

type Expression_Fixed32 struct {
	Fixed32 uint32 `protobuf:"fixed32,9,opt,name=fixed32,proto3,oneof"`
}

type Expression_Fixed64

type Expression_Fixed64 struct {
	Fixed64 uint64 `protobuf:"fixed64,10,opt,name=fixed64,proto3,oneof"`
}

type Expression_Float

type Expression_Float struct {
	Float float32 `protobuf:"fixed32,2,opt,name=float,proto3,oneof"`
}

type Expression_Int32

type Expression_Int32 struct {
	Int32 int32 `protobuf:"varint,3,opt,name=int32,proto3,oneof"`
}

type Expression_Int64

type Expression_Int64 struct {
	Int64 int64 `protobuf:"varint,4,opt,name=int64,proto3,oneof"`
}

type Expression_List

type Expression_List struct {
	List *List `protobuf:"bytes,17,opt,name=list,proto3,oneof"`
}

type Expression_Other

type Expression_Other struct {
	Other *anypb.Any `protobuf:"bytes,20,opt,name=other,proto3,oneof"`
}

type Expression_Sfixed32

type Expression_Sfixed32 struct {
	Sfixed32 int32 `protobuf:"fixed32,11,opt,name=sfixed32,proto3,oneof"`
}

type Expression_Sfixed64

type Expression_Sfixed64 struct {
	Sfixed64 int64 `protobuf:"fixed64,12,opt,name=sfixed64,proto3,oneof"`
}

type Expression_Sint32

type Expression_Sint32 struct {
	Sint32 int32 `protobuf:"zigzag32,7,opt,name=sint32,proto3,oneof"`
}

type Expression_Sint64

type Expression_Sint64 struct {
	Sint64 int64 `protobuf:"zigzag64,8,opt,name=sint64,proto3,oneof"`
}

type Expression_String_

type Expression_String_ struct {
	String_ string `protobuf:"bytes,14,opt,name=string,proto3,oneof"`
}

type Expression_Symbol

type Expression_Symbol struct {
	Symbol *Symbol `protobuf:"bytes,16,opt,name=symbol,proto3,oneof"`
}

type Expression_Uint32

type Expression_Uint32 struct {
	Uint32 uint32 `protobuf:"varint,5,opt,name=uint32,proto3,oneof"`
}

type Expression_Uint64

type Expression_Uint64 struct {
	Uint64 uint64 `protobuf:"varint,6,opt,name=uint64,proto3,oneof"`
}

type List

type List struct {
	Elements []*Expression `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*List) Descriptor deprecated

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

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetElements

func (x *List) GetElements() []*Expression

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

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

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

type SourceContext

type SourceContext struct {
	FileName     string               `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	Range        *SourceContext_Range `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"`
	DebugSummary string               `protobuf:"bytes,3,opt,name=debug_summary,json=debugSummary,proto3" json:"debug_summary,omitempty"`
	Details      []*anypb.Any         `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceContext) Descriptor deprecated

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

Deprecated: Use SourceContext.ProtoReflect.Descriptor instead.

func (*SourceContext) GetDebugSummary

func (x *SourceContext) GetDebugSummary() string

func (*SourceContext) GetDetails

func (x *SourceContext) GetDetails() []*anypb.Any

func (*SourceContext) GetFileName

func (x *SourceContext) GetFileName() string

func (*SourceContext) GetRange

func (x *SourceContext) GetRange() *SourceContext_Range

func (*SourceContext) ProtoMessage

func (*SourceContext) ProtoMessage()

func (*SourceContext) ProtoReflect

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

func (*SourceContext) Reset

func (x *SourceContext) Reset()

func (*SourceContext) String

func (x *SourceContext) String() string

type SourceContext_CursorPosition

type SourceContext_CursorPosition struct {
	ByteOffset      *int64 `protobuf:"varint,1,opt,name=byte_offset,json=byteOffset,proto3,oneof" json:"byte_offset,omitempty"`
	Line            *int64 `protobuf:"varint,2,opt,name=line,proto3,oneof" json:"line,omitempty"`
	ColumnByte      *int64 `protobuf:"varint,3,opt,name=column_byte,json=columnByte,proto3,oneof" json:"column_byte,omitempty"`
	ColumnCharacter *int64 `protobuf:"varint,4,opt,name=column_character,json=columnCharacter,proto3,oneof" json:"column_character,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceContext_CursorPosition) Descriptor deprecated

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

Deprecated: Use SourceContext_CursorPosition.ProtoReflect.Descriptor instead.

func (*SourceContext_CursorPosition) GetByteOffset

func (x *SourceContext_CursorPosition) GetByteOffset() int64

func (*SourceContext_CursorPosition) GetColumnByte

func (x *SourceContext_CursorPosition) GetColumnByte() int64

func (*SourceContext_CursorPosition) GetColumnCharacter

func (x *SourceContext_CursorPosition) GetColumnCharacter() int64

func (*SourceContext_CursorPosition) GetLine

func (x *SourceContext_CursorPosition) GetLine() int64

func (*SourceContext_CursorPosition) ProtoMessage

func (*SourceContext_CursorPosition) ProtoMessage()

func (*SourceContext_CursorPosition) ProtoReflect

func (*SourceContext_CursorPosition) Reset

func (x *SourceContext_CursorPosition) Reset()

func (*SourceContext_CursorPosition) String

type SourceContext_Range

type SourceContext_Range struct {
	Start *SourceContext_CursorPosition `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   *SourceContext_CursorPosition `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceContext_Range) Descriptor deprecated

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

Deprecated: Use SourceContext_Range.ProtoReflect.Descriptor instead.

func (*SourceContext_Range) GetEnd

func (*SourceContext_Range) GetStart

func (*SourceContext_Range) ProtoMessage

func (*SourceContext_Range) ProtoMessage()

func (*SourceContext_Range) ProtoReflect

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

func (*SourceContext_Range) Reset

func (x *SourceContext_Range) Reset()

func (*SourceContext_Range) String

func (x *SourceContext_Range) String() string

type Symbol

type Symbol struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Symbol) Descriptor deprecated

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

Deprecated: Use Symbol.ProtoReflect.Descriptor instead.

func (*Symbol) GetName

func (x *Symbol) GetName() string

func (*Symbol) GetNamespace

func (x *Symbol) GetNamespace() string

func (*Symbol) ProtoMessage

func (*Symbol) ProtoMessage()

func (*Symbol) ProtoReflect

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

func (*Symbol) Reset

func (x *Symbol) Reset()

func (*Symbol) String

func (x *Symbol) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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