Documentation ¶
Index ¶
- Variables
- type AddNode
- func (*AddNode) Descriptor() ([]byte, []int)deprecated
- func (x *AddNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *AddNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*AddNode) ProtoMessage()
- func (x *AddNode) ProtoReflect() protoreflect.Message
- func (x *AddNode) Reset()
- func (x *AddNode) String() string
- type AndNode
- func (*AndNode) Descriptor() ([]byte, []int)deprecated
- func (x *AndNode) GetLeftChild() *LogicalResultNodeWrapper
- func (x *AndNode) GetRightChild() *LogicalResultNodeWrapper
- func (*AndNode) ProtoMessage()
- func (x *AndNode) ProtoReflect() protoreflect.Message
- func (x *AndNode) Reset()
- func (x *AndNode) String() string
- type ArithmeticIfElseNode
- func (*ArithmeticIfElseNode) Descriptor() ([]byte, []int)deprecated
- func (x *ArithmeticIfElseNode) GetCondition() *LogicalResultNodeWrapper
- func (x *ArithmeticIfElseNode) GetElse() *ArithmeticResultNodeWrapper
- func (x *ArithmeticIfElseNode) GetIf() *ArithmeticResultNodeWrapper
- func (*ArithmeticIfElseNode) ProtoMessage()
- func (x *ArithmeticIfElseNode) ProtoReflect() protoreflect.Message
- func (x *ArithmeticIfElseNode) Reset()
- func (x *ArithmeticIfElseNode) String() string
- type ArithmeticResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Add(node *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Calculate(parameters map[string]interface{}) (ArithmeticType, error)
- func (*ArithmeticResultNodeWrapper) Descriptor() ([]byte, []int)deprecated
- func (a *ArithmeticResultNodeWrapper) Divide(divisorNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Equal(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
- func (x *ArithmeticResultNodeWrapper) GetAddNode() *AddNode
- func (x *ArithmeticResultNodeWrapper) GetDivideNode() *DivideNode
- func (x *ArithmeticResultNodeWrapper) GetIfElseNode() *ArithmeticIfElseNode
- func (x *ArithmeticResultNodeWrapper) GetLogarithmNode() *LogarithmNode
- func (x *ArithmeticResultNodeWrapper) GetModuloNode() *ModuloNode
- func (x *ArithmeticResultNodeWrapper) GetMultiplyNode() *MultiplyNode
- func (m *ArithmeticResultNodeWrapper) GetNode() isArithmeticResultNodeWrapper_Node
- func (x *ArithmeticResultNodeWrapper) GetNumberNode() *NumberNode
- func (x *ArithmeticResultNodeWrapper) GetPowerNode() *PowerNode
- func (x *ArithmeticResultNodeWrapper) GetSubtractNode() *SubtractNode
- func (x *ArithmeticResultNodeWrapper) GetVariableNode() *ArithmeticVariableNode
- func (a *ArithmeticResultNodeWrapper) GreaterThan(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) GreaterThanOrEqual(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Logarithm(baseNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Modulo(divisorNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Multiply(node *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) Power(exponentNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (*ArithmeticResultNodeWrapper) ProtoMessage()
- func (x *ArithmeticResultNodeWrapper) ProtoReflect() protoreflect.Message
- func (x *ArithmeticResultNodeWrapper) Reset()
- func (a *ArithmeticResultNodeWrapper) Serialise() ([]byte, error)
- func (a *ArithmeticResultNodeWrapper) SmallerThan(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
- func (a *ArithmeticResultNodeWrapper) SmallerThanOrEqual(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
- func (x *ArithmeticResultNodeWrapper) String() string
- func (a *ArithmeticResultNodeWrapper) Subtract(subtractorNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- type ArithmeticResultNodeWrapper_AddNode
- type ArithmeticResultNodeWrapper_DivideNode
- type ArithmeticResultNodeWrapper_IfElseNode
- type ArithmeticResultNodeWrapper_LogarithmNode
- type ArithmeticResultNodeWrapper_ModuloNode
- type ArithmeticResultNodeWrapper_MultiplyNode
- type ArithmeticResultNodeWrapper_NumberNode
- type ArithmeticResultNodeWrapper_PowerNode
- type ArithmeticResultNodeWrapper_SubtractNode
- type ArithmeticResultNodeWrapper_VariableNode
- type ArithmeticType
- type ArithmeticVariableNode
- func (*ArithmeticVariableNode) Descriptor() ([]byte, []int)deprecated
- func (x *ArithmeticVariableNode) GetVariableName() string
- func (*ArithmeticVariableNode) ProtoMessage()
- func (x *ArithmeticVariableNode) ProtoReflect() protoreflect.Message
- func (x *ArithmeticVariableNode) Reset()
- func (x *ArithmeticVariableNode) String() string
- type BoolNode
- type DivideNode
- func (*DivideNode) Descriptor() ([]byte, []int)deprecated
- func (x *DivideNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *DivideNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*DivideNode) ProtoMessage()
- func (x *DivideNode) ProtoReflect() protoreflect.Message
- func (x *DivideNode) Reset()
- func (x *DivideNode) String() string
- type EqualNode
- func (*EqualNode) Descriptor() ([]byte, []int)deprecated
- func (x *EqualNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *EqualNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*EqualNode) ProtoMessage()
- func (x *EqualNode) ProtoReflect() protoreflect.Message
- func (x *EqualNode) Reset()
- func (x *EqualNode) String() string
- type GreaterThanNode
- func (*GreaterThanNode) Descriptor() ([]byte, []int)deprecated
- func (x *GreaterThanNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *GreaterThanNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*GreaterThanNode) ProtoMessage()
- func (x *GreaterThanNode) ProtoReflect() protoreflect.Message
- func (x *GreaterThanNode) Reset()
- func (x *GreaterThanNode) String() string
- type GreaterThanOrEqualNode
- func (*GreaterThanOrEqualNode) Descriptor() ([]byte, []int)deprecated
- func (x *GreaterThanOrEqualNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *GreaterThanOrEqualNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*GreaterThanOrEqualNode) ProtoMessage()
- func (x *GreaterThanOrEqualNode) ProtoReflect() protoreflect.Message
- func (x *GreaterThanOrEqualNode) Reset()
- func (x *GreaterThanOrEqualNode) String() string
- type InstructionWrapper
- func (*InstructionWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *InstructionWrapper) GetArithmeticWrapper() *ArithmeticResultNodeWrapper
- func (x *InstructionWrapper) GetLogicalWrapper() *LogicalResultNodeWrapper
- func (m *InstructionWrapper) GetWrapper() isInstructionWrapper_Wrapper
- func (*InstructionWrapper) ProtoMessage()
- func (x *InstructionWrapper) ProtoReflect() protoreflect.Message
- func (x *InstructionWrapper) Reset()
- func (x *InstructionWrapper) String() string
- type InstructionWrapper_ArithmeticWrapper
- type InstructionWrapper_LogicalWrapper
- type LogarithmNode
- func (*LogarithmNode) Descriptor() ([]byte, []int)deprecated
- func (x *LogarithmNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *LogarithmNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*LogarithmNode) ProtoMessage()
- func (x *LogarithmNode) ProtoReflect() protoreflect.Message
- func (x *LogarithmNode) Reset()
- func (x *LogarithmNode) String() string
- type LogicalIfElseNode
- func (*LogicalIfElseNode) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalIfElseNode) GetCondition() *LogicalResultNodeWrapper
- func (x *LogicalIfElseNode) GetElse() *LogicalResultNodeWrapper
- func (x *LogicalIfElseNode) GetIf() *LogicalResultNodeWrapper
- func (*LogicalIfElseNode) ProtoMessage()
- func (x *LogicalIfElseNode) ProtoReflect() protoreflect.Message
- func (x *LogicalIfElseNode) Reset()
- func (x *LogicalIfElseNode) String() string
- type LogicalResultNodeWrapper
- func (a *LogicalResultNodeWrapper) And(node *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
- func (a *LogicalResultNodeWrapper) ArithmeticIfElse(ifNode *ArithmeticResultNodeWrapper, elseNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
- func (l *LogicalResultNodeWrapper) Calculate(parameters map[string]interface{}) (LogicalType, error)
- func (*LogicalResultNodeWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalResultNodeWrapper) GetAndNode() *AndNode
- func (x *LogicalResultNodeWrapper) GetBoolNode() *BoolNode
- func (x *LogicalResultNodeWrapper) GetEqualNode() *EqualNode
- func (x *LogicalResultNodeWrapper) GetGreaterThanNode() *GreaterThanNode
- func (x *LogicalResultNodeWrapper) GetGreaterThanOrEqualNode() *GreaterThanOrEqualNode
- func (x *LogicalResultNodeWrapper) GetIfElseNode() *LogicalIfElseNode
- func (x *LogicalResultNodeWrapper) GetNegateNode() *NegateNode
- func (m *LogicalResultNodeWrapper) GetNode() isLogicalResultNodeWrapper_Node
- func (x *LogicalResultNodeWrapper) GetOrNode() *OrNode
- func (x *LogicalResultNodeWrapper) GetSmallerThanNode() *SmallerThanNode
- func (x *LogicalResultNodeWrapper) GetSmallerThanOrEqualNode() *SmallerThanOrEqualNode
- func (x *LogicalResultNodeWrapper) GetVariableNode() *LogicalVariableNode
- func (x *LogicalResultNodeWrapper) GetXorNode() *XorNode
- func (l *LogicalResultNodeWrapper) LogicalIfElse(ifNode *LogicalResultNodeWrapper, elseNode *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
- func (a *LogicalResultNodeWrapper) Negate() *LogicalResultNodeWrapper
- func (a *LogicalResultNodeWrapper) Or(node *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
- func (*LogicalResultNodeWrapper) ProtoMessage()
- func (x *LogicalResultNodeWrapper) ProtoReflect() protoreflect.Message
- func (x *LogicalResultNodeWrapper) Reset()
- func (l *LogicalResultNodeWrapper) Serialise() ([]byte, error)
- func (x *LogicalResultNodeWrapper) String() string
- func (a *LogicalResultNodeWrapper) Xor(node *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
- type LogicalResultNodeWrapper_AndNode
- type LogicalResultNodeWrapper_BoolNode
- type LogicalResultNodeWrapper_EqualNode
- type LogicalResultNodeWrapper_GreaterThanNode
- type LogicalResultNodeWrapper_GreaterThanOrEqualNode
- type LogicalResultNodeWrapper_IfElseNode
- type LogicalResultNodeWrapper_NegateNode
- type LogicalResultNodeWrapper_OrNode
- type LogicalResultNodeWrapper_SmallerThanNode
- type LogicalResultNodeWrapper_SmallerThanOrEqualNode
- type LogicalResultNodeWrapper_VariableNode
- type LogicalResultNodeWrapper_XorNode
- type LogicalType
- type LogicalVariableNode
- func (*LogicalVariableNode) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalVariableNode) GetVariableName() string
- func (*LogicalVariableNode) ProtoMessage()
- func (x *LogicalVariableNode) ProtoReflect() protoreflect.Message
- func (x *LogicalVariableNode) Reset()
- func (x *LogicalVariableNode) String() string
- type ModuloNode
- func (*ModuloNode) Descriptor() ([]byte, []int)deprecated
- func (x *ModuloNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *ModuloNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*ModuloNode) ProtoMessage()
- func (x *ModuloNode) ProtoReflect() protoreflect.Message
- func (x *ModuloNode) Reset()
- func (x *ModuloNode) String() string
- type MultiplyNode
- func (*MultiplyNode) Descriptor() ([]byte, []int)deprecated
- func (x *MultiplyNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *MultiplyNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*MultiplyNode) ProtoMessage()
- func (x *MultiplyNode) ProtoReflect() protoreflect.Message
- func (x *MultiplyNode) Reset()
- func (x *MultiplyNode) String() string
- type NegateNode
- type NumberNode
- type OrNode
- func (*OrNode) Descriptor() ([]byte, []int)deprecated
- func (x *OrNode) GetLeftChild() *LogicalResultNodeWrapper
- func (x *OrNode) GetRightChild() *LogicalResultNodeWrapper
- func (*OrNode) ProtoMessage()
- func (x *OrNode) ProtoReflect() protoreflect.Message
- func (x *OrNode) Reset()
- func (x *OrNode) String() string
- type PowerNode
- func (*PowerNode) Descriptor() ([]byte, []int)deprecated
- func (x *PowerNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *PowerNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*PowerNode) ProtoMessage()
- func (x *PowerNode) ProtoReflect() protoreflect.Message
- func (x *PowerNode) Reset()
- func (x *PowerNode) String() string
- type SmallerThanNode
- func (*SmallerThanNode) Descriptor() ([]byte, []int)deprecated
- func (x *SmallerThanNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *SmallerThanNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*SmallerThanNode) ProtoMessage()
- func (x *SmallerThanNode) ProtoReflect() protoreflect.Message
- func (x *SmallerThanNode) Reset()
- func (x *SmallerThanNode) String() string
- type SmallerThanOrEqualNode
- func (*SmallerThanOrEqualNode) Descriptor() ([]byte, []int)deprecated
- func (x *SmallerThanOrEqualNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *SmallerThanOrEqualNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*SmallerThanOrEqualNode) ProtoMessage()
- func (x *SmallerThanOrEqualNode) ProtoReflect() protoreflect.Message
- func (x *SmallerThanOrEqualNode) Reset()
- func (x *SmallerThanOrEqualNode) String() string
- type SubtractNode
- func (*SubtractNode) Descriptor() ([]byte, []int)deprecated
- func (x *SubtractNode) GetLeftChild() *ArithmeticResultNodeWrapper
- func (x *SubtractNode) GetRightChild() *ArithmeticResultNodeWrapper
- func (*SubtractNode) ProtoMessage()
- func (x *SubtractNode) ProtoReflect() protoreflect.Message
- func (x *SubtractNode) Reset()
- func (x *SubtractNode) String() string
- type XorNode
- func (*XorNode) Descriptor() ([]byte, []int)deprecated
- func (x *XorNode) GetLeftChild() *LogicalResultNodeWrapper
- func (x *XorNode) GetRightChild() *LogicalResultNodeWrapper
- func (*XorNode) ProtoMessage()
- func (x *XorNode) ProtoReflect() protoreflect.Message
- func (x *XorNode) Reset()
- func (x *XorNode) String() string
Constants ¶
This section is empty.
Variables ¶
var File_instruction_serialiser_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddNode ¶
type AddNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*AddNode) Descriptor
deprecated
func (*AddNode) GetLeftChild ¶
func (x *AddNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*AddNode) GetRightChild ¶
func (x *AddNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*AddNode) ProtoMessage ¶
func (*AddNode) ProtoMessage()
func (*AddNode) ProtoReflect ¶
func (x *AddNode) ProtoReflect() protoreflect.Message
type AndNode ¶
type AndNode struct { LeftChild *LogicalResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *LogicalResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*AndNode) Descriptor
deprecated
func (*AndNode) GetLeftChild ¶
func (x *AndNode) GetLeftChild() *LogicalResultNodeWrapper
func (*AndNode) GetRightChild ¶
func (x *AndNode) GetRightChild() *LogicalResultNodeWrapper
func (*AndNode) ProtoMessage ¶
func (*AndNode) ProtoMessage()
func (*AndNode) ProtoReflect ¶
func (x *AndNode) ProtoReflect() protoreflect.Message
type ArithmeticIfElseNode ¶
type ArithmeticIfElseNode struct { Condition *LogicalResultNodeWrapper `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` If *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=if,proto3" json:"if,omitempty"` Else *ArithmeticResultNodeWrapper `protobuf:"bytes,3,opt,name=else,proto3" json:"else,omitempty"` // contains filtered or unexported fields }
func (*ArithmeticIfElseNode) Descriptor
deprecated
func (*ArithmeticIfElseNode) Descriptor() ([]byte, []int)
Deprecated: Use ArithmeticIfElseNode.ProtoReflect.Descriptor instead.
func (*ArithmeticIfElseNode) GetCondition ¶
func (x *ArithmeticIfElseNode) GetCondition() *LogicalResultNodeWrapper
func (*ArithmeticIfElseNode) GetElse ¶
func (x *ArithmeticIfElseNode) GetElse() *ArithmeticResultNodeWrapper
func (*ArithmeticIfElseNode) GetIf ¶
func (x *ArithmeticIfElseNode) GetIf() *ArithmeticResultNodeWrapper
func (*ArithmeticIfElseNode) ProtoMessage ¶
func (*ArithmeticIfElseNode) ProtoMessage()
func (*ArithmeticIfElseNode) ProtoReflect ¶
func (x *ArithmeticIfElseNode) ProtoReflect() protoreflect.Message
func (*ArithmeticIfElseNode) Reset ¶
func (x *ArithmeticIfElseNode) Reset()
func (*ArithmeticIfElseNode) String ¶
func (x *ArithmeticIfElseNode) String() string
type ArithmeticResultNodeWrapper ¶
type ArithmeticResultNodeWrapper struct { // Types that are assignable to Node: // *ArithmeticResultNodeWrapper_AddNode // *ArithmeticResultNodeWrapper_DivideNode // *ArithmeticResultNodeWrapper_MultiplyNode // *ArithmeticResultNodeWrapper_NumberNode // *ArithmeticResultNodeWrapper_SubtractNode // *ArithmeticResultNodeWrapper_VariableNode // *ArithmeticResultNodeWrapper_LogarithmNode // *ArithmeticResultNodeWrapper_PowerNode // *ArithmeticResultNodeWrapper_ModuloNode // *ArithmeticResultNodeWrapper_IfElseNode Node isArithmeticResultNodeWrapper_Node `protobuf_oneof:"node"` // contains filtered or unexported fields }
func NewArithmeticVariable ¶
func NewArithmeticVariable(variableName string) *ArithmeticResultNodeWrapper
func NewNumberNode ¶
func NewNumberNode(value ArithmeticType) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Add ¶
func (a *ArithmeticResultNodeWrapper) Add(node *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Calculate ¶
func (a *ArithmeticResultNodeWrapper) Calculate(parameters map[string]interface{}) (ArithmeticType, error)
func (*ArithmeticResultNodeWrapper) Descriptor
deprecated
func (*ArithmeticResultNodeWrapper) Descriptor() ([]byte, []int)
Deprecated: Use ArithmeticResultNodeWrapper.ProtoReflect.Descriptor instead.
func (*ArithmeticResultNodeWrapper) Divide ¶
func (a *ArithmeticResultNodeWrapper) Divide(divisorNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Equal ¶
func (a *ArithmeticResultNodeWrapper) Equal(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
func (*ArithmeticResultNodeWrapper) GetAddNode ¶
func (x *ArithmeticResultNodeWrapper) GetAddNode() *AddNode
func (*ArithmeticResultNodeWrapper) GetDivideNode ¶
func (x *ArithmeticResultNodeWrapper) GetDivideNode() *DivideNode
func (*ArithmeticResultNodeWrapper) GetIfElseNode ¶
func (x *ArithmeticResultNodeWrapper) GetIfElseNode() *ArithmeticIfElseNode
func (*ArithmeticResultNodeWrapper) GetLogarithmNode ¶
func (x *ArithmeticResultNodeWrapper) GetLogarithmNode() *LogarithmNode
func (*ArithmeticResultNodeWrapper) GetModuloNode ¶
func (x *ArithmeticResultNodeWrapper) GetModuloNode() *ModuloNode
func (*ArithmeticResultNodeWrapper) GetMultiplyNode ¶
func (x *ArithmeticResultNodeWrapper) GetMultiplyNode() *MultiplyNode
func (*ArithmeticResultNodeWrapper) GetNode ¶
func (m *ArithmeticResultNodeWrapper) GetNode() isArithmeticResultNodeWrapper_Node
func (*ArithmeticResultNodeWrapper) GetNumberNode ¶
func (x *ArithmeticResultNodeWrapper) GetNumberNode() *NumberNode
func (*ArithmeticResultNodeWrapper) GetPowerNode ¶
func (x *ArithmeticResultNodeWrapper) GetPowerNode() *PowerNode
func (*ArithmeticResultNodeWrapper) GetSubtractNode ¶
func (x *ArithmeticResultNodeWrapper) GetSubtractNode() *SubtractNode
func (*ArithmeticResultNodeWrapper) GetVariableNode ¶
func (x *ArithmeticResultNodeWrapper) GetVariableNode() *ArithmeticVariableNode
func (*ArithmeticResultNodeWrapper) GreaterThan ¶
func (a *ArithmeticResultNodeWrapper) GreaterThan(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
func (*ArithmeticResultNodeWrapper) GreaterThanOrEqual ¶
func (a *ArithmeticResultNodeWrapper) GreaterThanOrEqual(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Logarithm ¶
func (a *ArithmeticResultNodeWrapper) Logarithm(baseNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Modulo ¶
func (a *ArithmeticResultNodeWrapper) Modulo(divisorNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Multiply ¶
func (a *ArithmeticResultNodeWrapper) Multiply(node *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) Power ¶
func (a *ArithmeticResultNodeWrapper) Power(exponentNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*ArithmeticResultNodeWrapper) ProtoMessage ¶
func (*ArithmeticResultNodeWrapper) ProtoMessage()
func (*ArithmeticResultNodeWrapper) ProtoReflect ¶
func (x *ArithmeticResultNodeWrapper) ProtoReflect() protoreflect.Message
func (*ArithmeticResultNodeWrapper) Reset ¶
func (x *ArithmeticResultNodeWrapper) Reset()
func (*ArithmeticResultNodeWrapper) Serialise ¶
func (a *ArithmeticResultNodeWrapper) Serialise() ([]byte, error)
func (*ArithmeticResultNodeWrapper) SmallerThan ¶
func (a *ArithmeticResultNodeWrapper) SmallerThan(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
func (*ArithmeticResultNodeWrapper) SmallerThanOrEqual ¶
func (a *ArithmeticResultNodeWrapper) SmallerThanOrEqual(node *ArithmeticResultNodeWrapper) *LogicalResultNodeWrapper
func (*ArithmeticResultNodeWrapper) String ¶
func (x *ArithmeticResultNodeWrapper) String() string
func (*ArithmeticResultNodeWrapper) Subtract ¶
func (a *ArithmeticResultNodeWrapper) Subtract(subtractorNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
type ArithmeticResultNodeWrapper_AddNode ¶
type ArithmeticResultNodeWrapper_AddNode struct {
AddNode *AddNode `protobuf:"bytes,1,opt,name=add_node,json=addNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_DivideNode ¶
type ArithmeticResultNodeWrapper_DivideNode struct {
DivideNode *DivideNode `protobuf:"bytes,2,opt,name=divide_node,json=divideNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_IfElseNode ¶
type ArithmeticResultNodeWrapper_IfElseNode struct {
IfElseNode *ArithmeticIfElseNode `protobuf:"bytes,10,opt,name=if_else_node,json=ifElseNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_LogarithmNode ¶
type ArithmeticResultNodeWrapper_LogarithmNode struct {
LogarithmNode *LogarithmNode `protobuf:"bytes,7,opt,name=logarithm_node,json=logarithmNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_ModuloNode ¶
type ArithmeticResultNodeWrapper_ModuloNode struct {
ModuloNode *ModuloNode `protobuf:"bytes,9,opt,name=modulo_node,json=moduloNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_MultiplyNode ¶
type ArithmeticResultNodeWrapper_MultiplyNode struct {
MultiplyNode *MultiplyNode `protobuf:"bytes,3,opt,name=multiply_node,json=multiplyNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_NumberNode ¶
type ArithmeticResultNodeWrapper_NumberNode struct {
NumberNode *NumberNode `protobuf:"bytes,4,opt,name=number_node,json=numberNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_PowerNode ¶
type ArithmeticResultNodeWrapper_PowerNode struct {
PowerNode *PowerNode `protobuf:"bytes,8,opt,name=power_node,json=powerNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_SubtractNode ¶
type ArithmeticResultNodeWrapper_SubtractNode struct {
SubtractNode *SubtractNode `protobuf:"bytes,5,opt,name=subtract_node,json=subtractNode,proto3,oneof"`
}
type ArithmeticResultNodeWrapper_VariableNode ¶
type ArithmeticResultNodeWrapper_VariableNode struct {
VariableNode *ArithmeticVariableNode `protobuf:"bytes,6,opt,name=variable_node,json=variableNode,proto3,oneof"`
}
type ArithmeticType ¶
type ArithmeticType = float64
type ArithmeticVariableNode ¶
type ArithmeticVariableNode struct { VariableName string `protobuf:"bytes,1,opt,name=variable_name,json=variableName,proto3" json:"variable_name,omitempty"` // contains filtered or unexported fields }
func (*ArithmeticVariableNode) Descriptor
deprecated
func (*ArithmeticVariableNode) Descriptor() ([]byte, []int)
Deprecated: Use ArithmeticVariableNode.ProtoReflect.Descriptor instead.
func (*ArithmeticVariableNode) GetVariableName ¶
func (x *ArithmeticVariableNode) GetVariableName() string
func (*ArithmeticVariableNode) ProtoMessage ¶
func (*ArithmeticVariableNode) ProtoMessage()
func (*ArithmeticVariableNode) ProtoReflect ¶
func (x *ArithmeticVariableNode) ProtoReflect() protoreflect.Message
func (*ArithmeticVariableNode) Reset ¶
func (x *ArithmeticVariableNode) Reset()
func (*ArithmeticVariableNode) String ¶
func (x *ArithmeticVariableNode) String() string
type BoolNode ¶
type BoolNode struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BoolNode) Descriptor
deprecated
func (*BoolNode) ProtoMessage ¶
func (*BoolNode) ProtoMessage()
func (*BoolNode) ProtoReflect ¶
func (x *BoolNode) ProtoReflect() protoreflect.Message
type DivideNode ¶
type DivideNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*DivideNode) Descriptor
deprecated
func (*DivideNode) Descriptor() ([]byte, []int)
Deprecated: Use DivideNode.ProtoReflect.Descriptor instead.
func (*DivideNode) GetLeftChild ¶
func (x *DivideNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*DivideNode) GetRightChild ¶
func (x *DivideNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*DivideNode) ProtoMessage ¶
func (*DivideNode) ProtoMessage()
func (*DivideNode) ProtoReflect ¶
func (x *DivideNode) ProtoReflect() protoreflect.Message
func (*DivideNode) Reset ¶
func (x *DivideNode) Reset()
func (*DivideNode) String ¶
func (x *DivideNode) String() string
type EqualNode ¶
type EqualNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
The equal node compares arithmetic nodes only. If you want to determine equality of logical nodes use Xor followed by a negation.
func (*EqualNode) Descriptor
deprecated
func (*EqualNode) GetLeftChild ¶
func (x *EqualNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*EqualNode) GetRightChild ¶
func (x *EqualNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*EqualNode) ProtoMessage ¶
func (*EqualNode) ProtoMessage()
func (*EqualNode) ProtoReflect ¶
func (x *EqualNode) ProtoReflect() protoreflect.Message
type GreaterThanNode ¶
type GreaterThanNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*GreaterThanNode) Descriptor
deprecated
func (*GreaterThanNode) Descriptor() ([]byte, []int)
Deprecated: Use GreaterThanNode.ProtoReflect.Descriptor instead.
func (*GreaterThanNode) GetLeftChild ¶
func (x *GreaterThanNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*GreaterThanNode) GetRightChild ¶
func (x *GreaterThanNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*GreaterThanNode) ProtoMessage ¶
func (*GreaterThanNode) ProtoMessage()
func (*GreaterThanNode) ProtoReflect ¶
func (x *GreaterThanNode) ProtoReflect() protoreflect.Message
func (*GreaterThanNode) Reset ¶
func (x *GreaterThanNode) Reset()
func (*GreaterThanNode) String ¶
func (x *GreaterThanNode) String() string
type GreaterThanOrEqualNode ¶
type GreaterThanOrEqualNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*GreaterThanOrEqualNode) Descriptor
deprecated
func (*GreaterThanOrEqualNode) Descriptor() ([]byte, []int)
Deprecated: Use GreaterThanOrEqualNode.ProtoReflect.Descriptor instead.
func (*GreaterThanOrEqualNode) GetLeftChild ¶
func (x *GreaterThanOrEqualNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*GreaterThanOrEqualNode) GetRightChild ¶
func (x *GreaterThanOrEqualNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*GreaterThanOrEqualNode) ProtoMessage ¶
func (*GreaterThanOrEqualNode) ProtoMessage()
func (*GreaterThanOrEqualNode) ProtoReflect ¶
func (x *GreaterThanOrEqualNode) ProtoReflect() protoreflect.Message
func (*GreaterThanOrEqualNode) Reset ¶
func (x *GreaterThanOrEqualNode) Reset()
func (*GreaterThanOrEqualNode) String ¶
func (x *GreaterThanOrEqualNode) String() string
type InstructionWrapper ¶
type InstructionWrapper struct { // Types that are assignable to Wrapper: // *InstructionWrapper_ArithmeticWrapper // *InstructionWrapper_LogicalWrapper Wrapper isInstructionWrapper_Wrapper `protobuf_oneof:"wrapper"` // contains filtered or unexported fields }
func DeserialiseInstruction ¶
func DeserialiseInstruction(serialised []byte) (*InstructionWrapper, error)
func (*InstructionWrapper) Descriptor
deprecated
func (*InstructionWrapper) Descriptor() ([]byte, []int)
Deprecated: Use InstructionWrapper.ProtoReflect.Descriptor instead.
func (*InstructionWrapper) GetArithmeticWrapper ¶
func (x *InstructionWrapper) GetArithmeticWrapper() *ArithmeticResultNodeWrapper
func (*InstructionWrapper) GetLogicalWrapper ¶
func (x *InstructionWrapper) GetLogicalWrapper() *LogicalResultNodeWrapper
func (*InstructionWrapper) GetWrapper ¶
func (m *InstructionWrapper) GetWrapper() isInstructionWrapper_Wrapper
func (*InstructionWrapper) ProtoMessage ¶
func (*InstructionWrapper) ProtoMessage()
func (*InstructionWrapper) ProtoReflect ¶
func (x *InstructionWrapper) ProtoReflect() protoreflect.Message
func (*InstructionWrapper) Reset ¶
func (x *InstructionWrapper) Reset()
func (*InstructionWrapper) String ¶
func (x *InstructionWrapper) String() string
type InstructionWrapper_ArithmeticWrapper ¶
type InstructionWrapper_ArithmeticWrapper struct {
ArithmeticWrapper *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=arithmetic_wrapper,json=arithmeticWrapper,proto3,oneof"`
}
type InstructionWrapper_LogicalWrapper ¶
type InstructionWrapper_LogicalWrapper struct {
LogicalWrapper *LogicalResultNodeWrapper `protobuf:"bytes,2,opt,name=logical_wrapper,json=logicalWrapper,proto3,oneof"`
}
type LogarithmNode ¶
type LogarithmNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // the base // contains filtered or unexported fields }
func (*LogarithmNode) Descriptor
deprecated
func (*LogarithmNode) Descriptor() ([]byte, []int)
Deprecated: Use LogarithmNode.ProtoReflect.Descriptor instead.
func (*LogarithmNode) GetLeftChild ¶
func (x *LogarithmNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*LogarithmNode) GetRightChild ¶
func (x *LogarithmNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*LogarithmNode) ProtoMessage ¶
func (*LogarithmNode) ProtoMessage()
func (*LogarithmNode) ProtoReflect ¶
func (x *LogarithmNode) ProtoReflect() protoreflect.Message
func (*LogarithmNode) Reset ¶
func (x *LogarithmNode) Reset()
func (*LogarithmNode) String ¶
func (x *LogarithmNode) String() string
type LogicalIfElseNode ¶
type LogicalIfElseNode struct { Condition *LogicalResultNodeWrapper `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` If *LogicalResultNodeWrapper `protobuf:"bytes,2,opt,name=if,proto3" json:"if,omitempty"` Else *LogicalResultNodeWrapper `protobuf:"bytes,3,opt,name=else,proto3" json:"else,omitempty"` // contains filtered or unexported fields }
func (*LogicalIfElseNode) Descriptor
deprecated
func (*LogicalIfElseNode) Descriptor() ([]byte, []int)
Deprecated: Use LogicalIfElseNode.ProtoReflect.Descriptor instead.
func (*LogicalIfElseNode) GetCondition ¶
func (x *LogicalIfElseNode) GetCondition() *LogicalResultNodeWrapper
func (*LogicalIfElseNode) GetElse ¶
func (x *LogicalIfElseNode) GetElse() *LogicalResultNodeWrapper
func (*LogicalIfElseNode) GetIf ¶
func (x *LogicalIfElseNode) GetIf() *LogicalResultNodeWrapper
func (*LogicalIfElseNode) ProtoMessage ¶
func (*LogicalIfElseNode) ProtoMessage()
func (*LogicalIfElseNode) ProtoReflect ¶
func (x *LogicalIfElseNode) ProtoReflect() protoreflect.Message
func (*LogicalIfElseNode) Reset ¶
func (x *LogicalIfElseNode) Reset()
func (*LogicalIfElseNode) String ¶
func (x *LogicalIfElseNode) String() string
type LogicalResultNodeWrapper ¶
type LogicalResultNodeWrapper struct { // Types that are assignable to Node: // *LogicalResultNodeWrapper_EqualNode // *LogicalResultNodeWrapper_AndNode // *LogicalResultNodeWrapper_BoolNode // *LogicalResultNodeWrapper_NegateNode // *LogicalResultNodeWrapper_OrNode // *LogicalResultNodeWrapper_XorNode // *LogicalResultNodeWrapper_VariableNode // *LogicalResultNodeWrapper_IfElseNode // *LogicalResultNodeWrapper_GreaterThanNode // *LogicalResultNodeWrapper_GreaterThanOrEqualNode // *LogicalResultNodeWrapper_SmallerThanNode // *LogicalResultNodeWrapper_SmallerThanOrEqualNode Node isLogicalResultNodeWrapper_Node `protobuf_oneof:"node"` // contains filtered or unexported fields }
func NewBool ¶
func NewBool(value LogicalType) *LogicalResultNodeWrapper
func NewLogicalVariable ¶
func NewLogicalVariable(variableName string) *LogicalResultNodeWrapper
func (*LogicalResultNodeWrapper) And ¶
func (a *LogicalResultNodeWrapper) And(node *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
func (*LogicalResultNodeWrapper) ArithmeticIfElse ¶
func (a *LogicalResultNodeWrapper) ArithmeticIfElse(ifNode *ArithmeticResultNodeWrapper, elseNode *ArithmeticResultNodeWrapper) *ArithmeticResultNodeWrapper
func (*LogicalResultNodeWrapper) Calculate ¶
func (l *LogicalResultNodeWrapper) Calculate(parameters map[string]interface{}) (LogicalType, error)
func (*LogicalResultNodeWrapper) Descriptor
deprecated
func (*LogicalResultNodeWrapper) Descriptor() ([]byte, []int)
Deprecated: Use LogicalResultNodeWrapper.ProtoReflect.Descriptor instead.
func (*LogicalResultNodeWrapper) GetAndNode ¶
func (x *LogicalResultNodeWrapper) GetAndNode() *AndNode
func (*LogicalResultNodeWrapper) GetBoolNode ¶
func (x *LogicalResultNodeWrapper) GetBoolNode() *BoolNode
func (*LogicalResultNodeWrapper) GetEqualNode ¶
func (x *LogicalResultNodeWrapper) GetEqualNode() *EqualNode
func (*LogicalResultNodeWrapper) GetGreaterThanNode ¶
func (x *LogicalResultNodeWrapper) GetGreaterThanNode() *GreaterThanNode
func (*LogicalResultNodeWrapper) GetGreaterThanOrEqualNode ¶
func (x *LogicalResultNodeWrapper) GetGreaterThanOrEqualNode() *GreaterThanOrEqualNode
func (*LogicalResultNodeWrapper) GetIfElseNode ¶
func (x *LogicalResultNodeWrapper) GetIfElseNode() *LogicalIfElseNode
func (*LogicalResultNodeWrapper) GetNegateNode ¶
func (x *LogicalResultNodeWrapper) GetNegateNode() *NegateNode
func (*LogicalResultNodeWrapper) GetNode ¶
func (m *LogicalResultNodeWrapper) GetNode() isLogicalResultNodeWrapper_Node
func (*LogicalResultNodeWrapper) GetOrNode ¶
func (x *LogicalResultNodeWrapper) GetOrNode() *OrNode
func (*LogicalResultNodeWrapper) GetSmallerThanNode ¶
func (x *LogicalResultNodeWrapper) GetSmallerThanNode() *SmallerThanNode
func (*LogicalResultNodeWrapper) GetSmallerThanOrEqualNode ¶
func (x *LogicalResultNodeWrapper) GetSmallerThanOrEqualNode() *SmallerThanOrEqualNode
func (*LogicalResultNodeWrapper) GetVariableNode ¶
func (x *LogicalResultNodeWrapper) GetVariableNode() *LogicalVariableNode
func (*LogicalResultNodeWrapper) GetXorNode ¶
func (x *LogicalResultNodeWrapper) GetXorNode() *XorNode
func (*LogicalResultNodeWrapper) LogicalIfElse ¶
func (l *LogicalResultNodeWrapper) LogicalIfElse(ifNode *LogicalResultNodeWrapper, elseNode *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
func (*LogicalResultNodeWrapper) Negate ¶
func (a *LogicalResultNodeWrapper) Negate() *LogicalResultNodeWrapper
func (*LogicalResultNodeWrapper) Or ¶
func (a *LogicalResultNodeWrapper) Or(node *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
func (*LogicalResultNodeWrapper) ProtoMessage ¶
func (*LogicalResultNodeWrapper) ProtoMessage()
func (*LogicalResultNodeWrapper) ProtoReflect ¶
func (x *LogicalResultNodeWrapper) ProtoReflect() protoreflect.Message
func (*LogicalResultNodeWrapper) Reset ¶
func (x *LogicalResultNodeWrapper) Reset()
func (*LogicalResultNodeWrapper) Serialise ¶
func (l *LogicalResultNodeWrapper) Serialise() ([]byte, error)
func (*LogicalResultNodeWrapper) String ¶
func (x *LogicalResultNodeWrapper) String() string
func (*LogicalResultNodeWrapper) Xor ¶
func (a *LogicalResultNodeWrapper) Xor(node *LogicalResultNodeWrapper) *LogicalResultNodeWrapper
type LogicalResultNodeWrapper_AndNode ¶
type LogicalResultNodeWrapper_AndNode struct {
AndNode *AndNode `protobuf:"bytes,2,opt,name=and_node,json=andNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_BoolNode ¶
type LogicalResultNodeWrapper_BoolNode struct {
BoolNode *BoolNode `protobuf:"bytes,3,opt,name=bool_node,json=boolNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_EqualNode ¶
type LogicalResultNodeWrapper_EqualNode struct {
EqualNode *EqualNode `protobuf:"bytes,1,opt,name=equal_node,json=equalNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_GreaterThanNode ¶
type LogicalResultNodeWrapper_GreaterThanNode struct {
GreaterThanNode *GreaterThanNode `protobuf:"bytes,9,opt,name=greater_than_node,json=greaterThanNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_GreaterThanOrEqualNode ¶
type LogicalResultNodeWrapper_GreaterThanOrEqualNode struct {
GreaterThanOrEqualNode *GreaterThanOrEqualNode `protobuf:"bytes,10,opt,name=greater_than_or_equal_node,json=greaterThanOrEqualNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_IfElseNode ¶
type LogicalResultNodeWrapper_IfElseNode struct {
IfElseNode *LogicalIfElseNode `protobuf:"bytes,8,opt,name=if_else_node,json=ifElseNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_NegateNode ¶
type LogicalResultNodeWrapper_NegateNode struct {
NegateNode *NegateNode `protobuf:"bytes,4,opt,name=negate_node,json=negateNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_OrNode ¶
type LogicalResultNodeWrapper_OrNode struct {
OrNode *OrNode `protobuf:"bytes,5,opt,name=or_node,json=orNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_SmallerThanNode ¶
type LogicalResultNodeWrapper_SmallerThanNode struct {
SmallerThanNode *SmallerThanNode `protobuf:"bytes,11,opt,name=smaller_than_node,json=smallerThanNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_SmallerThanOrEqualNode ¶
type LogicalResultNodeWrapper_SmallerThanOrEqualNode struct {
SmallerThanOrEqualNode *SmallerThanOrEqualNode `protobuf:"bytes,12,opt,name=smaller_than_or_equal_node,json=smallerThanOrEqualNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_VariableNode ¶
type LogicalResultNodeWrapper_VariableNode struct {
VariableNode *LogicalVariableNode `protobuf:"bytes,7,opt,name=variable_node,json=variableNode,proto3,oneof"`
}
type LogicalResultNodeWrapper_XorNode ¶
type LogicalResultNodeWrapper_XorNode struct {
XorNode *XorNode `protobuf:"bytes,6,opt,name=xor_node,json=xorNode,proto3,oneof"`
}
type LogicalType ¶
type LogicalType = bool
type LogicalVariableNode ¶
type LogicalVariableNode struct { VariableName string `protobuf:"bytes,1,opt,name=variable_name,json=variableName,proto3" json:"variable_name,omitempty"` // contains filtered or unexported fields }
func (*LogicalVariableNode) Descriptor
deprecated
func (*LogicalVariableNode) Descriptor() ([]byte, []int)
Deprecated: Use LogicalVariableNode.ProtoReflect.Descriptor instead.
func (*LogicalVariableNode) GetVariableName ¶
func (x *LogicalVariableNode) GetVariableName() string
func (*LogicalVariableNode) ProtoMessage ¶
func (*LogicalVariableNode) ProtoMessage()
func (*LogicalVariableNode) ProtoReflect ¶
func (x *LogicalVariableNode) ProtoReflect() protoreflect.Message
func (*LogicalVariableNode) Reset ¶
func (x *LogicalVariableNode) Reset()
func (*LogicalVariableNode) String ¶
func (x *LogicalVariableNode) String() string
type ModuloNode ¶
type ModuloNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*ModuloNode) Descriptor
deprecated
func (*ModuloNode) Descriptor() ([]byte, []int)
Deprecated: Use ModuloNode.ProtoReflect.Descriptor instead.
func (*ModuloNode) GetLeftChild ¶
func (x *ModuloNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*ModuloNode) GetRightChild ¶
func (x *ModuloNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*ModuloNode) ProtoMessage ¶
func (*ModuloNode) ProtoMessage()
func (*ModuloNode) ProtoReflect ¶
func (x *ModuloNode) ProtoReflect() protoreflect.Message
func (*ModuloNode) Reset ¶
func (x *ModuloNode) Reset()
func (*ModuloNode) String ¶
func (x *ModuloNode) String() string
type MultiplyNode ¶
type MultiplyNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*MultiplyNode) Descriptor
deprecated
func (*MultiplyNode) Descriptor() ([]byte, []int)
Deprecated: Use MultiplyNode.ProtoReflect.Descriptor instead.
func (*MultiplyNode) GetLeftChild ¶
func (x *MultiplyNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*MultiplyNode) GetRightChild ¶
func (x *MultiplyNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*MultiplyNode) ProtoMessage ¶
func (*MultiplyNode) ProtoMessage()
func (*MultiplyNode) ProtoReflect ¶
func (x *MultiplyNode) ProtoReflect() protoreflect.Message
func (*MultiplyNode) Reset ¶
func (x *MultiplyNode) Reset()
func (*MultiplyNode) String ¶
func (x *MultiplyNode) String() string
type NegateNode ¶
type NegateNode struct { Child *LogicalResultNodeWrapper `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func (*NegateNode) Descriptor
deprecated
func (*NegateNode) Descriptor() ([]byte, []int)
Deprecated: Use NegateNode.ProtoReflect.Descriptor instead.
func (*NegateNode) GetChild ¶
func (x *NegateNode) GetChild() *LogicalResultNodeWrapper
func (*NegateNode) ProtoMessage ¶
func (*NegateNode) ProtoMessage()
func (*NegateNode) ProtoReflect ¶
func (x *NegateNode) ProtoReflect() protoreflect.Message
func (*NegateNode) Reset ¶
func (x *NegateNode) Reset()
func (*NegateNode) String ¶
func (x *NegateNode) String() string
type NumberNode ¶
type NumberNode struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*NumberNode) Descriptor
deprecated
func (*NumberNode) Descriptor() ([]byte, []int)
Deprecated: Use NumberNode.ProtoReflect.Descriptor instead.
func (*NumberNode) GetValue ¶
func (x *NumberNode) GetValue() float64
func (*NumberNode) ProtoMessage ¶
func (*NumberNode) ProtoMessage()
func (*NumberNode) ProtoReflect ¶
func (x *NumberNode) ProtoReflect() protoreflect.Message
func (*NumberNode) Reset ¶
func (x *NumberNode) Reset()
func (*NumberNode) String ¶
func (x *NumberNode) String() string
type OrNode ¶
type OrNode struct { LeftChild *LogicalResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *LogicalResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*OrNode) Descriptor
deprecated
func (*OrNode) GetLeftChild ¶
func (x *OrNode) GetLeftChild() *LogicalResultNodeWrapper
func (*OrNode) GetRightChild ¶
func (x *OrNode) GetRightChild() *LogicalResultNodeWrapper
func (*OrNode) ProtoMessage ¶
func (*OrNode) ProtoMessage()
func (*OrNode) ProtoReflect ¶
func (x *OrNode) ProtoReflect() protoreflect.Message
type PowerNode ¶
type PowerNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` // the base RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // the exponent // contains filtered or unexported fields }
func (*PowerNode) Descriptor
deprecated
func (*PowerNode) GetLeftChild ¶
func (x *PowerNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*PowerNode) GetRightChild ¶
func (x *PowerNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*PowerNode) ProtoMessage ¶
func (*PowerNode) ProtoMessage()
func (*PowerNode) ProtoReflect ¶
func (x *PowerNode) ProtoReflect() protoreflect.Message
type SmallerThanNode ¶
type SmallerThanNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*SmallerThanNode) Descriptor
deprecated
func (*SmallerThanNode) Descriptor() ([]byte, []int)
Deprecated: Use SmallerThanNode.ProtoReflect.Descriptor instead.
func (*SmallerThanNode) GetLeftChild ¶
func (x *SmallerThanNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*SmallerThanNode) GetRightChild ¶
func (x *SmallerThanNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*SmallerThanNode) ProtoMessage ¶
func (*SmallerThanNode) ProtoMessage()
func (*SmallerThanNode) ProtoReflect ¶
func (x *SmallerThanNode) ProtoReflect() protoreflect.Message
func (*SmallerThanNode) Reset ¶
func (x *SmallerThanNode) Reset()
func (*SmallerThanNode) String ¶
func (x *SmallerThanNode) String() string
type SmallerThanOrEqualNode ¶
type SmallerThanOrEqualNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*SmallerThanOrEqualNode) Descriptor
deprecated
func (*SmallerThanOrEqualNode) Descriptor() ([]byte, []int)
Deprecated: Use SmallerThanOrEqualNode.ProtoReflect.Descriptor instead.
func (*SmallerThanOrEqualNode) GetLeftChild ¶
func (x *SmallerThanOrEqualNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*SmallerThanOrEqualNode) GetRightChild ¶
func (x *SmallerThanOrEqualNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*SmallerThanOrEqualNode) ProtoMessage ¶
func (*SmallerThanOrEqualNode) ProtoMessage()
func (*SmallerThanOrEqualNode) ProtoReflect ¶
func (x *SmallerThanOrEqualNode) ProtoReflect() protoreflect.Message
func (*SmallerThanOrEqualNode) Reset ¶
func (x *SmallerThanOrEqualNode) Reset()
func (*SmallerThanOrEqualNode) String ¶
func (x *SmallerThanOrEqualNode) String() string
type SubtractNode ¶
type SubtractNode struct { LeftChild *ArithmeticResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *ArithmeticResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*SubtractNode) Descriptor
deprecated
func (*SubtractNode) Descriptor() ([]byte, []int)
Deprecated: Use SubtractNode.ProtoReflect.Descriptor instead.
func (*SubtractNode) GetLeftChild ¶
func (x *SubtractNode) GetLeftChild() *ArithmeticResultNodeWrapper
func (*SubtractNode) GetRightChild ¶
func (x *SubtractNode) GetRightChild() *ArithmeticResultNodeWrapper
func (*SubtractNode) ProtoMessage ¶
func (*SubtractNode) ProtoMessage()
func (*SubtractNode) ProtoReflect ¶
func (x *SubtractNode) ProtoReflect() protoreflect.Message
func (*SubtractNode) Reset ¶
func (x *SubtractNode) Reset()
func (*SubtractNode) String ¶
func (x *SubtractNode) String() string
type XorNode ¶
type XorNode struct { LeftChild *LogicalResultNodeWrapper `protobuf:"bytes,1,opt,name=left_child,json=leftChild,proto3" json:"left_child,omitempty"` RightChild *LogicalResultNodeWrapper `protobuf:"bytes,2,opt,name=right_child,json=rightChild,proto3" json:"right_child,omitempty"` // contains filtered or unexported fields }
func (*XorNode) Descriptor
deprecated
func (*XorNode) GetLeftChild ¶
func (x *XorNode) GetLeftChild() *LogicalResultNodeWrapper
func (*XorNode) GetRightChild ¶
func (x *XorNode) GetRightChild() *LogicalResultNodeWrapper
func (*XorNode) ProtoMessage ¶
func (*XorNode) ProtoMessage()
func (*XorNode) ProtoReflect ¶
func (x *XorNode) ProtoReflect() protoreflect.Message
Source Files ¶
- add_node.go
- and_node.go
- arithmetic_if_else_node.go
- arithmetic_node.go
- arithmetic_result_node_wrapper.go
- arithmetic_type.go
- arithmetic_variable_node.go
- bool_node.go
- divide_node.go
- equal_node.go
- greater_than_node.go
- greater_than_or_equal_node.go
- instruction_serialiser.pb.go
- instruction_wrapper.go
- logarithm_node.go
- logical_if_else_node.go
- logical_node.go
- logical_result_node_wrapper.go
- logical_type.go
- logical_variable_node.go
- modulo_node.go
- multiply_node.go
- negate_node.go
- number_node.go
- or_node.go
- power_node.go
- smaller_than_node.go
- smaller_than_or_equal_node.go
- subtract_node.go
- xor_node.go