OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_REGEXP_PARSER_H_ | 5 #ifndef RUNTIME_VM_REGEXP_PARSER_H_ |
6 #define VM_REGEXP_PARSER_H_ | 6 #define RUNTIME_VM_REGEXP_PARSER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
10 #include "vm/regexp_ast.h" | 10 #include "vm/regexp_ast.h" |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 // Accumulates RegExp atoms and assertions into lists of terms and alternatives. | 14 // Accumulates RegExp atoms and assertions into lists of terms and alternatives. |
15 class RegExpBuilder: public ZoneAllocated { | 15 class RegExpBuilder: public ZoneAllocated { |
16 public: | 16 public: |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 bool has_more_; | 166 bool has_more_; |
167 bool multiline_; | 167 bool multiline_; |
168 bool simple_; | 168 bool simple_; |
169 bool contains_anchor_; | 169 bool contains_anchor_; |
170 bool is_scanned_for_captures_; | 170 bool is_scanned_for_captures_; |
171 bool failed_; | 171 bool failed_; |
172 }; | 172 }; |
173 | 173 |
174 } // namespace dart | 174 } // namespace dart |
175 | 175 |
176 #endif // VM_REGEXP_PARSER_H_ | 176 #endif // RUNTIME_VM_REGEXP_PARSER_H_ |
OLD | NEW |