def __init__(self, parent = None):
        '''
        Constructor
        '''
        self.index = {}
        #self.matchers = OrderedDict()
        # JIT friendly
        self.matchers_list = []
        self.matchers_dict = None
        self._use_dict = False
        self.parent = parent
        if parent is not None:
            self.depth = parent.depth + 1
        else:
            self.depth = 0
def __init__ ( self , parent = None ) : self . index = { } self . matchers_list = [ ] self . matchers_dict = None self . _use_dict = False self . parent = parent if parent is not None : self . depth = parent . depth + 1 else : self . depth = 0
Constructor