Documentation
¶
Index ¶
- func CompareAny(a, b any) int
- func CompareBooleans(a, b bool) int
- func CompareFloats(x, y float64) int
- func CompareInts(x, y int64) int
- func CompareNumbers(a, b any) (int, error)
- func ComparePointers(a, b interface{}) int
- func CompareStrings(a, b string) int
- func ConvertToType(input any, targetType string) any
- func IsNumeric(a reflect.Type) bool
- func MatchesCondition(trav gdbi.Traveler, cond *gripql.HasCondition) bool
- func MatchesHasExpression(trav gdbi.Traveler, stmt *gripql.HasExpression) bool
- type Jump
- type JumpMark
- type KVSorter
- type MemSorter
- type SortConf
- type Sorter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareBooleans ¶
CompareBooleans compares two boolean values.
func CompareFloats ¶
CompareFloats is a helper function to compare two float values and return the appropriate comparison result.
func CompareInts ¶
CompareInts is a helper function to compare two int values and return the appropriate comparison result.
func CompareNumbers ¶
CompareNumbers compares two numbers (of any compatible numeric type) and returns an int as expected by the sort package.
func ComparePointers ¶
func ComparePointers(a, b interface{}) int
ComparePointers compares two pointers.
func CompareStrings ¶
CompareStrings compares two string values.
func ConvertToType ¶
func MatchesCondition ¶
func MatchesCondition(trav gdbi.Traveler, cond *gripql.HasCondition) bool
func MatchesHasExpression ¶
func MatchesHasExpression(trav gdbi.Traveler, stmt *gripql.HasExpression) bool
Types ¶
type Jump ¶
type Jump struct { Mark string Stmt *gripql.HasExpression Emit bool // contains filtered or unexported fields }
func (*Jump) GetJumpOutput ¶
type JumpMark ¶
type JumpMark struct { Name string // contains filtered or unexported fields }
MarkJump creates mark where jump instruction can send travelers
Click to show internal directories.
Click to hide internal directories.