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