Package pyx12 :: Module error_handler :: Class err_isa
[hide private]

Class err_isa

source code

object --+    
         |    
  err_node --+
             |
            err_isa

Holds source ISA loop errors

Instance Methods [hide private]
 
__init__(self, parent, seg_data, src)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
boolean
is_closed(self) source code
 
accept(self, visitor)
Params: visitor - ref to visitor class
source code
 
add_error(self, err_cde, err_str) source code
 
close(self, node, seg, src) source code
int
get_cur_line(self)
Returns: Current file line number
source code
 
get_error_count(self) source code
 
get_error_list(self, seg_id, pre=False) source code
 
next(self)
Return the next error node
source code
 
__repr__(self)
repr(x)
source code

Inherited from err_node: get_first_child, get_id, get_next_sibling, get_parent

Inherited from err_node (private): _get_last_child

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent, seg_data, src)
(Constructor)

source code 

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

Parameters:
Overrides: object.__init__

is_closed(self)

source code 
Returns: boolean
Overrides: err_node.is_closed

accept(self, visitor)

source code 

Params: visitor - ref to visitor class

Overrides: err_node.accept

add_error(self, err_cde, err_str)

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

get_cur_line(self)

source code 
Returns: int
Current file line number
Overrides: err_node.get_cur_line

get_error_count(self)

source code 
Overrides: err_node.get_error_count

get_error_list(self, seg_id, pre=False)

source code 
Overrides: err_node.get_error_list

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)