[v8-users] Re: Implementing auto complete

2015-02-21 Thread Flying Jester
Perhaps if you iterated the global object? That would give you access to all objects that exist in the current scope, if you recursively iterated the objects that the global object has handles to. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users

Re: [v8-users] Re: Implementing auto complete

2015-02-21 Thread Jeroen Ooms
On Sat, Feb 21, 2015 at 10:41 PM, Ben Noordhuis i...@bnoordhuis.nl wrote: Object.keys() only returns enumerable properties. Object.getOwnPropertyNames() returns all properties. Thanks I was not aware of that. So that gives me a little bit more: Object.getOwnPropertyNames(global)

Re: [v8-users] Re: Implementing auto complete

2015-02-21 Thread Ben Noordhuis
On Sun, Feb 22, 2015 at 4:02 AM, Jeroen Ooms jeroeno...@gmail.com wrote: On Sat, Feb 21, 2015 at 6:59 PM, Flying Jester foolkingcr...@gmail.com wrote: Perhaps if you iterated the global object? That would give you access to all objects that exist in the current scope, if you recursively

Re: [v8-users] Re: Implementing auto complete

2015-02-21 Thread Jeroen Ooms
On Sat, Feb 21, 2015 at 6:59 PM, Flying Jester foolkingcr...@gmail.com wrote: Perhaps if you iterated the global object? That would give you access to all objects that exist in the current scope, if you recursively iterated the objects that the global object has handles to. I don't think the

Re: [v8-users] Re: Implementing auto complete

2015-02-21 Thread Ben Noordhuis
On Sun, Feb 22, 2015 at 7:52 AM, Jeroen Ooms jeroeno...@gmail.com wrote: On Sat, Feb 21, 2015 at 10:41 PM, Ben Noordhuis i...@bnoordhuis.nl wrote: Object.keys() only returns enumerable properties. Object.getOwnPropertyNames() returns all properties. Thanks I was not aware of that. So that