simple-store.go: added function Init()
This commit is contained in:
@@ -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] != '_' }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user