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

Side by Side Diff: src/regexp-macro-assembler-irregexp.h

Issue 18193: Add support for \b and ^ and $ in multiline mode, completing Irregexp... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 Label* on_end_of_input, 74 Label* on_end_of_input,
75 bool check_bounds = true, 75 bool check_bounds = true,
76 int characters = 1); 76 int characters = 1);
77 virtual void CheckCharacter(uint32_t c, Label* on_equal); 77 virtual void CheckCharacter(uint32_t c, Label* on_equal);
78 virtual void CheckCharacterAfterAnd(uint32_t c, 78 virtual void CheckCharacterAfterAnd(uint32_t c,
79 uint32_t mask, 79 uint32_t mask,
80 Label* on_equal); 80 Label* on_equal);
81 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 81 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
82 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 82 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
83 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 83 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
84 virtual void CheckAtStart(Label* on_at_start);
84 virtual void CheckNotAtStart(Label* on_not_at_start); 85 virtual void CheckNotAtStart(Label* on_not_at_start);
85 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); 86 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal);
86 virtual void CheckNotCharacterAfterAnd(uint32_t c, 87 virtual void CheckNotCharacterAfterAnd(uint32_t c,
87 uint32_t mask, 88 uint32_t mask,
88 Label* on_not_equal); 89 Label* on_not_equal);
89 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 90 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
90 uc16 minus, 91 uc16 minus,
91 uc16 mask, 92 uc16 mask,
92 Label* on_not_equal); 93 Label* on_not_equal);
93 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); 94 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // True if the assembler owns the buffer, false if buffer is external. 132 // True if the assembler owns the buffer, false if buffer is external.
132 bool own_buffer_; 133 bool own_buffer_;
133 Label backtrack_; 134 Label backtrack_;
134 135
135 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); 136 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp);
136 }; 137 };
137 138
138 } } // namespace v8::internal 139 } } // namespace v8::internal
139 140
140 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 141 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698