HomeSort by relevance Sort by last modified time
    Searched refs:HTMLToken (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLSourceTracker.h 29 #include "core/html/parser/HTMLToken.h"
44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&);
45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&);
47 String sourceForToken(const HTMLToken&);
AtomicHTMLToken.h 32 #include "core/html/parser/HTMLToken.h"
44 ASSERT(m_type == HTMLToken::DOCTYPE);
48 HTMLToken::Type type() const { return m_type; }
64 ASSERT(m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag);
88 ASSERT(m_type == HTMLToken::Character);
94 ASSERT(m_type == HTMLToken::Comment);
101 ASSERT(m_type == HTMLToken::DOCTYPE);
108 ASSERT(m_type == HTMLToken::DOCTYPE);
112 explicit AtomicHTMLToken(HTMLToken& token
    [all...]
CompactHTMLToken.cpp 43 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition)
50 case HTMLToken::Uninitialized:
53 case HTMLToken::DOCTYPE: {
62 case HTMLToken::EndOfFile:
64 case HTMLToken::StartTag:
66 for (Vector<HTMLToken::Attribute>::const_iterator it = token->attributes().begin(); it != token->attributes().end(); ++it)
69 case HTMLToken::EndTag:
72 case HTMLToken::Comment:
73 case HTMLToken::Character: {
HTMLSourceTracker.cpp 39 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token)
41 if (token.type() == HTMLToken::Uninitialized && !m_isStarted) {
53 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token)
63 String HTMLSourceTracker::sourceForToken(const HTMLToken& token)
69 if (token.type() == HTMLToken::EndOfFile) {
CompactHTMLToken.h 29 #include "core/html/parser/HTMLToken.h"
51 CompactHTMLToken(const HTMLToken*, const TextPosition&);
55 HTMLToken::Type type() const { return static_cast<HTMLToken::Type>(m_type); }
HTMLMetaCharsetParser.cpp 56 const HTMLToken::AttributeList& tokenAttributes = m_token.attributes();
58 for (HTMLToken::AttributeList::const_iterator iter = tokenAttributes.begin(); iter != tokenAttributes.end(); ++iter) {
98 bool end = m_token.type() == HTMLToken::EndTag;
99 if (end || m_token.type() == HTMLToken::StartTag) {
HTMLMetaCharsetParser.h 29 #include "core/html/parser/HTMLToken.h"
59 HTMLToken m_token;
XSSAuditor.h 29 #include "core/html/parser/HTMLToken.h"
45 FilterTokenRequest(HTMLToken& token, HTMLSourceTracker& sourceTracker, bool shouldAllowCDATA)
51 HTMLToken& token;
106 String nameFromAttribute(const FilterTokenRequest&, const HTMLToken::Attribute&);
107 String snippetFromAttribute(const FilterTokenRequest&, const HTMLToken::Attribute&);
CSSPreloadScanner.h 31 #include "core/html/parser/HTMLToken.h"
46 void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
HTMLViewSourceParser.h 60 HTMLToken m_token;
TextDocumentParser.cpp 61 AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), attributes);
BackgroundHTMLParser.h 62 OwnPtr<HTMLToken> token;
95 OwnPtr<HTMLToken> m_token;
HTMLPreloadScanner.h 32 #include "core/html/parser/HTMLToken.h"
51 void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
113 HTMLToken m_token;
HTMLTokenizer.h 31 #include "core/html/parser/HTMLToken.h"
148 bool nextToken(SegmentedString&, HTMLToken&);
250 ASSERT(m_token->type() != HTMLToken::Uninitialized);
251 if (m_token->type() == HTMLToken::StartTag)
259 return m_token->type() == HTMLToken::Character;
268 HTMLToken* m_token;
HTMLDocumentParser.h 40 #include "core/html/parser/HTMLToken.h"
148 void discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunk, PassOwnPtr<HTMLToken>, PassOwnPtr<HTMLTokenizer>);
161 void constructTreeFromHTMLToken(HTMLToken&);
179 HTMLToken& token() { return *m_token; }
184 OwnPtr<HTMLToken> m_token;
HTMLTreeBuilder.cpp 45 #include "core/html/parser/HTMLToken.h"
398 if (token->type() == HTMLToken::Character) {
409 case HTMLToken::Uninitialized:
410 case HTMLToken::Character:
413 case HTMLToken::DOCTYPE:
416 case HTMLToken::StartTag:
419 case HTMLToken::EndTag:
422 case HTMLToken::Comment:
425 case HTMLToken::EndOfFile:
433 ASSERT(token->type() == HTMLToken::DOCTYPE)
    [all...]
XSSAuditor.cpp 133 static bool hasName(const HTMLToken& token, const QualifiedName& name)
138 static bool findAttributeWithName(const HTMLToken& token, const QualifiedName& name, size_t& indexOfMatchingAttribute)
252 static bool isSemicolonSeparatedAttribute(const HTMLToken::Attribute& attribute)
401 if (request.token.type() == HTMLToken::StartTag)
404 if (request.token.type() == HTMLToken::Character)
406 else if (request.token.type() == HTMLToken::EndTag)
482 ASSERT(request.token.type() == HTMLToken::StartTag);
496 ASSERT(request.token.type() == HTMLToken::StartTag);
510 ASSERT(request.token.type() == HTMLToken::StartTag);
517 const HTMLToken::Attribute& nameAttribute = request.token.attributes().at(indexOfNameAttribute)
    [all...]
HTMLPreloadScanner.cpp 65 static const StringImpl* tagImplFor(const HTMLToken::DataVector& data)
135 void processAttributes(const HTMLToken::AttributeList& attributes)
140 for (HTMLToken::AttributeList::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) {
404 void TokenPreloadScanner::scan(const HTMLToken& token, const SegmentedString& source, PreloadRequestStream& requests)
418 case HTMLToken::Character: {
424 case HTMLToken::EndTag: {
441 case HTMLToken::StartTag: {
517 if (m_token.type() == HTMLToken::StartTag)
HTMLViewSourceParser.cpp 32 #include "core/html/parser/HTMLToken.h"
60 if (m_token.type() == HTMLToken::StartTag)
HTMLDocumentParser.cpp 108 , m_token(m_options.useThreading ? nullptr : adoptPtr(new HTMLToken))
129 , m_token(adoptPtr(new HTMLToken))
181 m_token = adoptPtr(new HTMLToken);
388 OwnPtr<HTMLToken> token = m_token.release();
397 // both starts and ends in the DataState. That state is simplest because the HTMLToken
400 // sophisticated with the HTMLToken.
412 void HTMLDocumentParser::discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunkBeforeScript, PassOwnPtr<HTMLToken> token, PassOwnPtr<HTMLTokenizer> tokenizer)
469 if (tokens->last().type() == HTMLToken::EndOfFile) {
490 if (it->type() == HTMLToken::EndOfFile) {
659 void HTMLDocumentParser::constructTreeFromHTMLToken(HTMLToken& rawToken
    [all...]
HTMLTokenizer.cpp 51 // We don't have an HTMLToken.cpp though, so this is the next best place.
52 QualifiedName AtomicHTMLToken::nameForAttribute(const HTMLToken::Attribute& attribute) const
59 return m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag || m_type == HTMLToken::DOCTYPE;
64 return m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag;
177 ASSERT(m_token->type() == HTMLToken::Character || m_token->type() == HTMLToken::Uninitialized);
179 if (m_token->type() == HTMLToken::Character
    [all...]
HTMLToken.h 62 class HTMLToken {
63 WTF_MAKE_NONCOPYABLE(HTMLToken);
97 HTMLToken() { clear(); }
109 // HTMLToken will be destroyed and the VectorBuffer released.
HTMLTreeBuilderSimulator.cpp 134 if (token.type() == HTMLToken::StartTag) {
163 if (token.type() == HTMLToken::EndTag) {
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLViewSourceDocument.h 34 class HTMLToken;
48 void addSource(const String&, HTMLToken&, SourceAnnotation);
57 void processDoctypeToken(const String& source, HTMLToken&);
58 void processEndOfFileToken(const String& source, HTMLToken&);
59 void processTagToken(const String& source, HTMLToken&, SourceAnnotation);
60 void processCommentToken(const String& source, HTMLToken&);
61 void processCharacterToken(const String& source, HTMLToken&, SourceAnnotation);
HTMLViewSourceDocument.cpp 43 #include "core/html/parser/HTMLToken.h"
95 void HTMLViewSourceDocument::addSource(const String& source, HTMLToken& token, SourceAnnotation annotation)
101 case HTMLToken::Uninitialized:
104 case HTMLToken::DOCTYPE:
107 case HTMLToken::EndOfFile:
110 case HTMLToken::StartTag:
111 case HTMLToken::EndTag:
114 case HTMLToken::Comment:
117 case HTMLToken::Character:
123 void HTMLViewSourceDocument::processDoctypeToken(const String& source, HTMLToken&
    [all...]

Completed in 319 milliseconds

1 2