Sorry, from the right address.

On Mon, Aug 9, 2010 at 8:16 PM, Anton Muhin <[email protected]> wrote:
> Charles, good day,
>
> On Mon, Aug 9, 2010 at 7:56 PM, Charles Lowell <[email protected]> 
> wrote:
>> While we're on the subject of property interceptors and API
>> asymmetries, I can't figure out to add named and indexed getter/
>> setter, etc.. to Function objects inside the javascript runtime. I've
>> searched extensively for a way to do this, but nothing as reliable as
>> ObjectTemplate::SetNamedPropertyHandler()
>
> I don't quite understand what do you mean by 'inside the javascript
> runtime'?  Do you want to invoke JS function?  Or add native
> interceptor to JS function (to be invoked as a constructor)?
>
> AFAIK currently one can only add interceptors (both named and indexed)
> to FunctionTemplates.
>
> BTW, what are you trying to achieve?  If you could tell us, maybe
> there could be found some way out.
>
> yours,
> anton.
>
>> On Aug 6, 12:49 pm, Anton Muhin <[email protected]> wrote:
>>> From the right address.
>>>
>>>
>>>
>>> On Fri, Aug 6, 2010 at 9:39 PM, Anton Muhin <[email protected]> wrote:
>>> > Charles,
>>>
>>> > I just didn't have to time to implement the same functionality for
>>> > indexed interceptor.  Filing a bug and cc'ing you.
>>>
>>> > I'll try to implement it, but it might require some time to roll in to
>>> > make transition to new api smooth.
>>>
>>> > yours,
>>> > anton.
>>>
>>> > On Fri, Aug 6, 2010 at 9:31 PM, Charles Lowell <[email protected]> 
>>> > wrote:
>>> >> Hi,
>>>
>>> >> I've noticed a small asymmetry in the interfaces for
>>> >> IndexedPropertyQuery and NamedPropertyQuery. Specifically that the
>>> >> indexed version returns just a Boolean instead of and Integer encoding
>>> >> property attributes. Is this intentional? Rhino, for example allows
>>> >> for specifying attributes for indexed values as well.
>>>
>>> >> cheers,
>>> >> Charles
>>>
>>> >> --
>>> >> v8-users mailing list
>>> >> [email protected]
>>> >>http://groups.google.com/group/v8-users
>>
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
>>
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to