Home
last modified time | relevance | path

Searched refs:exception_kwargs (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/python/mako/test/
Dtest_ast.py7 exception_kwargs = {"source": "", "lineno": 0, "pos": 0, "filename": ""} variable
26 parsed = ast.PythonCode(code, **exception_kwargs)
36 parsed = ast.PythonCode("x + 5 * (y-z)", **exception_kwargs)
50 parsed = ast.PythonCode(code, **exception_kwargs)
67 parsed = ast.PythonCode(code, **exception_kwargs)
77 parsed = ast.PythonCode(code, **exception_kwargs)
88 parsed = ast.PythonCode(code, **exception_kwargs)
96 parsed = ast.PythonCode(code, **exception_kwargs)
104 parsed = ast.PythonCode(code, **exception_kwargs)
115 parsed = ast.PythonCode(code, **exception_kwargs)
[all …]
/aosp_15_r20/external/python/mako/mako/
Dparsetree.py28 def exception_kwargs(self): member in Node
92 code = ast.PythonFragment(text, **self.exception_kwargs)
158 self.code = ast.PythonCode(text, **self.exception_kwargs)
200 self.escapes_code = ast.ArgumentList(escapes, **self.exception_kwargs)
201 self.code = ast.PythonCode(text, **self.exception_kwargs)
307 **self.exception_kwargs,
331 m.group(1).rstrip(), **self.exception_kwargs
349 **self.exception_kwargs,
356 **self.exception_kwargs,
389 "__DUMMY(%s)" % attributes.get("args", ""), **self.exception_kwargs
[all …]
Dast.py20 def __init__(self, code, **exception_kwargs): argument
42 expr = pyparser.parse(code.lstrip(), "exec", **exception_kwargs)
46 f = pyparser.FindIdentifiers(self, **exception_kwargs)
54 def __init__(self, code, **exception_kwargs): argument
64 expr = pyparser.parse(code, "exec", **exception_kwargs)
68 f = pyparser.FindTuple(self, PythonCode, **exception_kwargs)
85 def __init__(self, code, **exception_kwargs): argument
90 **exception_kwargs,
108 **exception_kwargs,
110 super().__init__(code, **exception_kwargs)
[all …]
Dpyparser.py32 def parse(code, mode="exec", **exception_kwargs): argument
45 **exception_kwargs,
50 def __init__(self, listener, **exception_kwargs): argument
55 self.exception_kwargs = exception_kwargs
161 **self.exception_kwargs,
168 def __init__(self, listener, code_factory, **exception_kwargs): argument
170 self.exception_kwargs = exception_kwargs
175 p = self.code_factory(n, **self.exception_kwargs)
189 def __init__(self, listener, **exception_kwargs): argument
191 self.exception_kwargs = exception_kwargs
Dlexer.py43 def exception_kwargs(self): member in Lexer
121 "Expected: %s" % ",".join(text), **self.exception_kwargs
171 **self.exception_kwargs,
261 **self.exception_kwargs,
318 **self.exception_kwargs,
331 **self.exception_kwargs,
337 **self.exception_kwargs,
440 **self.exception_kwargs,
449 **self.exception_kwargs,
455 **self.exception_kwargs,
Dcodegen.py395 **node.exception_kwargs,
1158 **node.exception_kwargs,
1187 **node.exception_kwargs,
1195 **node.exception_kwargs,