Source code for pyx12.error_visitor
######################################################################
# Copyright (c)
# John Holland <john@zoner.org>
# All rights reserved.
#
# This software is licensed as described in the file LICENSE.txt, which
# you should have received as part of this distribution.
#
######################################################################
"""
Visitor - Visits an error_handler composite
"""
from __future__ import annotations
from typing import Any
[docs]
class error_visitor:
""" """
def __init__(self, fd: Any) -> None:
"""
Params: fd - target file
"""
pass
[docs]
def visit_root_pre(self, errh: Any) -> None:
"""
:param errh: Error handler
:type errh: L{error_handler.err_handler}
"""
pass
[docs]
def visit_root_post(self, errh: Any) -> None:
"""
:param errh: Error handler
:type errh: L{error_handler.err_handler}
"""
pass
[docs]
def visit_isa_pre(self, err_isa: Any) -> None:
pass
[docs]
def visit_isa_post(self, err_isa: Any) -> None:
"""
Params: err_isa - error_isa instance
"""
pass
[docs]
def visit_gs_pre(self, err_gs: Any) -> None:
pass
[docs]
def visit_gs_post(self, err_gs: Any) -> None:
"""
Params: err_gs - error_gs instance
"""
pass
[docs]
def visit_st_pre(self, err_st: Any) -> None:
pass
[docs]
def visit_st_post(self, err_st: Any) -> None:
"""
Params: err_st - error_st instance
"""
pass
[docs]
def visit_seg(self, err_seg: Any) -> None:
"""
Params: err_seg - error_seg instance
"""
pass
[docs]
def visit_ele(self, err_ele: Any) -> None:
"""
Params: err_ele - error_ele instance
"""
pass