Orbits
1
|
Functions | |
def | _identityfunction |
def | _compile |
def | _compile_charset |
def | _optimize_charset |
def | _mk_bitmap |
def | _optimize_unicode |
def | _simple |
def | _compile_info |
def | isstring |
def | _code |
def | compile |
Variables | |
int | MAXCODE = 65535 |
tuple | _LITERAL_CODES = set([LITERAL, NOT_LITERAL]) |
tuple | _REPEATING_CODES = set([REPEAT, MIN_REPEAT, MAX_REPEAT]) |
tuple | _SUCCESS_CODES = set([SUCCESS, FAILURE]) |
tuple | _ASSERT_CODES = set([ASSERT, ASSERT_NOT]) |
emit = code.append | |
if prefix: print "*** PREFIX", prefix, prefix_skip if charset: print "*** CHARSET", charset add an info block More... | |
tuple | skip = len(code) |
int | mask = 0 |
list | prefix = prefix[:MAXCODE] |
list | table = [-1] |
tuple | STRING_TYPES = (type(""),) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
def sre_compile.compile | ( | p, | |
flags = 0 |
|||
) |
def sre_compile.isstring | ( | obj | ) |
tuple sre_compile._ASSERT_CODES = set([ASSERT, ASSERT_NOT]) |
tuple sre_compile._LITERAL_CODES = set([LITERAL, NOT_LITERAL]) |
tuple sre_compile._REPEATING_CODES = set([REPEAT, MIN_REPEAT, MAX_REPEAT]) |
tuple sre_compile._SUCCESS_CODES = set([SUCCESS, FAILURE]) |
sre_compile.emit = code.append |
if prefix: print "*** PREFIX", prefix, prefix_skip if charset: print "*** CHARSET", charset
add an info block
sre_compile.mask = 0 |
int sre_compile.MAXCODE = 65535 |
list sre_compile.prefix = prefix[:MAXCODE] |
tuple sre_compile.skip = len(code) |
tuple sre_compile.STRING_TYPES = (type(""),) |
list sre_compile.table = [-1] |
Copyright 2014 Google Inc. All rights reserved.