|
| 1 | +import ast |
| 2 | + |
| 3 | +from pandas.core.computation.ops import Term as Term |
| 4 | +from pandas.core.computation.scope import Scope as Scope |
| 5 | + |
| 6 | +class BaseExprVisitor(ast.NodeVisitor): |
| 7 | + const_type = ... |
| 8 | + term_type = ... |
| 9 | + binary_ops = ... |
| 10 | + binary_op_nodes = ... |
| 11 | + binary_op_nodes_map = ... |
| 12 | + unary_ops = ... |
| 13 | + unary_op_nodes = ... |
| 14 | + unary_op_nodes_map = ... |
| 15 | + rewrite_map = ... |
| 16 | + env = ... |
| 17 | + engine = ... |
| 18 | + parser = ... |
| 19 | + preparser = ... |
| 20 | + assigner = ... |
| 21 | + def __init__(self, env, engine, parser, preparser=...) -> None: ... |
| 22 | + def visit(self, node, **kwargs): ... |
| 23 | + def visit_Module(self, node, **kwargs): ... |
| 24 | + def visit_Expr(self, node, **kwargs): ... |
| 25 | + def visit_BinOp(self, node, **kwargs): ... |
| 26 | + def visit_Div(self, node, **kwargs): ... |
| 27 | + def visit_UnaryOp(self, node, **kwargs): ... |
| 28 | + def visit_Name(self, node, **kwargs): ... |
| 29 | + def visit_NameConstant(self, node, **kwargs): ... |
| 30 | + def visit_Num(self, node, **kwargs): ... |
| 31 | + def visit_Constant(self, node, **kwargs): ... |
| 32 | + def visit_Str(self, node, **kwargs): ... |
| 33 | + def visit_List(self, node, **kwargs): ... |
| 34 | + def visit_Index(self, node, **kwargs): ... |
| 35 | + def visit_Subscript(self, node, **kwargs): ... |
| 36 | + def visit_Slice(self, node, **kwargs): ... |
| 37 | + def visit_Assign(self, node, **kwargs): ... |
| 38 | + def visit_Attribute(self, node, **kwargs): ... |
| 39 | + def visit_Call(self, node, side=..., **kwargs): ... |
| 40 | + def translate_In(self, op): ... |
| 41 | + def visit_Compare(self, node, **kwargs): ... |
| 42 | + def visit_BoolOp(self, node, **kwargs): ... |
| 43 | + |
| 44 | +class Expr: |
| 45 | + env: Scope |
| 46 | + engine: str |
| 47 | + parser: str |
| 48 | + expr = ... |
| 49 | + terms = ... |
| 50 | + def __init__( |
| 51 | + self, |
| 52 | + expr, |
| 53 | + engine: str = ..., |
| 54 | + parser: str = ..., |
| 55 | + env: Scope | None = ..., |
| 56 | + level: int = ..., |
| 57 | + ) -> None: ... |
| 58 | + @property |
| 59 | + def assigner(self): ... |
| 60 | + def __call__(self): ... |
| 61 | + def __len__(self) -> int: ... |
| 62 | + def parse(self): ... |
| 63 | + @property |
| 64 | + def names(self): ... |
0 commit comments