parse

package
v0.0.0-...-37747ed Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("expression not implemented")
View Source
var ErrNotSupportedExpr = errors.New("unsupported expression")
View Source
var XFunctions = map[string]*parser.Function{
	"xdelta": {
		Name:       "xdelta",
		ArgTypes:   []parser.ValueType{parser.ValueTypeMatrix},
		ReturnType: parser.ValueTypeVector,
	},
	"xincrease": {
		Name:       "xincrease",
		ArgTypes:   []parser.ValueType{parser.ValueTypeMatrix},
		ReturnType: parser.ValueTypeVector,
	},
	"xrate": {
		Name:       "xrate",
		ArgTypes:   []parser.ValueType{parser.ValueTypeMatrix},
		ReturnType: parser.ValueTypeVector,
	},
}

Functions

func IsExtFunction

func IsExtFunction(functionName string) bool

IsExtFunction is a convenience function to determine whether extended range calculations are required.

func UnknownFunctionError

func UnknownFunctionError(name string) error

func UnsupportedOperationErr

func UnsupportedOperationErr(op parser.ItemType) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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