(name unistring.String, throw bool)
| 245 | } |
| 246 | |
| 247 | func (o *templatedObject) deleteStr(name unistring.String, throw bool) bool { |
| 248 | if val := o.getOwnPropStr(name); val != nil { |
| 249 | if !o.checkDelete(name, val, throw) { |
| 250 | return false |
| 251 | } |
| 252 | o.materialisePropNames() |
| 253 | o._delete(name) |
| 254 | if _, exists := o.tmpl.props[name]; exists { |
| 255 | o.values[name] = nil // white hole |
| 256 | } |
| 257 | } |
| 258 | return true |
| 259 | } |
| 260 | |
| 261 | func (o *templatedObject) deleteSym(s *Symbol, throw bool) bool { |
| 262 | o.materialiseSymbols() |
nothing calls this directly
no test coverage detected