simple-store.go: added function Init()

This commit is contained in:
Celestino Amoroso 2026-01-03 09:11:43 +01:00
parent d64602cb00
commit 518d4d8d65

View File

@ -24,6 +24,11 @@ func NewSimpleStore() *SimpleStore {
return ctx
}
func (ss *SimpleStore) Init() {
ss.varStore = make(map[string]any)
ss.funcStore = make(map[string]ExprFunc)
}
func filterRefName(name string) bool { return name[0] != '@' }
//func filterPrivName(name string) bool { return name[0] != '_' }