src/basilisp/lang/compiler/generator.py
def _maybe_class_to_py_ast(_: GeneratorContext, node: MaybeClass) -> GeneratedPyAST:
    """Generate a Python AST node for accessing a potential Python module
    variable name."""
    assert node.op == NodeOp.MAYBE_CLASS
    return GeneratedPyAST(
        node=ast.Name(
            id=Maybe(_MODULE_ALIASES.get(node.class_)).or_else_get(node.class_),
            ctx=ast.Load(),
        )
    )
def _maybe_class_to_py_ast(_: GeneratorContext, node: MaybeClass) -> GeneratedPyAST:
    """Generate a Python AST node for accessing a potential Python module
    variable name."""
    assert node.op == NodeOp.MAYBE_CLASS
    return GeneratedPyAST(
        node=ast.Name(
            id=Maybe(_MODULE_ALIASES.get(node.class_)).or_else_get(node.class_),
            ctx=ast.Load(),
        )
    )
def _maybe_class_to_py_ast ( _ : GeneratorContext , node : MaybeClass ) -> GeneratedPyAST : assert node . op == NodeOp . MAYBE_CLASS return GeneratedPyAST ( node = ast . Name ( id = Maybe ( _MODULE_ALIASES . get ( node . class_ ) ) . or_else_get ( node . class_ ) , ctx = ast . Load ( ) , ) )
Generate a Python AST node for accessing a potential Python module
    variable name.
Generate a Python AST node for accessing a potential Python module variable name .