Package pyx12 :: Module errh_xml :: Class errh_list
[hide private]

Class errh_list

source code

object --+
         |
        errh_list

A null error object - used for testing. Stores the current error in simple variables.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_errors(self) source code
 
reset(self) source code
int
get_cur_line(self)
Returns: Current file line number
source code
 
set_cur_line(self, cur_line) source code
 
add_isa_loop(self, seg, src) source code
 
add_gs_loop(self, seg, src) source code
 
add_st_loop(self, seg, src) source code
 
add_seg(self, map_node, seg, seg_count, cur_line, ls_id) source code
 
add_ele(self, map_node) source code
 
isa_error(self, err_cde, err_str) source code
 
gs_error(self, err_cde, err_str) source code
 
st_error(self, err_cde, err_str) source code
 
seg_error(self, err_cde, err_str, err_value=None, src_line=None) source code
 
ele_error(self, err_cde, err_str, bad_value) source code
 
close_isa_loop(self, node, seg, src) source code
 
close_gs_loop(self, node, seg, src) source code
 
close_st_loop(self, node, seg, src) source code
 
find_node(self, type)
Find the last node of a type
source code
 
get_parent(self) source code
 
get_next_sibling(self) source code
 
get_error_count(self) source code
boolean
is_closed(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

get_cur_line(self)

source code 
Returns: int
Current file line number

isa_error(self, err_cde, err_str)

source code 
Parameters:
  • err_cde (string) - ISA level error code
  • err_str (string) - Description of the error

gs_error(self, err_cde, err_str)

source code 
Parameters:
  • err_cde (string) - GS level error code
  • err_str (string) - Description of the error

st_error(self, err_cde, err_str)

source code 
Parameters:
  • err_cde (string) - Segment level error code
  • err_str (string) - Description of the error

seg_error(self, err_cde, err_str, err_value=None, src_line=None)

source code 
Parameters:
  • err_cde (string) - Segment level error code
  • err_str (string) - Description of the error

ele_error(self, err_cde, err_str, bad_value)

source code 
Parameters:
  • err_cde (string) - Element level error code
  • err_str (string) - Description of the error