Versions in this module Expand all Collapse all v0 v0.3.0 Aug 23, 2019 Changes in this version + var LogLevels = map[string]logrus.Level + func Assert(ok bool, format string, args ...interface{}) + func GetTypeDetail(t *sysl.Type) (typeName string, typeDetail string) + func HasSameType(type1 *sysl.Type, type2 *sysl.Type) bool + func PanicOnError(err error) + func PanicOnErrorf(err error, format string, args ...interface{}) + func TypeBool() *sysl.Type + func TypeDecimal() *sysl.Type + func TypeEmpty() *sysl.Type + func TypeFloat() *sysl.Type + func TypeInt() *sysl.Type + func TypeNone() *sysl.Type + func TypeString() *sysl.Type + type StrSet map[string]struct + func MakeStrSet(initial ...string) StrSet + func MakeStrSetFromActionStatement(stmts []*sysl.Statement) StrSet + func MakeStrSetFromAttr(attr string, attrs map[string]*sysl.Attribute) StrSet + func (s StrSet) Clone() StrSet + func (s StrSet) Contains(elem string) bool + func (s StrSet) Difference(other StrSet) StrSet + func (s StrSet) Insert(elem string) + func (s StrSet) Intersection(other StrSet) StrSet + func (s StrSet) IsSubset(parent StrSet) bool + func (s StrSet) Remove(elem string) + func (s StrSet) ToSlice() []string + func (s StrSet) ToSortedSlice() []string + func (s StrSet) Union(other StrSet) StrSet v0.2.9 Aug 16, 2019 Changes in this version + func GetApp(appName *sysl.AppName, mod *sysl.Module) *sysl.Application + func GetAppName(appname *sysl.AppName) string + func HasPattern(attrs map[string]*sysl.Attribute, pattern string) bool + func IsSameApp(a *sysl.AppName, b *sysl.AppName) bool + func IsSameCall(a *sysl.Call, b *sysl.Call) bool