__init__.py |
|
1481 |
__main__.py |
|
4419 |
character.py |
|
4665 |
comment_handler.py |
|
6486 |
compat.py |
|
2497 |
error_handler.py |
|
2906 |
esprima.py |
|
4350 |
jsx_nodes.py |
|
3339 |
jsx_parser.py |
|
19998 |
jsx_syntax.py |
|
1876 |
messages.py |
|
5597 |
nodes.py |
|
16212 |
objects.py |
|
1847 |
parser.py |
|
120670 |
scanner.py |
|
37971 |
syntax.py |
|
4334 |
token.py |
|
2055 |
tokenizer.py |
|
7470 |
utils.py |
|
1781 |
visitor.py |
An Object visitor base class that walks the abstract syntax tree and calls a
visitor function for every Object found. This function may return a value
which is forwarded by the `visit` method.
This class is meant to be subclassed, with the subclass adding visitor
methods.
Per default the visitor functions for the nodes are ``'visit_'`` +
class name of the Object. So a `Module` Object visit function would
be `visit_Module`. This behavior can be changed by overriding
the `visit` method. If no visitor function exists for a Object
(return value `None`) the `generic_visit` visitor is used instead.
|
9554 |
xhtml_entities.py |
|
7189 |