Back to index

python3.2  3.2.2
Classes | Defines | Typedefs
sre.h File Reference
#include "sre_constants.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  PatternObject
struct  MatchObject
struct  SRE_REPEAT_T
struct  SRE_STATE
struct  ScannerObject


#define SRE_CODE   unsigned short
#define PatternObject_GetCode(o)   (((PatternObject*)(o))->code)
#define SRE_MARK_SIZE   200


typedef unsigned int(* SRE_TOLOWER_HOOK )(unsigned int ch)
typedef struct SRE_REPEAT_T SRE_REPEAT

Class Documentation

struct PatternObject

Definition at line 24 of file sre.h.

Collaboration diagram for PatternObject:
Class Members
int charsize
Py_ssize_t codesize
int flags
PyObject * groupindex
PyObject_VAR_HEAD Py_ssize_t groups
PyObject * indexgroup
PyObject * pattern
PyObject * weakreflist
struct MatchObject

Definition at line 41 of file sre.h.

Collaboration diagram for MatchObject:
Class Members
Py_ssize_t endpos
Py_ssize_t groups
Py_ssize_t lastindex
Py_ssize_t mark
PatternObject * pattern
Py_ssize_t pos
PyObject * regs
PyObject_VAR_HEAD PyObject * string

Definition at line 57 of file sre.h.

Collaboration diagram for SRE_REPEAT_T:
Class Members
Py_ssize_t count
void * last_ptr
SRE_CODE * pattern
struct SRE_REPEAT_T * prev
struct SRE_STATE

Definition at line 64 of file sre.h.

Collaboration diagram for SRE_STATE:
Class Members
void * beginning
int charsize
char * data_stack
size_t data_stack_base
size_t data_stack_size
void * end
Py_ssize_t endpos
Py_ssize_t lastindex
Py_ssize_t lastmark
void * mark
Py_ssize_t pos
void * ptr
SRE_REPEAT * repeat
void * start
PyObject * string
struct ScannerObject

Definition at line 89 of file sre.h.

Collaboration diagram for ScannerObject:
Class Members
PyObject_HEAD PyObject * pattern

Define Documentation

#define PatternObject_GetCode (   o)    (((PatternObject*)(o))->code)

Definition at line 39 of file sre.h.

#define SRE_CODE   unsigned short

Definition at line 21 of file sre.h.

#define SRE_MARK_SIZE   200

Definition at line 55 of file sre.h.

Typedef Documentation

typedef struct SRE_REPEAT_T SRE_REPEAT
typedef unsigned int(* SRE_TOLOWER_HOOK)(unsigned int ch)

Definition at line 52 of file sre.h.