Re: [webkit-dev] how to store javascript identifier

2009-03-04 Thread Gavin Barraclough

On Mar 4, 2009, at 2:22 AM, zhenghe zhang wrote:


When running a webpage, and the javascriptcore will parse the
javascript function, and will obtain some identifiers.  I don't know  
how to

store these identifiers and where to store these identifiers.


These identifiers are stored in the identifierTable on the  
globalData.  The identifiers are represented by objects of type  
Identifier.  If you look in parse.h, the nodes that have an identifier  
as a one of their properties typically have a field called m_ident.   
Within the Identifer constructor it calls Identifer::add() (which is  
in Identifier.cpp), and this ensures each identifier is represented by  
a unique string in the identifierTable.


I hope this helps to answer your question.

G.


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] how to store javascript identifier

2009-03-04 Thread zhenghe zhang
Hi all
Now I have a diffcult problem, and I don't how to solve it.
I hope you help me, thank you!
When running a webpage, and the javascriptcore will parse the
javascript function, and will obtain some identifiers.  I don't know how to
store these identifiers and where to store these identifiers.
Thank you
Regards
zh

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] how to store javascript identifier

2009-03-03 Thread zhenghe zhang
Hi all
Now I have a diffcult problem, and I don't how to solve it.
I hope you help me, thank you!
When running a webpage, and the javascriptcore will parse the
javascript function, and will obtain some identifiers.  I don't know how to
store these identifiers and where to store these identifiers.
Thank you
Regards
zh

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev