doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Enumerations
Lexer.h File Reference

Go to the source code of this file.

Classes

struct  punctuation_s
 
class  idLexer
 

Macros

#define P_RSHIFT_ASSIGN   1
 
#define P_LSHIFT_ASSIGN   2
 
#define P_PARMS   3
 
#define P_PRECOMPMERGE   4
 
#define P_LOGIC_AND   5
 
#define P_LOGIC_OR   6
 
#define P_LOGIC_GEQ   7
 
#define P_LOGIC_LEQ   8
 
#define P_LOGIC_EQ   9
 
#define P_LOGIC_UNEQ   10
 
#define P_MUL_ASSIGN   11
 
#define P_DIV_ASSIGN   12
 
#define P_MOD_ASSIGN   13
 
#define P_ADD_ASSIGN   14
 
#define P_SUB_ASSIGN   15
 
#define P_INC   16
 
#define P_DEC   17
 
#define P_BIN_AND_ASSIGN   18
 
#define P_BIN_OR_ASSIGN   19
 
#define P_BIN_XOR_ASSIGN   20
 
#define P_RSHIFT   21
 
#define P_LSHIFT   22
 
#define P_POINTERREF   23
 
#define P_CPP1   24
 
#define P_CPP2   25
 
#define P_MUL   26
 
#define P_DIV   27
 
#define P_MOD   28
 
#define P_ADD   29
 
#define P_SUB   30
 
#define P_ASSIGN   31
 
#define P_BIN_AND   32
 
#define P_BIN_OR   33
 
#define P_BIN_XOR   34
 
#define P_BIN_NOT   35
 
#define P_LOGIC_NOT   36
 
#define P_LOGIC_GREATER   37
 
#define P_LOGIC_LESS   38
 
#define P_REF   39
 
#define P_COMMA   40
 
#define P_SEMICOLON   41
 
#define P_COLON   42
 
#define P_QUESTIONMARK   43
 
#define P_PARENTHESESOPEN   44
 
#define P_PARENTHESESCLOSE   45
 
#define P_BRACEOPEN   46
 
#define P_BRACECLOSE   47
 
#define P_SQBRACKETOPEN   48
 
#define P_SQBRACKETCLOSE   49
 
#define P_BACKSLASH   50
 
#define P_PRECOMP   51
 
#define P_DOLLAR   52
 

Typedefs

typedef struct punctuation_s punctuation_t
 

Enumerations

enum  lexerFlags_t {
  LEXFL_NOERRORS = BIT(0), LEXFL_NOWARNINGS = BIT(1), LEXFL_NOFATALERRORS = BIT(2), LEXFL_NOSTRINGCONCAT = BIT(3),
  LEXFL_NOSTRINGESCAPECHARS = BIT(4), LEXFL_NODOLLARPRECOMPILE = BIT(5), LEXFL_NOBASEINCLUDES = BIT(6), LEXFL_ALLOWPATHNAMES = BIT(7),
  LEXFL_ALLOWNUMBERNAMES = BIT(8), LEXFL_ALLOWIPADDRESSES = BIT(9), LEXFL_ALLOWFLOATEXCEPTIONS = BIT(10), LEXFL_ALLOWMULTICHARLITERALS = BIT(11),
  LEXFL_ALLOWBACKSLASHSTRINGCONCAT = BIT(12), LEXFL_ONLYSTRINGS = BIT(13)
}
 

Macro Definition Documentation

#define P_ADD   29

Definition at line 99 of file Lexer.h.

#define P_ADD_ASSIGN   14

Definition at line 82 of file Lexer.h.

#define P_ASSIGN   31

Definition at line 101 of file Lexer.h.

#define P_BACKSLASH   50

Definition at line 124 of file Lexer.h.

#define P_BIN_AND   32

Definition at line 103 of file Lexer.h.

#define P_BIN_AND_ASSIGN   18

Definition at line 87 of file Lexer.h.

#define P_BIN_NOT   35

Definition at line 106 of file Lexer.h.

#define P_BIN_OR   33

Definition at line 104 of file Lexer.h.

#define P_BIN_OR_ASSIGN   19

Definition at line 88 of file Lexer.h.

#define P_BIN_XOR   34

Definition at line 105 of file Lexer.h.

#define P_BIN_XOR_ASSIGN   20

