Lines Matching refs:compile
56 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
70 EVAL_PATTERN = re.compile(r'\beval\s*\(')
71 WITH_PATTERN = re.compile(r'\bwith\s*\(')
154 CONST_PATTERN = re.compile(r'^const\s+([a-zA-Z0-9_]+)\s*=\s*([^;]*);$')
155 MACRO_PATTERN = re.compile(r'^macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$')
156 PYTHON_MACRO_PATTERN = re.compile(r'^python\s+macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$…
171 constants.append((re.compile("\\b%s\\b" % name), value))
178 macros.append((re.compile("\\b%s\\(" % name), TextMacro(args, body)))
186 macros.append((re.compile("\\b%s\\(" % name), PythonMacro(args, fun)))
191 INLINE_MACRO_PATTERN = re.compile(r'macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*\n')
192 INLINE_MACRO_END_PATTERN = re.compile(r'endmacro\s*\n')
210 name_pattern = re.compile("\\b%s\\(" % name)
221 INLINE_CONSTANT_PATTERN = re.compile(r'const\s+([a-zA-Z0-9_]+)\s*=\s*([^;\n]+)[;\n]')
232 name_pattern = re.compile("\\b%s\\b" % name)