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

Side by Side Diff: src/jsregexp.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « src/isolate.h ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_JSREGEXP_H_ 5 #ifndef V8_JSREGEXP_H_
6 #define V8_JSREGEXP_H_ 6 #define V8_JSREGEXP_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 10
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 VISIT(BackReference) \ 399 VISIT(BackReference) \
400 VISIT(Empty) \ 400 VISIT(Empty) \
401 VISIT(Text) 401 VISIT(Text)
402 402
403 403
404 #define FORWARD_DECLARE(Name) class RegExp##Name; 404 #define FORWARD_DECLARE(Name) class RegExp##Name;
405 FOR_EACH_REG_EXP_TREE_TYPE(FORWARD_DECLARE) 405 FOR_EACH_REG_EXP_TREE_TYPE(FORWARD_DECLARE)
406 #undef FORWARD_DECLARE 406 #undef FORWARD_DECLARE
407 407
408 408
409 class TextElement FINAL BASE_EMBEDDED { 409 class TextElement final BASE_EMBEDDED {
410 public: 410 public:
411 enum TextType { 411 enum TextType {
412 ATOM, 412 ATOM,
413 CHAR_CLASS 413 CHAR_CLASS
414 }; 414 };
415 415
416 static TextElement Atom(RegExpAtom* atom); 416 static TextElement Atom(RegExpAtom* atom);
417 static TextElement CharClass(RegExpCharacterClass* char_class); 417 static TextElement CharClass(RegExpCharacterClass* char_class);
418 418
419 int cp_offset() const { return cp_offset_; } 419 int cp_offset() const { return cp_offset_; }
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 1675
1676 static bool TooMuchRegExpCode(Handle<String> pattern); 1676 static bool TooMuchRegExpCode(Handle<String> pattern);
1677 1677
1678 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); 1678 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case);
1679 }; 1679 };
1680 1680
1681 1681
1682 } } // namespace v8::internal 1682 } } // namespace v8::internal
1683 1683
1684 #endif // V8_JSREGEXP_H_ 1684 #endif // V8_JSREGEXP_H_
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698