Files
typeshed/stdlib/3
Ran Benita 92d53086be stdlib/3/ast: add visit_* methods to NodeVisitor (#3796)
NodeVisitor recurses over an AST tree. When encountering a node, it
checks if a method called `visit_{node.__class__.__name__}` exists, and
calls it if so, otherwise calls the generic visitor.

Add the possible methods to NodeVisitor. This is not exactly correct,
since the methods don't *actually* exist on NodeVisitor, e.g.
`NodeVisitor().visit_Module(...)` doesn't work. But it's nice for
subclasses to know which methods they can override and which type they
should have.
2020-03-06 13:15:04 +01:00
..
2020-02-21 11:55:21 +01:00
2020-03-06 11:01:19 +01:00
2020-03-03 10:48:52 +01:00
2020-02-01 09:25:56 -08:00
2019-10-29 19:52:05 -07:00
2020-02-21 21:31:58 -08:00
2019-07-27 10:58:21 +02:00
2020-01-22 10:20:40 +01:00
2020-01-21 17:52:38 -08:00
2019-11-20 10:29:05 +00:00
2020-02-21 21:23:21 -08:00
2020-02-22 12:53:16 +01:00
2019-07-27 10:58:21 +02:00
2020-02-29 22:03:50 -08:00
2017-04-30 14:16:30 -07:00
2020-02-05 19:14:30 -08:00
2020-02-21 11:55:11 +01:00
2020-02-21 11:57:07 +01:00
2018-08-18 19:25:48 -07:00
2020-02-21 21:23:34 -08:00
2020-03-06 11:02:18 +01:00
2019-07-27 10:58:21 +02:00
2020-02-21 20:58:42 -08:00
2020-02-21 20:35:37 -08:00
2020-03-06 11:12:24 +01:00
2020-02-21 11:55:11 +01:00