Skip to content
  • abarth@webkit.org's avatar
    2010-05-19 Adam Barth <abarth@webkit.org> · c0b247de
    abarth@webkit.org authored
            Reviewed by David Hyatt.
    
            Change the API of nextToken to distinguish between emitting a token and just running out of input
            https://bugs.webkit.org/show_bug.cgi?id=39349
    
            I'm not sure there's a functional difference with this patch yet, but
            as discussed with Eric, we need this to handle attributes.
    
            * html/HTML5Lexer.cpp:
            (WebCore::HTML5Lexer::reset):
            (WebCore::HTML5Lexer::nextToken):
            * html/HTML5Lexer.h:
            * html/HTML5Token.h:
            (WebCore::HTML5Token::HTML5Token):
            (WebCore::HTML5Token::clear):
            (WebCore::HTML5Token::beginStartTag):
            (WebCore::HTML5Token::beginEndTag):
            (WebCore::HTML5Token::beginCharacter):
            * html/HTML5Tokenizer.cpp:
            (WebCore::HTML5Tokenizer::write):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c0b247de