(vm: &VirtualMachine, module: &Py<PyModule>)
| 1522 | ]; |
| 1523 | |
| 1524 | pub fn extend_module_nodes(vm: &VirtualMachine, module: &Py<PyModule>) { |
| 1525 | extend_module!(vm, module, { |
| 1526 | "AST" => NodeAst::make_static_type(), |
| 1527 | "mod" => NodeMod::make_static_type(), |
| 1528 | "Module" => NodeModModule::make_static_type(), |
| 1529 | "Interactive" => NodeModInteractive::make_static_type(), |
| 1530 | "Expression" => NodeModExpression::make_static_type(), |
| 1531 | "FunctionType" => NodeModFunctionType::make_static_type(), |
| 1532 | "stmt" => NodeStmt::make_static_type(), |
| 1533 | "FunctionDef" => NodeStmtFunctionDef::make_static_type(), |
| 1534 | "AsyncFunctionDef" => NodeStmtAsyncFunctionDef::make_static_type(), |
| 1535 | "ClassDef" => NodeStmtClassDef::make_static_type(), |
| 1536 | "Return" => NodeStmtReturn::make_static_type(), |
| 1537 | "Delete" => NodeStmtDelete::make_static_type(), |
| 1538 | "Assign" => NodeStmtAssign::make_static_type(), |
| 1539 | "TypeAlias" => NodeStmtTypeAlias::make_static_type(), |
| 1540 | "AugAssign" => NodeStmtAugAssign::make_static_type(), |
| 1541 | "AnnAssign" => NodeStmtAnnAssign::make_static_type(), |
| 1542 | "For" => NodeStmtFor::make_static_type(), |
| 1543 | "AsyncFor" => NodeStmtAsyncFor::make_static_type(), |
| 1544 | "While" => NodeStmtWhile::make_static_type(), |
| 1545 | "If" => NodeStmtIf::make_static_type(), |
| 1546 | "With" => NodeStmtWith::make_static_type(), |
| 1547 | "AsyncWith" => NodeStmtAsyncWith::make_static_type(), |
| 1548 | "Match" => NodeStmtMatch::make_static_type(), |
| 1549 | "Raise" => NodeStmtRaise::make_static_type(), |
| 1550 | "Try" => NodeStmtTry::make_static_type(), |
| 1551 | "TryStar" => NodeStmtTryStar::make_static_type(), |
| 1552 | "Assert" => NodeStmtAssert::make_static_type(), |
| 1553 | "Import" => NodeStmtImport::make_static_type(), |
| 1554 | "ImportFrom" => NodeStmtImportFrom::make_static_type(), |
| 1555 | "Global" => NodeStmtGlobal::make_static_type(), |
| 1556 | "Nonlocal" => NodeStmtNonlocal::make_static_type(), |
| 1557 | "Expr" => NodeStmtExpr::make_static_type(), |
| 1558 | "Pass" => NodeStmtPass::make_static_type(), |
| 1559 | "Break" => NodeStmtBreak::make_static_type(), |
| 1560 | "Continue" => NodeStmtContinue::make_static_type(), |
| 1561 | "expr" => NodeExpr::make_static_type(), |
| 1562 | "BoolOp" => NodeExprBoolOp::make_static_type(), |
| 1563 | "NamedExpr" => NodeExprNamedExpr::make_static_type(), |
| 1564 | "BinOp" => NodeExprBinOp::make_static_type(), |
| 1565 | "UnaryOp" => NodeExprUnaryOp::make_static_type(), |
| 1566 | "Lambda" => NodeExprLambda::make_static_type(), |
| 1567 | "IfExp" => NodeExprIfExp::make_static_type(), |
| 1568 | "Dict" => NodeExprDict::make_static_type(), |
| 1569 | "Set" => NodeExprSet::make_static_type(), |
| 1570 | "ListComp" => NodeExprListComp::make_static_type(), |
| 1571 | "SetComp" => NodeExprSetComp::make_static_type(), |
| 1572 | "DictComp" => NodeExprDictComp::make_static_type(), |
| 1573 | "GeneratorExp" => NodeExprGeneratorExp::make_static_type(), |
| 1574 | "Await" => NodeExprAwait::make_static_type(), |
| 1575 | "Yield" => NodeExprYield::make_static_type(), |
| 1576 | "YieldFrom" => NodeExprYieldFrom::make_static_type(), |
| 1577 | "Compare" => NodeExprCompare::make_static_type(), |
| 1578 | "Call" => NodeExprCall::make_static_type(), |
| 1579 | "FormattedValue" => NodeExprFormattedValue::make_static_type(), |
| 1580 | "JoinedStr" => NodeExprJoinedStr::make_static_type(), |
| 1581 | "TemplateStr" => NodeExprTemplateStr::make_static_type(), |
no test coverage detected