Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: third_party/WebKit/Source/core/xml/XPathParser.h

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2005 Maksim Orlovich <maksim@kde.org> 2 * Copyright 2005 Maksim Orlovich <maksim@kde.org>
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Token(int t, EqTestOp::Opcode v): type(t), eqop(v) { } 59 Token(int t, EqTestOp::Opcode v): type(t), eqop(v) { }
60 }; 60 };
61 61
62 class Parser { 62 class Parser {
63 WTF_MAKE_NONCOPYABLE(Parser); 63 WTF_MAKE_NONCOPYABLE(Parser);
64 STACK_ALLOCATED(); 64 STACK_ALLOCATED();
65 public: 65 public:
66 Parser(); 66 Parser();
67 ~Parser(); 67 ~Parser();
68 68
69 XPathNSResolver* resolver() const; 69 XPathNSResolver* resolver() const { return m_resolver.get(); }
70 bool expandQName(const String& qName, AtomicString& localName, AtomicString& namespaceURI); 70 bool expandQName(const String& qName, AtomicString& localName, AtomicString& namespaceURI);
71 71
72 Expression* parseStatement(const String& statement, XPathNSResolver*, Except ionState&); 72 Expression* parseStatement(const String& statement, XPathNSResolver*, Except ionState&);
73 73
74 static Parser* current() { return currentParser; } 74 static Parser* current() { return currentParser; }
75 75
76 int lex(void* yylval); 76 int lex(void* yylval);
77 77
78 Member<Expression> m_topExpr; 78 Member<Expression> m_topExpr;
79 bool m_gotNamespaceError; 79 bool m_gotNamespaceError;
(...skipping 30 matching lines...) Expand all
110 110
111 HashSet<OwnPtr<String>> m_strings; 111 HashSet<OwnPtr<String>> m_strings;
112 }; 112 };
113 113
114 } // namespace XPath 114 } // namespace XPath
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 int xpathyyparse(blink::XPath::Parser*); 118 int xpathyyparse(blink::XPath::Parser*);
119 #endif 119 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp ('k') | third_party/WebKit/Source/core/xml/XPathParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698