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

Side by Side Diff: third_party/cython/src/Cython/Plex/__init__.py

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #=======================================================================
2 #
3 # Python Lexical Analyser
4 #
5 #=======================================================================
6
7 """
8 The Plex module provides lexical analysers with similar capabilities
9 to GNU Flex. The following classes and functions are exported;
10 see the attached docstrings for more information.
11
12 Scanner For scanning a character stream under the
13 direction of a Lexicon.
14
15 Lexicon For constructing a lexical definition
16 to be used by a Scanner.
17
18 Str, Any, AnyBut, AnyChar, Seq, Alt, Opt, Rep, Rep1,
19 Bol, Eol, Eof, Empty
20
21 Regular expression constructors, for building pattern
22 definitions for a Lexicon.
23
24 State For defining scanner states when creating a
25 Lexicon.
26
27 TEXT, IGNORE, Begin
28
29 Actions for associating with patterns when
30 creating a Lexicon.
31 """
32
33 from Actions import TEXT, IGNORE, Begin
34 from Lexicons import Lexicon, State
35 from Regexps import RE, Seq, Alt, Rep1, Empty, Str, Any, AnyBut, AnyChar, Range
36 from Regexps import Opt, Rep, Bol, Eol, Eof, Case, NoCase
37 from Scanners import Scanner
38
39
40
OLDNEW
« no previous file with comments | « third_party/cython/src/Cython/Plex/Transitions.py ('k') | third_party/cython/src/Cython/Runtime/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698