execgen

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 13 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BinaryOpName = map[treebin.BinaryOperatorSymbol]string{
	treebin.Bitand:            "Bitand",
	treebin.Bitor:             "Bitor",
	treebin.Bitxor:            "Bitxor",
	treebin.Plus:              "Plus",
	treebin.Minus:             "Minus",
	treebin.Mult:              "Mult",
	treebin.Div:               "Div",
	treebin.FloorDiv:          "FloorDiv",
	treebin.Mod:               "Mod",
	treebin.Pow:               "Pow",
	treebin.Concat:            "Concat",
	treebin.LShift:            "LShift",
	treebin.RShift:            "RShift",
	treebin.JSONFetchVal:      "JSONFetchVal",
	treebin.JSONFetchText:     "JSONFetchText",
	treebin.JSONFetchValPath:  "JSONFetchValPath",
	treebin.JSONFetchTextPath: "JSONFetchTextPath",
}

BinaryOpName is a mapping from all binary operators that are supported by the vectorized engine to their names.

View Source
var ComparisonOpName = map[treecmp.ComparisonOperatorSymbol]string{
	treecmp.EQ: "EQ",
	treecmp.NE: "NE",
	treecmp.LT: "LT",
	treecmp.LE: "LE",
	treecmp.GT: "GT",
	treecmp.GE: "GE",
}

ComparisonOpName is a mapping from all comparison operators that are supported by the vectorized engine to their names.

Functions

func APPENDSLICE

func APPENDSLICE(target, src, destIdx, srcStartIdx, srcEndIdx interface{})

APPENDSLICE is a template function.

func APPENDVAL

func APPENDVAL(target, v interface{})

APPENDVAL is a template function.

func COPYVAL

func COPYVAL(dest, src interface{})

COPYVAL is a template function that can be used to set a scalar to the value of another scalar in such a way that the destination won't be modified if the source is.

func Generate

func Generate(inputFileContents string) (string, error)

Generate transforms the string contents of an input execgen template by processing all supported // execgen annotations.

func SETVARIABLESIZE

func SETVARIABLESIZE(target, value interface{}) interface{}

SETVARIABLESIZE is a template function.

Types

This section is empty.

Directories

Path Synopsis
cmd
execgen command

Jump to

Keyboard shortcuts

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