OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 : error_message(NULL), | 1538 : error_message(NULL), |
1539 code(code), | 1539 code(code), |
1540 num_registers(registers) {} | 1540 num_registers(registers) {} |
1541 const char* error_message; | 1541 const char* error_message; |
1542 Object* code; | 1542 Object* code; |
1543 int num_registers; | 1543 int num_registers; |
1544 }; | 1544 }; |
1545 | 1545 |
1546 static CompilationResult Compile(RegExpCompileData* input, | 1546 static CompilationResult Compile(RegExpCompileData* input, |
1547 bool ignore_case, | 1547 bool ignore_case, |
| 1548 bool global, |
1548 bool multiline, | 1549 bool multiline, |
1549 Handle<String> pattern, | 1550 Handle<String> pattern, |
1550 Handle<String> sample_subject, | 1551 Handle<String> sample_subject, |
1551 bool is_ascii); | 1552 bool is_ascii); |
1552 | 1553 |
1553 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); | 1554 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); |
1554 }; | 1555 }; |
1555 | 1556 |
1556 | 1557 |
1557 class OffsetsVector { | 1558 class OffsetsVector { |
(...skipping 25 matching lines...) Expand all Loading... |
1583 int* vector_; | 1584 int* vector_; |
1584 int offsets_vector_length_; | 1585 int offsets_vector_length_; |
1585 | 1586 |
1586 friend class ExternalReference; | 1587 friend class ExternalReference; |
1587 }; | 1588 }; |
1588 | 1589 |
1589 | 1590 |
1590 } } // namespace v8::internal | 1591 } } // namespace v8::internal |
1591 | 1592 |
1592 #endif // V8_JSREGEXP_H_ | 1593 #endif // V8_JSREGEXP_H_ |
OLD | NEW |