| 147 | } |
| 148 | |
| 149 | type objectImpl interface { |
| 150 | sortable |
| 151 | className() string |
| 152 | typeOf() String |
| 153 | getStr(p unistring.String, receiver Value) Value |
| 154 | getIdx(p valueInt, receiver Value) Value |
| 155 | getSym(p *Symbol, receiver Value) Value |
| 156 | |
| 157 | getOwnPropStr(unistring.String) Value |
| 158 | getOwnPropIdx(valueInt) Value |
| 159 | getOwnPropSym(*Symbol) Value |
| 160 | |
| 161 | setOwnStr(p unistring.String, v Value, throw bool) bool |
| 162 | setOwnIdx(p valueInt, v Value, throw bool) bool |
| 163 | setOwnSym(p *Symbol, v Value, throw bool) bool |
| 164 | |
| 165 | setForeignStr(p unistring.String, v, receiver Value, throw bool) (res bool, handled bool) |
| 166 | setForeignIdx(p valueInt, v, receiver Value, throw bool) (res bool, handled bool) |
| 167 | setForeignSym(p *Symbol, v, receiver Value, throw bool) (res bool, handled bool) |
| 168 | |
| 169 | hasPropertyStr(unistring.String) bool |
| 170 | hasPropertyIdx(idx valueInt) bool |
| 171 | hasPropertySym(s *Symbol) bool |
| 172 | |
| 173 | hasOwnPropertyStr(unistring.String) bool |
| 174 | hasOwnPropertyIdx(valueInt) bool |
| 175 | hasOwnPropertySym(s *Symbol) bool |
| 176 | |
| 177 | defineOwnPropertyStr(name unistring.String, desc PropertyDescriptor, throw bool) bool |
| 178 | defineOwnPropertyIdx(name valueInt, desc PropertyDescriptor, throw bool) bool |
| 179 | defineOwnPropertySym(name *Symbol, desc PropertyDescriptor, throw bool) bool |
| 180 | |
| 181 | deleteStr(name unistring.String, throw bool) bool |
| 182 | deleteIdx(idx valueInt, throw bool) bool |
| 183 | deleteSym(s *Symbol, throw bool) bool |
| 184 | |
| 185 | assertCallable() (call func(FunctionCall) Value, ok bool) |
| 186 | vmCall(vm *vm, n int) |
| 187 | assertConstructor() func(args []Value, newTarget *Object) *Object |
| 188 | proto() *Object |
| 189 | setProto(proto *Object, throw bool) bool |
| 190 | hasInstance(v Value) bool |
| 191 | isExtensible() bool |
| 192 | preventExtensions(throw bool) bool |
| 193 | |
| 194 | export(ctx *objectExportCtx) interface{} |
| 195 | exportType() reflect.Type |
| 196 | exportToMap(m reflect.Value, typ reflect.Type, ctx *objectExportCtx) error |
| 197 | exportToArrayOrSlice(s reflect.Value, typ reflect.Type, ctx *objectExportCtx) error |
| 198 | equal(objectImpl) bool |
| 199 | |
| 200 | iterateStringKeys() iterNextFunc |
| 201 | iterateSymbols() iterNextFunc |
| 202 | iterateKeys() iterNextFunc |
| 203 | |
| 204 | stringKeys(all bool, accum []Value) []Value |
| 205 | symbols(all bool, accum []Value) []Value |
| 206 | keys(all bool, accum []Value) []Value |
no outgoing calls
no test coverage detected
searching dependent graphs…