evaluator

package
v6.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ParamTypeEvaluator = make(map[ast.ParamType]ParamEvaluator, 0)

exported to be able to change how param types are evaluating

Functions

This section is empty.

Types

type ParamEvaluator

type ParamEvaluator func(paramValue string) bool

final evaluator signature for both param types and param funcs

func NewParamEvaluatorFromRegexp

func NewParamEvaluatorFromRegexp(expr string) (ParamEvaluator, error)

Jump to

Keyboard shortcuts

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