[webkit-dev] about javascript keyword

Ariya Hidayat ariya.hidayat at trolltech.com
Mon Mar 2 02:22:48 PST 2009


> HI all
> 	If I define a js function, as followed:
> function fun()
> {
> 	alert(document.all.text1.value);
> }
> When the webkit parse the js function, and store the keyword in the
> hashtable,
> Now I want to know the other indetifier is stored the hashtable. And how
> many hashtable will be built by webkit.
>
> I also want to know how to read the indetifier( e.g. document ) when webkit
> runs the javascript functions.

Launch your debugger and start from everything in JavaScriptCore/parser/. For 
example, JSC::Lexer is a good starting point.





More information about the webkit-dev mailing list