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 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 catch-all

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

[webkit-dev] RegExp on JSStaticFunction

2012-04-03 Thread Iker Perez de Albeniz
Hi, I have estarted a personal project and i am new on wbkit development. I have a question about the posibility of using regular expression on JSStaticFunction struct name.. so i can resolve every methos of a class with an unique funcrtion.. My idea is to hace a fucntion that conects to a socket