(p unistring.String)
| 105 | } |
| 106 | |
| 107 | func (o *templatedObject) getOwnPropStr(p unistring.String) Value { |
| 108 | if v, exists := o.values[p]; exists { |
| 109 | return v |
| 110 | } |
| 111 | if f := o.tmpl.props[p]; f != nil { |
| 112 | v := f(o.val.runtime) |
| 113 | o.values[p] = v |
| 114 | return v |
| 115 | } |
| 116 | return nil |
| 117 | } |
| 118 | |
| 119 | func (o *templatedObject) materialiseSymbols() { |
| 120 | if o.symValues == nil { |
no outgoing calls
no test coverage detected