OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_REGEXP_REGEXP_PARSER_H_ | 5 #ifndef V8_REGEXP_REGEXP_PARSER_H_ |
6 #define V8_REGEXP_REGEXP_PARSER_H_ | 6 #define V8_REGEXP_REGEXP_PARSER_H_ |
7 | 7 |
8 #include "src/objects.h" | 8 #include "src/objects.h" |
9 #include "src/regexp/regexp-ast.h" | 9 #include "src/regexp/regexp-ast.h" |
10 #include "src/zone.h" | 10 #include "src/zone/zone.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 struct RegExpCompileData; | 15 struct RegExpCompileData; |
16 | 16 |
17 | 17 |
18 // A BufferedZoneList is an automatically growing list, just like (and backed | 18 // A BufferedZoneList is an automatically growing list, just like (and backed |
19 // by) a ZoneList, that is optimized for the case of adding and removing | 19 // by) a ZoneList, that is optimized for the case of adding and removing |
20 // a single element. The last element added is stored outside the backing list, | 20 // a single element. The last element added is stored outside the backing list, |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 bool simple_; | 323 bool simple_; |
324 bool contains_anchor_; | 324 bool contains_anchor_; |
325 bool is_scanned_for_captures_; | 325 bool is_scanned_for_captures_; |
326 bool failed_; | 326 bool failed_; |
327 }; | 327 }; |
328 | 328 |
329 } // namespace internal | 329 } // namespace internal |
330 } // namespace v8 | 330 } // namespace v8 |
331 | 331 |
332 #endif // V8_REGEXP_REGEXP_PARSER_H_ | 332 #endif // V8_REGEXP_REGEXP_PARSER_H_ |
OLD | NEW |