def METHOD_NAME(self,
                     lk_node_expr: str,
                     node: Union[EntityType, ASTNodeType]) -> str:
    """
    Return an expression that converts ``lk_node_expr`` (an expression that
    computes a generic ``Lk_Node`` value) into the given language-specific
    public ``node`` type.
    """
    if isinstance(node, EntityType):
        node = node.element_type
        assert isinstance(node, ASTNodeType)
    result = f"Get_Node ({lk_node_expr})"
    if not node.is_root_node:
        result += f".As_{node.entity.api_name}"
    return result