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

Unified Diff: tools/lexer_generator/transition_keys.py

Issue 63183007: Experimental parser: dfa minimization (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 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 | « tools/lexer_generator/rule_parser.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/transition_keys.py
diff --git a/tools/lexer_generator/transition_keys.py b/tools/lexer_generator/transition_keys.py
index f3c80fce6992ac2591de13ac51da64378c059d1f..06bcbfab73b89479cfb87f7cb5f10989fee4ac70 100644
--- a/tools/lexer_generator/transition_keys.py
+++ b/tools/lexer_generator/transition_keys.py
@@ -42,12 +42,6 @@ class TransitionKey:
__unique_key_counter = -1
@staticmethod
- def alphabet_iter():
- for k, (lower, upper) in TransitionKey.__class_bounds.items():
- for i in range(lower, upper + 1):
- yield i
-
- @staticmethod
def __in_latin_1(char):
bound = TransitionKey.__class_bounds["latin_1"]
return (bound[0] <= char and char <= bound[1])
« no previous file with comments | « tools/lexer_generator/rule_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698