|
| 1 | +from typing import Any |
| 2 | + |
| 3 | +class Options: |
| 4 | + dict_cls: Any |
| 5 | + custom_functions: Any |
| 6 | + def __init__(self, dict_cls: Any | None = ..., custom_functions: Any | None = ...) -> None: ... |
| 7 | + |
| 8 | +class _Expression: |
| 9 | + expression: Any |
| 10 | + interpreter: Any |
| 11 | + def __init__(self, expression, interpreter) -> None: ... |
| 12 | + def visit(self, node, *args, **kwargs): ... |
| 13 | + |
| 14 | +class Visitor: |
| 15 | + def __init__(self) -> None: ... |
| 16 | + def visit(self, node, *args, **kwargs): ... |
| 17 | + def default_visit(self, node, *args, **kwargs) -> None: ... |
| 18 | + |
| 19 | +class TreeInterpreter(Visitor): |
| 20 | + COMPARATOR_FUNC: Any |
| 21 | + MAP_TYPE: Any |
| 22 | + def __init__(self, options: Any | None = ...) -> None: ... |
| 23 | + def default_visit(self, node, *args, **kwargs) -> None: ... |
| 24 | + def visit_subexpression(self, node, value): ... |
| 25 | + def visit_field(self, node, value): ... |
| 26 | + def visit_comparator(self, node, value): ... |
| 27 | + def visit_current(self, node, value): ... |
| 28 | + def visit_expref(self, node, value): ... |
| 29 | + def visit_function_expression(self, node, value): ... |
| 30 | + def visit_filter_projection(self, node, value): ... |
| 31 | + def visit_flatten(self, node, value): ... |
| 32 | + def visit_identity(self, node, value): ... |
| 33 | + def visit_index(self, node, value): ... |
| 34 | + def visit_index_expression(self, node, value): ... |
| 35 | + def visit_slice(self, node, value): ... |
| 36 | + def visit_key_val_pair(self, node, value): ... |
| 37 | + def visit_literal(self, node, value): ... |
| 38 | + def visit_multi_select_dict(self, node, value): ... |
| 39 | + def visit_multi_select_list(self, node, value): ... |
| 40 | + def visit_or_expression(self, node, value): ... |
| 41 | + def visit_and_expression(self, node, value): ... |
| 42 | + def visit_not_expression(self, node, value): ... |
| 43 | + def visit_pipe(self, node, value): ... |
| 44 | + def visit_projection(self, node, value): ... |
| 45 | + def visit_value_projection(self, node, value): ... |
| 46 | + |
| 47 | +class GraphvizVisitor(Visitor): |
| 48 | + def __init__(self) -> None: ... |
| 49 | + def visit(self, node, *args, **kwargs): ... |
0 commit comments