Documentation ¶
Index ¶
- Variables
- func Hash(m proto.Message) ([64]byte, error)
- func OriginErrorf(o *Origin, format string, v ...interface{}) error
- func OriginString(o *Origin) string
- func RegisterEvalerServer(s grpc.ServiceRegistrar, srv EvalerServer)
- func RegisterExternalProviderServer(s grpc.ServiceRegistrar, srv ExternalProviderServer)
- func RegisterParserServer(s grpc.ServiceRegistrar, srv ParserServer)
- func RegisterRendererServer(s grpc.ServiceRegistrar, srv RendererServer)
- func RegisterVerifierServer(s grpc.ServiceRegistrar, srv VerifierServer)
- func ToUUID(id *UUID) (uuid.UUID, error)
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetContent() []*Node
- func (x *Block) GetName() string
- func (x *Block) GetO() *Origin
- func (x *Block) GetT() *CallType
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockAsType
- func (*BlockAsType) Descriptor() ([]byte, []int)deprecated
- func (x *BlockAsType) GetContent() *Block
- func (x *BlockAsType) GetIsType() *Zero
- func (x *BlockAsType) GetO() *Origin
- func (*BlockAsType) ProtoMessage()
- func (x *BlockAsType) ProtoReflect() protoreflect.Message
- func (x *BlockAsType) Reset()
- func (x *BlockAsType) String() string
- type Call
- func (*Call) Descriptor() ([]byte, []int)deprecated
- func (x *Call) GetArg() *Node
- func (x *Call) GetEe() *Node
- func (x *Call) GetO() *Origin
- func (x *Call) GetSelf() *Node
- func (x *Call) GetT() *CallType
- func (*Call) ProtoMessage()
- func (x *Call) ProtoReflect() protoreflect.Message
- func (x *Call) Reset()
- func (x *Call) String() string
- type CallArg
- type CallRe
- type CallType
- func (*CallType) Descriptor() ([]byte, []int)deprecated
- func (x *CallType) GetArg() *Type
- func (x *CallType) GetArgID() string
- func (x *CallType) GetIsType() *Zero
- func (x *CallType) GetO() *Origin
- func (x *CallType) GetRe() *Type
- func (x *CallType) GetSelf() *Type
- func (x *CallType) GetSelfID() string
- func (*CallType) ProtoMessage()
- func (x *CallType) ProtoReflect() protoreflect.Message
- func (x *CallType) Reset()
- func (x *CallType) String() string
- type Cast
- type Dispatcher
- func (*Dispatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Dispatcher) GetO() *Origin
- func (x *Dispatcher) GetPairs() []*DispatcherPair
- func (*Dispatcher) ProtoMessage()
- func (x *Dispatcher) ProtoReflect() protoreflect.Message
- func (x *Dispatcher) Reset()
- func (x *Dispatcher) String() string
- type DispatcherPair
- func (*DispatcherPair) Descriptor() ([]byte, []int)deprecated
- func (x *DispatcherPair) GetKey() *CallType
- func (x *DispatcherPair) GetValue() *Node
- func (*DispatcherPair) ProtoMessage()
- func (x *DispatcherPair) ProtoReflect() protoreflect.Message
- func (x *DispatcherPair) Reset()
- func (x *DispatcherPair) String() string
- type DispatcherType
- func (*DispatcherType) Descriptor() ([]byte, []int)deprecated
- func (x *DispatcherType) GetIsType() *Zero
- func (x *DispatcherType) GetO() *Origin
- func (*DispatcherType) ProtoMessage()
- func (x *DispatcherType) ProtoReflect() protoreflect.Message
- func (x *DispatcherType) Reset()
- func (x *DispatcherType) String() string
- type Error
- type EvalProgramRe
- func (*EvalProgramRe) Descriptor() ([]byte, []int)deprecated
- func (x *EvalProgramRe) GetError() *Error
- func (x *EvalProgramRe) GetProgram() *Program
- func (*EvalProgramRe) ProtoMessage()
- func (x *EvalProgramRe) ProtoReflect() protoreflect.Message
- func (x *EvalProgramRe) Reset()
- func (x *EvalProgramRe) String() string
- type EvalerClient
- type EvalerServer
- type External
- type ExternalProviderClient
- type ExternalProviderServer
- type ExternalType
- func (*ExternalType) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalType) GetIsType() *Zero
- func (x *ExternalType) GetO() *Origin
- func (*ExternalType) ProtoMessage()
- func (x *ExternalType) ProtoReflect() protoreflect.Message
- func (x *ExternalType) Reset()
- func (x *ExternalType) String() string
- type Frame
- func (*Frame) Descriptor() ([]byte, []int)deprecated
- func (x *Frame) GetCallHash() []byte
- func (x *Frame) GetLen() uint64
- func (x *Frame) GetLone() bool
- func (x *Frame) GetNote() string
- func (x *Frame) GetO() *Origin
- func (x *Frame) GetPure() bool
- func (*Frame) ProtoMessage()
- func (x *Frame) ProtoReflect() protoreflect.Message
- func (x *Frame) Reset()
- func (x *Frame) String() string
- type Inter
- type Label
- type Map
- type MapPair
- type MapType
- func (*MapType) Descriptor() ([]byte, []int)deprecated
- func (x *MapType) GetIsType() *Zero
- func (x *MapType) GetKey() *Type
- func (x *MapType) GetO() *Origin
- func (x *MapType) GetValue() *Type
- func (*MapType) ProtoMessage()
- func (x *MapType) ProtoReflect() protoreflect.Message
- func (x *MapType) Reset()
- func (x *MapType) String() string
- type MapTypeConsecutive
- func (MapTypeConsecutive) Descriptor() protoreflect.EnumDescriptor
- func (x MapTypeConsecutive) Enum() *MapTypeConsecutive
- func (MapTypeConsecutive) EnumDescriptor() ([]byte, []int)deprecated
- func (x MapTypeConsecutive) Number() protoreflect.EnumNumber
- func (x MapTypeConsecutive) String() string
- func (MapTypeConsecutive) Type() protoreflect.EnumType
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetBlock() *Block
- func (x *Node) GetCall() *Call
- func (x *Node) GetCast() *Cast
- func (m *Node) GetContent() isNode_Content
- func (x *Node) GetDispatcher() *Dispatcher
- func (x *Node) GetExternal() *External
- func (x *Node) GetImmutable() bool
- func (x *Node) GetLabel() *Label
- func (x *Node) GetMap() *Map
- func (x *Node) GetNum() *Num
- func (x *Node) GetPod() *Pod
- func (x *Node) GetPriority() *Priority
- func (x *Node) GetRef() *Ref
- func (x *Node) GetStruct() *Struct
- func (x *Node) GetSymbol() *Symbol
- func (x *Node) GetType() *Type
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Node_Block
- type Node_Call
- type Node_Cast
- type Node_Dispatcher
- type Node_External
- type Node_Label
- type Node_Map
- type Node_Num
- type Node_Pod
- type Node_Priority
- type Node_Ref
- type Node_Struct
- type Node_Symbol
- type Node_Type
- type Num
- func (*Num) Descriptor() ([]byte, []int)deprecated
- func (m *Num) GetContent() isNum_Content
- func (x *Num) GetInf() bool
- func (x *Num) GetNan() *Zero
- func (x *Num) GetNormal() string
- func (x *Num) GetO() *Origin
- func (x *Num) GetT() *NumType
- func (*Num) ProtoMessage()
- func (x *Num) ProtoReflect() protoreflect.Message
- func (x *Num) Reset()
- func (x *Num) String() string
- type NumType
- type Num_Inf
- type Num_Nan
- type Num_Normal
- type Origin
- func (*Origin) Descriptor() ([]byte, []int)deprecated
- func (x *Origin) GetEndColumn() uint32
- func (x *Origin) GetEndLine() uint32
- func (x *Origin) GetFilepath() string
- func (x *Origin) GetName() string
- func (x *Origin) GetStartColumn() uint32
- func (x *Origin) GetStartLine() uint32
- func (*Origin) ProtoMessage()
- func (x *Origin) ProtoReflect() protoreflect.Message
- func (x *Origin) Reset()
- func (x *Origin) String() string
- type ParseArgs
- type ParserClient
- type ParserServer
- type Pod
- type PodType
- type Priority
- type Program
- type Ref
- type RefAsType
- type RendererClient
- type RendererRe
- type RendererServer
- type RootType
- type Stack
- type Struct
- type StructType
- func (*StructType) Descriptor() ([]byte, []int)deprecated
- func (x *StructType) GetIsEnum() bool
- func (x *StructType) GetIsType() *Zero
- func (x *StructType) GetO() *Origin
- func (x *StructType) GetPairs() []*StructTypePair
- func (*StructType) ProtoMessage()
- func (x *StructType) ProtoReflect() protoreflect.Message
- func (x *StructType) Reset()
- func (x *StructType) String() string
- type StructTypePair
- func (*StructTypePair) Descriptor() ([]byte, []int)deprecated
- func (x *StructTypePair) GetDefault() *Node
- func (x *StructTypePair) GetKey() string
- func (x *StructTypePair) GetValue() *Type
- func (*StructTypePair) ProtoMessage()
- func (x *StructTypePair) ProtoReflect() protoreflect.Message
- func (x *StructTypePair) Reset()
- func (x *StructTypePair) String() string
- type Symbol
- type SymbolType
- type Type
- func (*Type) Descriptor() ([]byte, []int)deprecated
- func (x *Type) GetBlockAsType() *BlockAsType
- func (x *Type) GetCallType() *CallType
- func (m *Type) GetContent() isType_Content
- func (x *Type) GetDispatcherType() *DispatcherType
- func (x *Type) GetExternalType() *ExternalType
- func (x *Type) GetInter() *Inter
- func (x *Type) GetMapType() *MapType
- func (x *Type) GetNumType() *NumType
- func (x *Type) GetPodType() *PodType
- func (x *Type) GetRefAsType() *RefAsType
- func (x *Type) GetRootType() *RootType
- func (x *Type) GetStructType() *StructType
- func (x *Type) GetSymbolType() *SymbolType
- func (*Type) ProtoMessage()
- func (x *Type) ProtoReflect() protoreflect.Message
- func (x *Type) Reset()
- func (x *Type) String() string
- type Type_BlockAsType
- type Type_CallType
- type Type_DispatcherType
- type Type_ExternalType
- type Type_Inter
- type Type_MapType
- type Type_NumType
- type Type_PodType
- type Type_RefAsType
- type Type_RootType
- type Type_StructType
- type Type_SymbolType
- type UUID
- type UnimplementedEvalerServer
- type UnimplementedExternalProviderServer
- type UnimplementedParserServer
- type UnimplementedRendererServer
- type UnimplementedVerifierServer
- type UnsafeEvalerServer
- type UnsafeExternalProviderServer
- type UnsafeParserServer
- type UnsafeRendererServer
- type UnsafeVerifierServer
- type VerifierClient
- type VerifierServer
- type VerifyRe
- type Zero
Constants ¶
This section is empty.
Variables ¶
var ( MapTypeConsecutive_name = map[int32]string{ 0: "BOTH", 1: "CONSECUTIVE", 2: "NONCONSECUTIVE", } MapTypeConsecutive_value = map[string]int32{ "BOTH": 0, "CONSECUTIVE": 1, "NONCONSECUTIVE": 2, } )
Enum value maps for MapTypeConsecutive.
var Evaler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "astproto.Evaler", HandlerType: (*EvalerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EvalProgram", Handler: _Evaler_EvalProgram_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services.proto", }
Evaler_ServiceDesc is the grpc.ServiceDesc for Evaler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ExternalProvider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "astproto.ExternalProvider", HandlerType: (*ExternalProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Key", Handler: _ExternalProvider_Call_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services.proto", }
ExternalProvider_ServiceDesc is the grpc.ServiceDesc for ExternalProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ast_proto protoreflect.FileDescriptor
var File_general_proto protoreflect.FileDescriptor
var File_services_proto protoreflect.FileDescriptor
var Parser_ServiceDesc = grpc.ServiceDesc{ ServiceName: "astproto.Parser", HandlerType: (*ParserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Parse", Handler: _Parser_Parse_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services.proto", }
Parser_ServiceDesc is the grpc.ServiceDesc for Parser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Renderer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "astproto.Renderer", HandlerType: (*RendererServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Render", Handler: _Renderer_Render_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services.proto", }
Renderer_ServiceDesc is the grpc.ServiceDesc for Renderer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RuneSymbol = &Symbol{ O: &Origin{ Filepath: "builtin/rune", }, Name: "rune", }
var Verifier_ServiceDesc = grpc.ServiceDesc{ ServiceName: "astproto.Verifier", HandlerType: (*VerifierServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Verify", Handler: _Verifier_Verify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services.proto", }
Verifier_ServiceDesc is the grpc.ServiceDesc for Verifier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func OriginErrorf ¶
func OriginString ¶
func RegisterEvalerServer ¶
func RegisterEvalerServer(s grpc.ServiceRegistrar, srv EvalerServer)
func RegisterExternalProviderServer ¶
func RegisterExternalProviderServer(s grpc.ServiceRegistrar, srv ExternalProviderServer)
func RegisterParserServer ¶
func RegisterParserServer(s grpc.ServiceRegistrar, srv ParserServer)
func RegisterRendererServer ¶
func RegisterRendererServer(s grpc.ServiceRegistrar, srv RendererServer)
func RegisterVerifierServer ¶
func RegisterVerifierServer(s grpc.ServiceRegistrar, srv VerifierServer)
Types ¶
type Block ¶
type Block struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` T *CallType `protobuf:"bytes,3,opt,name=t,proto3" json:"t,omitempty"` Name string `protobuf:"bytes,4,opt,name=N,proto3" json:"N,omitempty"` Content []*Node `protobuf:"bytes,5,rep,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetContent ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockAsType ¶
type BlockAsType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` Content *Block `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*BlockAsType) Descriptor
deprecated
func (*BlockAsType) Descriptor() ([]byte, []int)
Deprecated: Use BlockAsType.ProtoReflect.Descriptor instead.
func (*BlockAsType) GetContent ¶
func (x *BlockAsType) GetContent() *Block
func (*BlockAsType) GetIsType ¶
func (x *BlockAsType) GetIsType() *Zero
func (*BlockAsType) GetO ¶
func (x *BlockAsType) GetO() *Origin
func (*BlockAsType) ProtoMessage ¶
func (*BlockAsType) ProtoMessage()
func (*BlockAsType) ProtoReflect ¶
func (x *BlockAsType) ProtoReflect() protoreflect.Message
func (*BlockAsType) Reset ¶
func (x *BlockAsType) Reset()
func (*BlockAsType) String ¶
func (x *BlockAsType) String() string
type Call ¶
type Call struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` T *CallType `protobuf:"bytes,2,opt,name=t,proto3" json:"t,omitempty"` Self *Node `protobuf:"bytes,3,opt,name=self,proto3" json:"self,omitempty"` Ee *Node `protobuf:"bytes,4,opt,name=ee,proto3" json:"ee,omitempty"` Arg *Node `protobuf:"bytes,5,opt,name=arg,proto3" json:"arg,omitempty"` // contains filtered or unexported fields }
func (*Call) Descriptor
deprecated
func (*Call) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) ProtoReflect ¶
func (x *Call) ProtoReflect() protoreflect.Message
type CallArg ¶
type CallArg struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Call *Call `protobuf:"bytes,2,opt,name=call,proto3" json:"call,omitempty"` // contains filtered or unexported fields }
func (*CallArg) Descriptor
deprecated
func (*CallArg) ProtoMessage ¶
func (*CallArg) ProtoMessage()
func (*CallArg) ProtoReflect ¶
func (x *CallArg) ProtoReflect() protoreflect.Message
type CallRe ¶
type CallRe struct { Result *Node `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CallRe) Descriptor
deprecated
func (*CallRe) ProtoMessage ¶
func (*CallRe) ProtoMessage()
func (*CallRe) ProtoReflect ¶
func (x *CallRe) ProtoReflect() protoreflect.Message
type CallType ¶
type CallType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` Self *Type `protobuf:"bytes,3,opt,name=self,proto3" json:"self,omitempty"` SelfID string `protobuf:"bytes,4,opt,name=selfID,proto3" json:"selfID,omitempty"` Arg *Type `protobuf:"bytes,5,opt,name=arg,proto3" json:"arg,omitempty"` ArgID string `protobuf:"bytes,6,opt,name=argID,proto3" json:"argID,omitempty"` Re *Type `protobuf:"bytes,7,opt,name=re,proto3" json:"re,omitempty"` // contains filtered or unexported fields }
func (*CallType) Descriptor
deprecated
func (*CallType) ProtoMessage ¶
func (*CallType) ProtoMessage()
func (*CallType) ProtoReflect ¶
func (x *CallType) ProtoReflect() protoreflect.Message
type Cast ¶
type Cast struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Er *Type `protobuf:"bytes,2,opt,name=er,proto3" json:"er,omitempty"` Ee *Node `protobuf:"bytes,3,opt,name=ee,proto3" json:"ee,omitempty"` // contains filtered or unexported fields }
func (*Cast) Descriptor
deprecated
func (*Cast) ProtoMessage ¶
func (*Cast) ProtoMessage()
func (*Cast) ProtoReflect ¶
func (x *Cast) ProtoReflect() protoreflect.Message
type Dispatcher ¶
type Dispatcher struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Pairs []*DispatcherPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*Dispatcher) Descriptor
deprecated
func (*Dispatcher) Descriptor() ([]byte, []int)
Deprecated: Use Dispatcher.ProtoReflect.Descriptor instead.
func (*Dispatcher) GetO ¶
func (x *Dispatcher) GetO() *Origin
func (*Dispatcher) GetPairs ¶
func (x *Dispatcher) GetPairs() []*DispatcherPair
func (*Dispatcher) ProtoMessage ¶
func (*Dispatcher) ProtoMessage()
func (*Dispatcher) ProtoReflect ¶
func (x *Dispatcher) ProtoReflect() protoreflect.Message
func (*Dispatcher) Reset ¶
func (x *Dispatcher) Reset()
func (*Dispatcher) String ¶
func (x *Dispatcher) String() string
type DispatcherPair ¶
type DispatcherPair struct { Key *CallType `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Node `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DispatcherPair) Descriptor
deprecated
func (*DispatcherPair) Descriptor() ([]byte, []int)
Deprecated: Use DispatcherPair.ProtoReflect.Descriptor instead.
func (*DispatcherPair) GetKey ¶
func (x *DispatcherPair) GetKey() *CallType
func (*DispatcherPair) GetValue ¶
func (x *DispatcherPair) GetValue() *Node
func (*DispatcherPair) ProtoMessage ¶
func (*DispatcherPair) ProtoMessage()
func (*DispatcherPair) ProtoReflect ¶
func (x *DispatcherPair) ProtoReflect() protoreflect.Message
func (*DispatcherPair) Reset ¶
func (x *DispatcherPair) Reset()
func (*DispatcherPair) String ¶
func (x *DispatcherPair) String() string
type DispatcherType ¶
type DispatcherType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*DispatcherType) Descriptor
deprecated
func (*DispatcherType) Descriptor() ([]byte, []int)
Deprecated: Use DispatcherType.ProtoReflect.Descriptor instead.
func (*DispatcherType) GetIsType ¶
func (x *DispatcherType) GetIsType() *Zero
func (*DispatcherType) GetO ¶
func (x *DispatcherType) GetO() *Origin
func (*DispatcherType) ProtoMessage ¶
func (*DispatcherType) ProtoMessage()
func (*DispatcherType) ProtoReflect ¶
func (x *DispatcherType) ProtoReflect() protoreflect.Message
func (*DispatcherType) Reset ¶
func (x *DispatcherType) Reset()
func (*DispatcherType) String ¶
func (x *DispatcherType) String() string
type Error ¶
type Error struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Stack *Stack `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type EvalProgramRe ¶
type EvalProgramRe struct { Program *Program `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*EvalProgramRe) Descriptor
deprecated
func (*EvalProgramRe) Descriptor() ([]byte, []int)
Deprecated: Use EvalProgramRe.ProtoReflect.Descriptor instead.
func (*EvalProgramRe) GetError ¶
func (x *EvalProgramRe) GetError() *Error
func (*EvalProgramRe) GetProgram ¶
func (x *EvalProgramRe) GetProgram() *Program
func (*EvalProgramRe) ProtoMessage ¶
func (*EvalProgramRe) ProtoMessage()
func (*EvalProgramRe) ProtoReflect ¶
func (x *EvalProgramRe) ProtoReflect() protoreflect.Message
func (*EvalProgramRe) Reset ¶
func (x *EvalProgramRe) Reset()
func (*EvalProgramRe) String ¶
func (x *EvalProgramRe) String() string
type EvalerClient ¶
type EvalerClient interface {
EvalProgram(ctx context.Context, in *Program, opts ...grpc.CallOption) (*EvalProgramRe, error)
}
EvalerClient is the client API for Evaler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEvalerClient ¶
func NewEvalerClient(cc grpc.ClientConnInterface) EvalerClient
type EvalerServer ¶
type EvalerServer interface { EvalProgram(context.Context, *Program) (*EvalProgramRe, error) // contains filtered or unexported methods }
EvalerServer is the server API for Evaler service. All implementations must embed UnimplementedEvalerServer for forward compatibility
type External ¶
type External struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Id *UUID `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*External) Descriptor
deprecated
func (*External) ProtoMessage ¶
func (*External) ProtoMessage()
func (*External) ProtoReflect ¶
func (x *External) ProtoReflect() protoreflect.Message
type ExternalProviderClient ¶
type ExternalProviderClient interface {
Call(ctx context.Context, in *CallArg, opts ...grpc.CallOption) (*CallRe, error)
}
ExternalProviderClient is the client API for ExternalProvider service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExternalProviderClient ¶
func NewExternalProviderClient(cc grpc.ClientConnInterface) ExternalProviderClient
type ExternalProviderServer ¶
type ExternalProviderServer interface { Call(context.Context, *CallArg) (*CallRe, error) // contains filtered or unexported methods }
ExternalProviderServer is the server API for ExternalProvider service. All implementations must embed UnimplementedExternalProviderServer for forward compatibility
type ExternalType ¶
type ExternalType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*ExternalType) Descriptor
deprecated
func (*ExternalType) Descriptor() ([]byte, []int)
Deprecated: Use ExternalType.ProtoReflect.Descriptor instead.
func (*ExternalType) GetIsType ¶
func (x *ExternalType) GetIsType() *Zero
func (*ExternalType) GetO ¶
func (x *ExternalType) GetO() *Origin
func (*ExternalType) ProtoMessage ¶
func (*ExternalType) ProtoMessage()
func (*ExternalType) ProtoReflect ¶
func (x *ExternalType) ProtoReflect() protoreflect.Message
func (*ExternalType) Reset ¶
func (x *ExternalType) Reset()
func (*ExternalType) String ¶
func (x *ExternalType) String() string
type Frame ¶
type Frame struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Len uint64 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` Note string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` CallHash []byte `protobuf:"bytes,4,opt,name=callHash,proto3" json:"callHash,omitempty"` Lone bool `protobuf:"varint,5,opt,name=lone,proto3" json:"lone,omitempty"` Pure bool `protobuf:"varint,6,opt,name=pure,proto3" json:"pure,omitempty"` // contains filtered or unexported fields }
func (*Frame) Descriptor
deprecated
func (*Frame) GetCallHash ¶
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) ProtoReflect ¶
func (x *Frame) ProtoReflect() protoreflect.Message
type Inter ¶
type Inter struct { IsType *Zero `protobuf:"bytes,1,opt,name=isType,proto3" json:"isType,omitempty"` T *StructType `protobuf:"bytes,2,opt,name=t,proto3" json:"t,omitempty"` // contains filtered or unexported fields }
func (*Inter) Descriptor
deprecated
func (*Inter) GetT ¶
func (x *Inter) GetT() *StructType
func (*Inter) ProtoMessage ¶
func (*Inter) ProtoMessage()
func (*Inter) ProtoReflect ¶
func (x *Inter) ProtoReflect() protoreflect.Message
type Label ¶
type Label struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Er string `protobuf:"bytes,2,opt,name=er,proto3" json:"er,omitempty"` Ee *Node `protobuf:"bytes,3,opt,name=ee,proto3" json:"ee,omitempty"` // contains filtered or unexported fields }
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type Map ¶
type Map struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` T *MapType `protobuf:"bytes,2,opt,name=t,proto3" json:"t,omitempty"` Pairs []*MapPair `protobuf:"bytes,3,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*Map) Descriptor
deprecated
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
func (*Map) ProtoReflect ¶
func (x *Map) ProtoReflect() protoreflect.Message
type MapPair ¶
type MapPair struct { Key *Node `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Node `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MapPair) Descriptor
deprecated
func (*MapPair) ProtoMessage ¶
func (*MapPair) ProtoMessage()
func (*MapPair) ProtoReflect ¶
func (x *MapPair) ProtoReflect() protoreflect.Message
type MapType ¶
type MapType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` Key *Type `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value *Type `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MapType) Descriptor
deprecated
func (*MapType) ProtoMessage ¶
func (*MapType) ProtoMessage()
func (*MapType) ProtoReflect ¶
func (x *MapType) ProtoReflect() protoreflect.Message
type MapTypeConsecutive ¶
type MapTypeConsecutive int32
const ( MapTypeConsecutive_BOTH MapTypeConsecutive = 0 MapTypeConsecutive_CONSECUTIVE MapTypeConsecutive = 1 MapTypeConsecutive_NONCONSECUTIVE MapTypeConsecutive = 2 )
func (MapTypeConsecutive) Descriptor ¶
func (MapTypeConsecutive) Descriptor() protoreflect.EnumDescriptor
func (MapTypeConsecutive) Enum ¶
func (x MapTypeConsecutive) Enum() *MapTypeConsecutive
func (MapTypeConsecutive) EnumDescriptor
deprecated
func (MapTypeConsecutive) EnumDescriptor() ([]byte, []int)
Deprecated: Use MapTypeConsecutive.Descriptor instead.
func (MapTypeConsecutive) Number ¶
func (x MapTypeConsecutive) Number() protoreflect.EnumNumber
func (MapTypeConsecutive) String ¶
func (x MapTypeConsecutive) String() string
func (MapTypeConsecutive) Type ¶
func (MapTypeConsecutive) Type() protoreflect.EnumType
type Node ¶
type Node struct { Immutable bool `protobuf:"varint,1,opt,name=immutable,proto3" json:"immutable,omitempty"` // Types that are assignable to Content: // *Node_Type // *Node_Block // *Node_Cast // *Node_Call // *Node_Dispatcher // *Node_External // *Node_Label // *Node_Map // *Node_Num // *Node_Pod // *Node_Priority // *Node_Ref // *Node_Struct // *Node_Symbol Content isNode_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetContent ¶
func (m *Node) GetContent() isNode_Content
func (*Node) GetDispatcher ¶
func (x *Node) GetDispatcher() *Dispatcher
func (*Node) GetExternal ¶
func (*Node) GetImmutable ¶
func (*Node) GetPriority ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Node_Block ¶
type Node_Block struct {
Block *Block `protobuf:"bytes,3,opt,name=block,proto3,oneof"`
}
type Node_Call ¶
type Node_Call struct {
Call *Call `protobuf:"bytes,5,opt,name=call,proto3,oneof"`
}
type Node_Cast ¶
type Node_Cast struct {
Cast *Cast `protobuf:"bytes,4,opt,name=cast,proto3,oneof"`
}
type Node_Dispatcher ¶
type Node_Dispatcher struct {
Dispatcher *Dispatcher `protobuf:"bytes,6,opt,name=dispatcher,proto3,oneof"`
}
type Node_External ¶
type Node_External struct {
External *External `protobuf:"bytes,7,opt,name=external,proto3,oneof"`
}
type Node_Label ¶
type Node_Label struct {
Label *Label `protobuf:"bytes,8,opt,name=label,proto3,oneof"`
}
type Node_Priority ¶
type Node_Priority struct {
Priority *Priority `protobuf:"bytes,12,opt,name=priority,proto3,oneof"`
}
type Node_Struct ¶
type Node_Struct struct {
Struct *Struct `protobuf:"bytes,14,opt,name=struct,proto3,oneof"`
}
type Node_Symbol ¶
type Node_Symbol struct {
Symbol *Symbol `protobuf:"bytes,15,opt,name=symbol,proto3,oneof"`
}
type Node_Type ¶
type Node_Type struct {
Type *Type `protobuf:"bytes,2,opt,name=type,proto3,oneof"`
}
type Num ¶
type Num struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` T *NumType `protobuf:"bytes,2,opt,name=t,proto3" json:"t,omitempty"` // Types that are assignable to Content: // *Num_Normal // *Num_Inf // *Num_Nan Content isNum_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*Num) Descriptor
deprecated
func (*Num) GetContent ¶
func (m *Num) GetContent() isNum_Content
func (*Num) ProtoMessage ¶
func (*Num) ProtoMessage()
func (*Num) ProtoReflect ¶
func (x *Num) ProtoReflect() protoreflect.Message
type NumType ¶
type NumType struct { Unit *Symbol `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*NumType) Descriptor
deprecated
func (*NumType) ProtoMessage ¶
func (*NumType) ProtoMessage()
func (*NumType) ProtoReflect ¶
func (x *NumType) ProtoReflect() protoreflect.Message
type Num_Normal ¶
type Num_Normal struct {
Normal string `protobuf:"bytes,3,opt,name=normal,proto3,oneof"`
}
type Origin ¶
type Origin struct { Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` StartLine uint32 `protobuf:"varint,2,opt,name=startLine,proto3" json:"startLine,omitempty"` StartColumn uint32 `protobuf:"varint,3,opt,name=startColumn,proto3" json:"startColumn,omitempty"` EndLine uint32 `protobuf:"varint,4,opt,name=endLine,proto3" json:"endLine,omitempty"` EndColumn uint32 `protobuf:"varint,5,opt,name=endColumn,proto3" json:"endColumn,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func OriginFromCaller ¶
func (*Origin) Descriptor
deprecated
func (*Origin) GetEndColumn ¶
func (*Origin) GetEndLine ¶
func (*Origin) GetFilepath ¶
func (*Origin) GetStartColumn ¶
func (*Origin) GetStartLine ¶
func (*Origin) ProtoMessage ¶
func (*Origin) ProtoMessage()
func (*Origin) ProtoReflect ¶
func (x *Origin) ProtoReflect() protoreflect.Message
type ParseArgs ¶
type ParseArgs struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ParseArgs) Descriptor
deprecated
func (*ParseArgs) GetContent ¶
func (*ParseArgs) GetFilename ¶
func (*ParseArgs) ProtoMessage ¶
func (*ParseArgs) ProtoMessage()
func (*ParseArgs) ProtoReflect ¶
func (x *ParseArgs) ProtoReflect() protoreflect.Message
type ParserClient ¶
type ParserClient interface {
Parse(ctx context.Context, in *ParseArgs, opts ...grpc.CallOption) (*Program, error)
}
ParserClient is the client API for Parser service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewParserClient ¶
func NewParserClient(cc grpc.ClientConnInterface) ParserClient
type ParserServer ¶
type ParserServer interface { Parse(context.Context, *ParseArgs) (*Program, error) // contains filtered or unexported methods }
ParserServer is the server API for Parser service. All implementations must embed UnimplementedParserServer for forward compatibility
type Pod ¶
type Pod struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Content *Node `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Pod) Descriptor
deprecated
func (*Pod) GetContent ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
type PodType ¶
type PodType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*PodType) Descriptor
deprecated
func (*PodType) ProtoMessage ¶
func (*PodType) ProtoMessage()
func (*PodType) ProtoReflect ¶
func (x *PodType) ProtoReflect() protoreflect.Message
type Priority ¶
type Priority struct { B *Block `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*Priority) Descriptor
deprecated
func (*Priority) ProtoMessage ¶
func (*Priority) ProtoMessage()
func (*Priority) ProtoReflect ¶
func (x *Priority) ProtoReflect() protoreflect.Message
type Program ¶
type Program struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Content []*Node `protobuf:"bytes,2,rep,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Program) Descriptor
deprecated
func (*Program) GetContent ¶
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) ProtoReflect ¶
func (x *Program) ProtoReflect() protoreflect.Message
type Ref ¶
type Ref struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Ref) Descriptor
deprecated
func (*Ref) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) ProtoReflect ¶
func (x *Ref) ProtoReflect() protoreflect.Message
type RefAsType ¶
type RefAsType struct { Ref *Ref `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*RefAsType) Descriptor
deprecated
func (*RefAsType) ProtoMessage ¶
func (*RefAsType) ProtoMessage()
func (*RefAsType) ProtoReflect ¶
func (x *RefAsType) ProtoReflect() protoreflect.Message
type RendererClient ¶
type RendererClient interface {
Render(ctx context.Context, in *Node, opts ...grpc.CallOption) (*RendererRe, error)
}
RendererClient is the client API for Renderer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRendererClient ¶
func NewRendererClient(cc grpc.ClientConnInterface) RendererClient
type RendererRe ¶
type RendererRe struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*RendererRe) Descriptor
deprecated
func (*RendererRe) Descriptor() ([]byte, []int)
Deprecated: Use RendererRe.ProtoReflect.Descriptor instead.
func (*RendererRe) GetContent ¶
func (x *RendererRe) GetContent() string
func (*RendererRe) ProtoMessage ¶
func (*RendererRe) ProtoMessage()
func (*RendererRe) ProtoReflect ¶
func (x *RendererRe) ProtoReflect() protoreflect.Message
func (*RendererRe) Reset ¶
func (x *RendererRe) Reset()
func (*RendererRe) String ¶
func (x *RendererRe) String() string
type RendererServer ¶
type RendererServer interface { Render(context.Context, *Node) (*RendererRe, error) // contains filtered or unexported methods }
RendererServer is the server API for Renderer service. All implementations must embed UnimplementedRendererServer for forward compatibility
type RootType ¶
type RootType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*RootType) Descriptor
deprecated
func (*RootType) ProtoMessage ¶
func (*RootType) ProtoMessage()
func (*RootType) ProtoReflect ¶
func (x *RootType) ProtoReflect() protoreflect.Message
type Stack ¶
type Stack struct { Pure bool `protobuf:"varint,1,opt,name=pure,proto3" json:"pure,omitempty"` Frames []*Frame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"` // contains filtered or unexported fields }
func (*Stack) Descriptor
deprecated
func (*Stack) ProtoMessage ¶
func (*Stack) ProtoMessage()
func (*Stack) ProtoReflect ¶
func (x *Stack) ProtoReflect() protoreflect.Message
type Struct ¶
type Struct struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` T *StructType `protobuf:"bytes,2,opt,name=t,proto3" json:"t,omitempty"` Values []*Node `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*Struct) Descriptor
deprecated
func (*Struct) GetT ¶
func (x *Struct) GetT() *StructType
func (*Struct) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
type StructType ¶
type StructType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` IsEnum bool `protobuf:"varint,3,opt,name=isEnum,proto3" json:"isEnum,omitempty"` Pairs []*StructTypePair `protobuf:"bytes,4,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*StructType) Descriptor
deprecated
func (*StructType) Descriptor() ([]byte, []int)
Deprecated: Use StructType.ProtoReflect.Descriptor instead.
func (*StructType) GetIsEnum ¶
func (x *StructType) GetIsEnum() bool
func (*StructType) GetIsType ¶
func (x *StructType) GetIsType() *Zero
func (*StructType) GetO ¶
func (x *StructType) GetO() *Origin
func (*StructType) GetPairs ¶
func (x *StructType) GetPairs() []*StructTypePair
func (*StructType) ProtoMessage ¶
func (*StructType) ProtoMessage()
func (*StructType) ProtoReflect ¶
func (x *StructType) ProtoReflect() protoreflect.Message
func (*StructType) Reset ¶
func (x *StructType) Reset()
func (*StructType) String ¶
func (x *StructType) String() string
type StructTypePair ¶
type StructTypePair struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Type `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Default *Node `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
func (*StructTypePair) Descriptor
deprecated
func (*StructTypePair) Descriptor() ([]byte, []int)
Deprecated: Use StructTypePair.ProtoReflect.Descriptor instead.
func (*StructTypePair) GetDefault ¶
func (x *StructTypePair) GetDefault() *Node
func (*StructTypePair) GetKey ¶
func (x *StructTypePair) GetKey() string
func (*StructTypePair) GetValue ¶
func (x *StructTypePair) GetValue() *Type
func (*StructTypePair) ProtoMessage ¶
func (*StructTypePair) ProtoMessage()
func (*StructTypePair) ProtoReflect ¶
func (x *StructTypePair) ProtoReflect() protoreflect.Message
func (*StructTypePair) Reset ¶
func (x *StructTypePair) Reset()
func (*StructTypePair) String ¶
func (x *StructTypePair) String() string
type Symbol ¶
type Symbol struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Symbol) Descriptor
deprecated
func (*Symbol) ProtoMessage ¶
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶
func (x *Symbol) ProtoReflect() protoreflect.Message
type SymbolType ¶
type SymbolType struct { O *Origin `protobuf:"bytes,1,opt,name=o,proto3" json:"o,omitempty"` IsType *Zero `protobuf:"bytes,2,opt,name=isType,proto3" json:"isType,omitempty"` // contains filtered or unexported fields }
func (*SymbolType) Descriptor
deprecated
func (*SymbolType) Descriptor() ([]byte, []int)
Deprecated: Use SymbolType.ProtoReflect.Descriptor instead.
func (*SymbolType) GetIsType ¶
func (x *SymbolType) GetIsType() *Zero
func (*SymbolType) GetO ¶
func (x *SymbolType) GetO() *Origin
func (*SymbolType) ProtoMessage ¶
func (*SymbolType) ProtoMessage()
func (*SymbolType) ProtoReflect ¶
func (x *SymbolType) ProtoReflect() protoreflect.Message
func (*SymbolType) Reset ¶
func (x *SymbolType) Reset()
func (*SymbolType) String ¶
func (x *SymbolType) String() string
type Type ¶
type Type struct { // Types that are assignable to Content: // *Type_BlockAsType // *Type_RefAsType // *Type_CallType // *Type_DispatcherType // *Type_ExternalType // *Type_Inter // *Type_MapType // *Type_NumType // *Type_PodType // *Type_RootType // *Type_StructType // *Type_SymbolType Content isType_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*Type) Descriptor
deprecated
func (*Type) GetBlockAsType ¶
func (x *Type) GetBlockAsType() *BlockAsType
func (*Type) GetCallType ¶
func (*Type) GetContent ¶
func (m *Type) GetContent() isType_Content
func (*Type) GetDispatcherType ¶
func (x *Type) GetDispatcherType() *DispatcherType
func (*Type) GetExternalType ¶
func (x *Type) GetExternalType() *ExternalType
func (*Type) GetMapType ¶
func (*Type) GetNumType ¶
func (*Type) GetPodType ¶
func (*Type) GetRefAsType ¶
func (*Type) GetRootType ¶
func (*Type) GetStructType ¶
func (x *Type) GetStructType() *StructType
func (*Type) GetSymbolType ¶
func (x *Type) GetSymbolType() *SymbolType
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) ProtoReflect ¶
func (x *Type) ProtoReflect() protoreflect.Message
type Type_BlockAsType ¶
type Type_BlockAsType struct {
BlockAsType *BlockAsType `protobuf:"bytes,1,opt,name=blockAsType,proto3,oneof"`
}
type Type_CallType ¶
type Type_CallType struct {
CallType *CallType `protobuf:"bytes,3,opt,name=callType,proto3,oneof"`
}
type Type_DispatcherType ¶
type Type_DispatcherType struct {
DispatcherType *DispatcherType `protobuf:"bytes,4,opt,name=dispatcherType,proto3,oneof"`
}
type Type_ExternalType ¶
type Type_ExternalType struct {
ExternalType *ExternalType `protobuf:"bytes,5,opt,name=externalType,proto3,oneof"`
}
type Type_Inter ¶
type Type_Inter struct {
Inter *Inter `protobuf:"bytes,6,opt,name=inter,proto3,oneof"`
}
type Type_MapType ¶
type Type_MapType struct {
MapType *MapType `protobuf:"bytes,7,opt,name=mapType,proto3,oneof"`
}
type Type_NumType ¶
type Type_NumType struct {
NumType *NumType `protobuf:"bytes,8,opt,name=numType,proto3,oneof"`
}
type Type_PodType ¶
type Type_PodType struct {
PodType *PodType `protobuf:"bytes,9,opt,name=podType,proto3,oneof"`
}
type Type_RefAsType ¶
type Type_RefAsType struct {
RefAsType *RefAsType `protobuf:"bytes,2,opt,name=refAsType,proto3,oneof"`
}
type Type_RootType ¶
type Type_RootType struct {
RootType *RootType `protobuf:"bytes,10,opt,name=rootType,proto3,oneof"`
}
type Type_StructType ¶
type Type_StructType struct {
StructType *StructType `protobuf:"bytes,11,opt,name=structType,proto3,oneof"`
}
type Type_SymbolType ¶
type Type_SymbolType struct {
SymbolType *SymbolType `protobuf:"bytes,12,opt,name=symbolType,proto3,oneof"`
}
type UUID ¶
type UUID struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UUID) Descriptor
deprecated
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
type UnimplementedEvalerServer ¶
type UnimplementedEvalerServer struct { }
UnimplementedEvalerServer must be embedded to have forward compatible implementations.
func (UnimplementedEvalerServer) EvalProgram ¶
func (UnimplementedEvalerServer) EvalProgram(context.Context, *Program) (*EvalProgramRe, error)
type UnimplementedExternalProviderServer ¶
type UnimplementedExternalProviderServer struct { }
UnimplementedExternalProviderServer must be embedded to have forward compatible implementations.
type UnimplementedParserServer ¶
type UnimplementedParserServer struct { }
UnimplementedParserServer must be embedded to have forward compatible implementations.
type UnimplementedRendererServer ¶
type UnimplementedRendererServer struct { }
UnimplementedRendererServer must be embedded to have forward compatible implementations.
func (UnimplementedRendererServer) Render ¶
func (UnimplementedRendererServer) Render(context.Context, *Node) (*RendererRe, error)
type UnimplementedVerifierServer ¶
type UnimplementedVerifierServer struct { }
UnimplementedVerifierServer must be embedded to have forward compatible implementations.
type UnsafeEvalerServer ¶
type UnsafeEvalerServer interface {
// contains filtered or unexported methods
}
UnsafeEvalerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EvalerServer will result in compilation errors.
type UnsafeExternalProviderServer ¶
type UnsafeExternalProviderServer interface {
// contains filtered or unexported methods
}
UnsafeExternalProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExternalProviderServer will result in compilation errors.
type UnsafeParserServer ¶
type UnsafeParserServer interface {
// contains filtered or unexported methods
}
UnsafeParserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParserServer will result in compilation errors.
type UnsafeRendererServer ¶
type UnsafeRendererServer interface {
// contains filtered or unexported methods
}
UnsafeRendererServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RendererServer will result in compilation errors.
type UnsafeVerifierServer ¶
type UnsafeVerifierServer interface {
// contains filtered or unexported methods
}
UnsafeVerifierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VerifierServer will result in compilation errors.
type VerifierClient ¶
type VerifierClient interface {
Verify(ctx context.Context, in *Program, opts ...grpc.CallOption) (*VerifyRe, error)
}
VerifierClient is the client API for Verifier service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVerifierClient ¶
func NewVerifierClient(cc grpc.ClientConnInterface) VerifierClient
type VerifierServer ¶
type VerifierServer interface { Verify(context.Context, *Program) (*VerifyRe, error) // contains filtered or unexported methods }
VerifierServer is the server API for Verifier service. All implementations must embed UnimplementedVerifierServer for forward compatibility
type VerifyRe ¶
type VerifyRe struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*VerifyRe) Descriptor
deprecated
func (*VerifyRe) ProtoMessage ¶
func (*VerifyRe) ProtoMessage()
func (*VerifyRe) ProtoReflect ¶
func (x *VerifyRe) ProtoReflect() protoreflect.Message
type Zero ¶
type Zero struct {
// contains filtered or unexported fields
}
func (*Zero) Descriptor
deprecated
func (*Zero) ProtoMessage ¶
func (*Zero) ProtoMessage()
func (*Zero) ProtoReflect ¶
func (x *Zero) ProtoReflect() protoreflect.Message
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package lib provides an embed.FS of the standard library and index, sample gob and JSON files for testing.
|
Package lib provides an embed.FS of the standard library and index, sample gob and JSON files for testing. |