(proto *Object, throw bool)
| 168 | } |
| 169 | |
| 170 | func (o *templatedObject) setProto(proto *Object, throw bool) bool { |
| 171 | o.protoMaterialised = true |
| 172 | ret := o.baseObject.setProto(proto, throw) |
| 173 | if ret { |
| 174 | o.protoMaterialised = true |
| 175 | } |
| 176 | return ret |
| 177 | } |
| 178 | |
| 179 | func (o *templatedObject) setForeignIdx(name valueInt, val, receiver Value, throw bool) (bool, bool) { |
| 180 | return o.setForeignStr(name.string(), val, receiver, throw) |