Back to index

python3.2  3.2.2
Defines | Functions | Variables
token.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ENDMARKER   0
#define NAME   1
#define NUMBER   2
#define STRING   3
#define NEWLINE   4
#define INDENT   5
#define DEDENT   6
#define LPAR   7
#define RPAR   8
#define LSQB   9
#define RSQB   10
#define COLON   11
#define COMMA   12
#define SEMI   13
#define PLUS   14
#define MINUS   15
#define STAR   16
#define SLASH   17
#define VBAR   18
#define AMPER   19
#define LESS   20
#define GREATER   21
#define EQUAL   22
#define DOT   23
#define PERCENT   24
#define LBRACE   26
#define RBRACE   27
#define EQEQUAL   28
#define NOTEQUAL   29
#define LESSEQUAL   30
#define GREATEREQUAL   31
#define TILDE   32
#define CIRCUMFLEX   33
#define LEFTSHIFT   34
#define RIGHTSHIFT   35
#define DOUBLESTAR   36
#define PLUSEQUAL   37
#define MINEQUAL   38
#define STAREQUAL   39
#define SLASHEQUAL   40
#define PERCENTEQUAL   41
#define AMPEREQUAL   42
#define VBAREQUAL   43
#define CIRCUMFLEXEQUAL   44
#define LEFTSHIFTEQUAL   45
#define RIGHTSHIFTEQUAL   46
#define DOUBLESTAREQUAL   47
#define DOUBLESLASH   48
#define DOUBLESLASHEQUAL   49
#define AT   50
#define RARROW   51
#define ELLIPSIS   52
#define OP   53
#define ERRORTOKEN   54
#define N_TOKENS   55
#define NT_OFFSET   256
#define ISTERMINAL(x)   ((x) < NT_OFFSET)
#define ISNONTERMINAL(x)   ((x) >= NT_OFFSET)
#define ISEOF(x)   ((x) == ENDMARKER)

Functions

 PyAPI_DATA (char *) _PyParser_TokenNames[]
 PyAPI_FUNC (int) PyToken_OneChar(int)

Variables

 int

Define Documentation

#define AMPER   19

Definition at line 31 of file token.h.

#define AMPEREQUAL   42

Definition at line 54 of file token.h.

#define AT   50

Definition at line 62 of file token.h.

#define CIRCUMFLEX   33

Definition at line 45 of file token.h.

#define CIRCUMFLEXEQUAL   44

Definition at line 56 of file token.h.

#define COLON   11

Definition at line 23 of file token.h.

#define COMMA   12

Definition at line 24 of file token.h.

#define DEDENT   6

Definition at line 18 of file token.h.

#define DOT   23

Definition at line 35 of file token.h.

#define DOUBLESLASH   48

Definition at line 60 of file token.h.

#define DOUBLESLASHEQUAL   49

Definition at line 61 of file token.h.

#define DOUBLESTAR   36

Definition at line 48 of file token.h.

#define DOUBLESTAREQUAL   47

Definition at line 59 of file token.h.

#define ELLIPSIS   52

Definition at line 64 of file token.h.

#define ENDMARKER   0

Definition at line 12 of file token.h.

#define EQEQUAL   28

Definition at line 40 of file token.h.

#define EQUAL   22

Definition at line 34 of file token.h.

#define ERRORTOKEN   54

Definition at line 67 of file token.h.

#define GREATER   21

Definition at line 33 of file token.h.

#define GREATEREQUAL   31

Definition at line 43 of file token.h.

#define INDENT   5

Definition at line 17 of file token.h.

#define ISEOF (   x)    ((x) == ENDMARKER)

Definition at line 76 of file token.h.

#define ISNONTERMINAL (   x)    ((x) >= NT_OFFSET)

Definition at line 75 of file token.h.

#define ISTERMINAL (   x)    ((x) < NT_OFFSET)

Definition at line 74 of file token.h.

#define LBRACE   26

Definition at line 38 of file token.h.

#define LEFTSHIFT   34

Definition at line 46 of file token.h.

#define LEFTSHIFTEQUAL   45

Definition at line 57 of file token.h.

#define LESS   20

Definition at line 32 of file token.h.

#define LESSEQUAL   30

Definition at line 42 of file token.h.

#define LPAR   7

Definition at line 19 of file token.h.

#define LSQB   9

Definition at line 21 of file token.h.

#define MINEQUAL   38

Definition at line 50 of file token.h.

#define MINUS   15

Definition at line 27 of file token.h.

#define N_TOKENS   55

Definition at line 68 of file token.h.

#define NAME   1

Definition at line 13 of file token.h.

#define NEWLINE   4

Definition at line 16 of file token.h.

#define NOTEQUAL   29

Definition at line 41 of file token.h.

#define NT_OFFSET   256

Definition at line 72 of file token.h.

#define NUMBER   2

Definition at line 14 of file token.h.

#define OP   53

Definition at line 66 of file token.h.

#define PERCENT   24

Definition at line 36 of file token.h.

#define PERCENTEQUAL   41

Definition at line 53 of file token.h.

#define PLUS   14

Definition at line 26 of file token.h.

#define PLUSEQUAL   37

Definition at line 49 of file token.h.

#define RARROW   51

Definition at line 63 of file token.h.

#define RBRACE   27

Definition at line 39 of file token.h.

#define RIGHTSHIFT   35

Definition at line 47 of file token.h.

#define RIGHTSHIFTEQUAL   46

Definition at line 58 of file token.h.

#define RPAR   8

Definition at line 20 of file token.h.

#define RSQB   10

Definition at line 22 of file token.h.

#define SEMI   13

Definition at line 25 of file token.h.

#define SLASH   17

Definition at line 29 of file token.h.

#define SLASHEQUAL   40

Definition at line 52 of file token.h.

#define STAR   16

Definition at line 28 of file token.h.

#define STAREQUAL   39

Definition at line 51 of file token.h.

#define STRING   3

Definition at line 15 of file token.h.

#define TILDE   32

Definition at line 44 of file token.h.

#define VBAR   18

Definition at line 30 of file token.h.

#define VBAREQUAL   43

Definition at line 55 of file token.h.


Function Documentation

PyAPI_DATA ( char *  )
PyAPI_FUNC ( int  ) [read]

Definition at line 2410 of file pythonrun.c.


Variable Documentation

int

Definition at line 81 of file token.h.