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 #include "src/regexp/regexp-parser.h" | 5 #include "src/regexp/regexp-parser.h" |
6 | 6 |
7 #include "src/char-predicates-inl.h" | 7 #include "src/char-predicates-inl.h" |
8 #include "src/factory.h" | 8 #include "src/factory.h" |
9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
10 #include "src/objects-inl.h" | 10 #include "src/objects-inl.h" |
| 11 #include "src/ostreams.h" |
11 #include "src/regexp/jsregexp.h" | 12 #include "src/regexp/jsregexp.h" |
12 #include "src/utils.h" | 13 #include "src/utils.h" |
13 | 14 |
14 #ifdef V8_I18N_SUPPORT | 15 #ifdef V8_I18N_SUPPORT |
15 #include "unicode/uset.h" | 16 #include "unicode/uset.h" |
16 #endif // V8_I18N_SUPPORT | 17 #endif // V8_I18N_SUPPORT |
17 | 18 |
18 namespace v8 { | 19 namespace v8 { |
19 namespace internal { | 20 namespace internal { |
20 | 21 |
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 return false; | 1443 return false; |
1443 } | 1444 } |
1444 terms_.Add(new (zone()) RegExpQuantifier(min, max, quantifier_type, atom), | 1445 terms_.Add(new (zone()) RegExpQuantifier(min, max, quantifier_type, atom), |
1445 zone()); | 1446 zone()); |
1446 LAST(ADD_TERM); | 1447 LAST(ADD_TERM); |
1447 return true; | 1448 return true; |
1448 } | 1449 } |
1449 | 1450 |
1450 } // namespace internal | 1451 } // namespace internal |
1451 } // namespace v8 | 1452 } // namespace v8 |
OLD | NEW |