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

Side by Side Diff: include/v8.h

Issue 3547012: Fix typo in the spec reference. (Closed)
Patch Set: Created 10 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2009 the V8 project authors. All rights reserved. 1 // Copyright 2007-2009 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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 enum Flags { 1379 enum Flags {
1380 kNone = 0, 1380 kNone = 0,
1381 kGlobal = 1, 1381 kGlobal = 1,
1382 kIgnoreCase = 2, 1382 kIgnoreCase = 2,
1383 kMultiline = 4 1383 kMultiline = 4
1384 }; 1384 };
1385 1385
1386 /** 1386 /**
1387 * Creates a regular expression from the given pattern string and 1387 * Creates a regular expression from the given pattern string and
1388 * the flags bit field. May throw a JavaScript exception as 1388 * the flags bit field. May throw a JavaScript exception as
1389 * described in ECMA-252, 15.10.4.1. 1389 * described in ECMA-262, 15.10.4.1.
1390 * 1390 *
1391 * For example, 1391 * For example,
1392 * RegExp::New(v8::String::New("foo"), 1392 * RegExp::New(v8::String::New("foo"),
1393 * static_cast<RegExp::Flags>(kGlobal | kMultiline)) 1393 * static_cast<RegExp::Flags>(kGlobal | kMultiline))
1394 * is equivalent to evaluating "/foo/gm". 1394 * is equivalent to evaluating "/foo/gm".
1395 */ 1395 */
1396 V8EXPORT static Local<RegExp> New(Handle<String> pattern, 1396 V8EXPORT static Local<RegExp> New(Handle<String> pattern,
1397 Flags flags); 1397 Flags flags);
1398 1398
1399 /** 1399 /**
(...skipping 2340 matching lines...) Expand 10 before | Expand all | Expand 10 after
3740 3740
3741 3741
3742 } // namespace v8 3742 } // namespace v8
3743 3743
3744 3744
3745 #undef V8EXPORT 3745 #undef V8EXPORT
3746 #undef TYPE_CHECK 3746 #undef TYPE_CHECK
3747 3747
3748 3748
3749 #endif // V8_H_ 3749 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698