package
0.774.0
Repository: https://github.com/anz-bank/sysl.git
Documentation: pkg.go.dev

# Functions

expects m.Value to be of type Value_Map.
No description provided by the author
Eval expr TODO: Add type checks.
No description provided by the author
EvaluateView evaluate the view using the Scope.
FindAllString exposes regexp.FindAllString to sysl transforms.
GetValueSlice returns the slice from either a set or a list.
IsCollectionType does obj holds multiple instances of the same thing?.
MakeValueBool returns sysl.Value of type Value_B (bool).
MakeValueI64 returns sysl.Value of type Value_I (int64).
MakeValueList returns sysl.Value of type Value_List_ ([]*sysl.Value).
MakeValueMap returns sysl.Value of type Value_Map_ (map[string]*sysl.Value).
MakeValueSet returns sysl.Value of type Value_Set ([]*sysl.Value).
MakeValueString returns sysl.Value of type Value_S (string).
MatchString exposes regexp.MatchString to sysl transforms.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.
const definitions for various sysl.Value types.

# Variables

No description provided by the author
GoFuncMap is Map of Function Names to goFunc{}.

# Structs

DefaultBinExprStrategy is to evaluate lhs and rhs expr's first and then pass it to fn.
LHSOverRHSStrategy binds rhs expression over each element of the LHS.
NegateBinExprStrategy is to evaluate the negative of the DefaultBinExprStrategy.

# Interfaces

Strategy interface to evaluate binary expr.

# Type aliases

No description provided by the author
Scope holds the value of the variables during the execution of a transform.