execgen

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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

Jump to

Keyboard shortcuts

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