Definition at line 89 of file Lexer.h.

#define P_BRACECLOSE   47

Definition at line 121 of file Lexer.h.

#define P_BRACEOPEN   46

Definition at line 120 of file Lexer.h.

#define P_COLON   42

Definition at line 115 of file Lexer.h.

#define P_COMMA   40

Definition at line 113 of file Lexer.h.

#define P_CPP1   24

Definition at line 94 of file Lexer.h.

#define P_CPP2   25

Definition at line 95 of file Lexer.h.

#define P_DEC   17

Definition at line 85 of file Lexer.h.

#define P_DIV   27

Definition at line 97 of file Lexer.h.

#define P_DIV_ASSIGN   12

Definition at line 80 of file Lexer.h.

#define P_DOLLAR   52

Definition at line 127 of file Lexer.h.

#define P_INC   16

Definition at line 84 of file Lexer.h.

#define P_LOGIC_AND   5

Definition at line 72 of file Lexer.h.

#define P_LOGIC_EQ   9

Definition at line 76 of file Lexer.h.

#define P_LOGIC_GEQ   7

Definition at line 74 of file Lexer.h.

#define P_LOGIC_GREATER   37

Definition at line 109 of file Lexer.h.

#define P_LOGIC_LEQ   8

Definition at line 75 of file Lexer.h.

#define P_LOGIC_LESS   38

Definition at line 110 of file Lexer.h.

#define P_LOGIC_NOT   36

Definition at line 108 of file Lexer.h.

#define P_LOGIC_OR   6

Definition at line 73 of file Lexer.h.

#define P_LOGIC_UNEQ   10

Definition at line 77 of file Lexer.h.

#define P_LSHIFT   22

Definition at line 91 of file Lexer.h.

#define P_LSHIFT_ASSIGN   2

Definition at line 68 of file Lexer.h.

#define P_MOD   28

Definition at line 98 of file Lexer.h.

#define P_MOD_ASSIGN   13

Definition at line 81 of file Lexer.h.

#define P_MUL   26

Definition at line 96 of file Lexer.h.

#define P_MUL_ASSIGN   11

Definition at line 79 of file Lexer.h.

#define P_PARENTHESESCLOSE   45

Definition at line 119 of file Lexer.h.

#define P_PARENTHESESOPEN   44

Definition at line 118 of file Lexer.h.

#define P_PARMS   3

Definition at line 69 of file Lexer.h.

#define P_POINTERREF   23

Definition at line 93 of file Lexer.h.

#define P_PRECOMP   51

Definition at line 126 of file Lexer.h.

#define P_PRECOMPMERGE   4

Definition at line 70 of file Lexer.h.

#define P_QUESTIONMARK   43

Definition at line 116 of file Lexer.h.

#define P_REF   39

Definition at line 112 of file Lexer.h.

#define P_RSHIFT   21

Definition at line 90 of file Lexer.h.

#define P_RSHIFT_ASSIGN   1

Definition at line 67 of file Lexer.h.

#define P_SEMICOLON   41

Definition at line 114 of file Lexer.h.

#define P_SQBRACKETCLOSE   49

Definition at line 123 of file Lexer.h.

#define P_SQBRACKETOPEN   48

Definition at line 122 of file Lexer.h.

#define P_SUB   30

Definition at line 100 of file Lexer.h.

#define P_SUB_ASSIGN   15

Definition at line 83 of file Lexer.h.

Typedef Documentation

typedef struct punctuation_s punctuation_t

Enumeration Type Documentation

Enumerator
LEXFL_NOERRORS 
LEXFL_NOWARNINGS 
LEXFL_NOFATALERRORS 
LEXFL_NOSTRINGCONCAT 
LEXFL_NOSTRINGESCAPECHARS 
LEXFL_NODOLLARPRECOMPILE 
LEXFL_NOBASEINCLUDES 
LEXFL_ALLOWPATHNAMES 
LEXFL_ALLOWNUMBERNAMES 
LEXFL_ALLOWIPADDRESSES 
LEXFL_ALLOWFLOATEXCEPTIONS 
LEXFL_ALLOWMULTICHARLITERALS 
LEXFL_ALLOWBACKSLASHSTRINGCONCAT 
LEXFL_ONLYSTRINGS 

Definition at line 49 of file Lexer.h.