Re: [webkit-dev] RegExp on JSStaticFunction

2012-04-04 Thread Iker Perez de Albeniz
I will try it. Thanks. El 3 de abril de 2012 18:46, Geoffrey Garen gga...@apple.com escribió: JavaScript doesn't have a concept of intercept any method invocation. However, it does have a concept of intercept any property access. I believe you could accomplish what you want by implementing a

Re: [webkit-dev] RegExp on JSStaticFunction

2012-04-03 Thread Geoffrey Garen
JavaScript doesn't have a concept of intercept any method invocation. However, it does have a concept of intercept any property access. I believe you could accomplish what you want by implementing a catch-all JSObjectGetPropertyCallback that created the necessary function objects on the fly,