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

Unified Diff: src/jsregexp.h

Issue 9771: Propagation of choice start set. (Closed)
Patch Set: Created 12 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/jsregexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.h
diff --git a/src/jsregexp.h b/src/jsregexp.h
index 871a00810e6c739d45cdd6b72ed7117107733559..4ab6db0fc184313f131d47ee1d9f788db68da3df 100644
--- a/src/jsregexp.h
+++ b/src/jsregexp.h
@@ -324,6 +324,9 @@ class DispatchTable {
void AddRange(CharacterRange range, int value);
OutSet Get(uc16 value);
void Dump();
+
+ template <typename Callback>
+ void ForEach(Callback callback) { return tree()->ForEach(callback); }
private:
ZoneSplayTree<Config>* tree() { return &tree_; }
ZoneSplayTree<Config> tree_;
« no previous file with comments | « no previous file | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698