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

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

Issue 968293002: Fix template angle bracket syntax in xml (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months 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
« no previous file with comments | « Source/core/xml/XPathNodeSet.cpp ('k') | Source/core/xml/XPathParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 static Parser* current() { return currentParser; } 72 static Parser* current() { return currentParser; }
73 73
74 int lex(void* yylval); 74 int lex(void* yylval);
75 75
76 RawPtrWillBeMember<Expression> m_topExpr; 76 RawPtrWillBeMember<Expression> m_topExpr;
77 bool m_gotNamespaceError; 77 bool m_gotNamespaceError;
78 78
79 void registerParseNode(ParseNode*); 79 void registerParseNode(ParseNode*);
80 void unregisterParseNode(ParseNode*); 80 void unregisterParseNode(ParseNode*);
81 81
82 void registerPredicateVector(WillBeHeapVector<OwnPtrWillBeMember<Predicate> >*); 82 void registerPredicateVector(WillBeHeapVector<OwnPtrWillBeMember<Predicate>> *);
83 void deletePredicateVector(WillBeHeapVector<OwnPtrWillBeMember<Predicate> >* ); 83 void deletePredicateVector(WillBeHeapVector<OwnPtrWillBeMember<Predicate>>*) ;
84 84
85 void registerExpressionVector(WillBeHeapVector<OwnPtrWillBeMember<Expression > >*); 85 void registerExpressionVector(WillBeHeapVector<OwnPtrWillBeMember<Expression >>*);
86 void deleteExpressionVector(WillBeHeapVector<OwnPtrWillBeMember<Expression> >*); 86 void deleteExpressionVector(WillBeHeapVector<OwnPtrWillBeMember<Expression>> *);
87 87
88 void registerString(String*); 88 void registerString(String*);
89 void deleteString(String*); 89 void deleteString(String*);
90 90
91 void registerNodeTest(Step::NodeTest*); 91 void registerNodeTest(Step::NodeTest*);
92 void deleteNodeTest(Step::NodeTest*); 92 void deleteNodeTest(Step::NodeTest*);
93 93
94 private: 94 private:
95 bool isBinaryOperatorContext() const; 95 bool isBinaryOperatorContext() const;
96 96
(...skipping 16 matching lines...) Expand all
113 113
114 static Parser* currentParser; 114 static Parser* currentParser;
115 115
116 unsigned m_nextPos; 116 unsigned m_nextPos;
117 String m_data; 117 String m_data;
118 int m_lastTokenType; 118 int m_lastTokenType;
119 RefPtrWillBeMember<XPathNSResolver> m_resolver; 119 RefPtrWillBeMember<XPathNSResolver> m_resolver;
120 120
121 #if !ENABLE(OILPAN) 121 #if !ENABLE(OILPAN)
122 HashSet<ParseNode*> m_parseNodes; 122 HashSet<ParseNode*> m_parseNodes;
123 HashSet<Vector<OwnPtr<Predicate> >*> m_predicateVectors; 123 HashSet<Vector<OwnPtr<Predicate>>*> m_predicateVectors;
124 HashSet<Vector<OwnPtr<Expression> >*> m_expressionVectors; 124 HashSet<Vector<OwnPtr<Expression>>*> m_expressionVectors;
125 HashSet<OwnPtr<Step::NodeTest> > m_nodeTests; 125 HashSet<OwnPtr<Step::NodeTest>> m_nodeTests;
126 #endif 126 #endif
127 HashSet<OwnPtr<String> > m_strings; 127 HashSet<OwnPtr<String>> m_strings;
128 }; 128 };
129 129
130 } // namespace XPath 130 } // namespace XPath
131 131
132 } // namespace blink 132 } // namespace blink
133 133
134 int xpathyyparse(blink::XPath::Parser*); 134 int xpathyyparse(blink::XPath::Parser*);
135 #endif 135 #endif
OLDNEW
« no previous file with comments | « Source/core/xml/XPathNodeSet.cpp ('k') | Source/core/xml/XPathParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698