[webkit-dev] Grammer for html parsing
Nilesh Patil
vniles at gmail.com
Mon Feb 9 12:23:50 PST 2009
Hi
Yeah.... But still have a doubt. Doesn't it need to compare tags with
what ever has come as response? i mean if some data comes then webkit
must be identifying it in terms of HTML tags or other type of data. So
is there no need of string comparison of actual HTML tags ?
THanks & Regards
Niilesh
On 2/9/09, Darin Adler <darin at apple.com> wrote:
> On Feb 9, 2009, at 3:58 AM, Nilesh Patil wrote:
>
>> I need to know where does grammer for html Parser has been defined
>> in webkit. Is it a string based comparison directly with tags or
>> done any other way?
>
> The source files are HTMLTokenizer.cpp and HTMLParser.cpp. It doesn't
> use a parser generator such as yacc or bison or a lexer generator such
> as lex or flex, if that's what you're asking.
>
> -- Darin
>
>
More information about the webkit-dev
mailing list