Exemple #1
0
 def __init__(self, find, max_length):
     """Initiallize."""
     Construct.__init__(self)
     if not isinstance(find, list):
         find = [find]
     self.find = find
     self.max_length = max_length
Exemple #2
0
 def __init__(self, find, max_length):
     """Initiallize."""
     Construct.__init__(self)
     self.find = find
     self.max_length = max_length
Exemple #3
0
 def __init__(self, name, factoryfunc):
     Construct.__init__(self, name, self.FLAG_COPY_CONTEXT)
     self.factoryfunc = factoryfunc
     self._set_flag(self.FLAG_DYNAMIC)
Exemple #4
0
 def __init__(self, name, factoryfunc):
     Construct.__init__(self, name, self.FLAG_COPY_CONTEXT)
     self.factoryfunc = factoryfunc
     self._set_flag(self.FLAG_DYNAMIC)
Exemple #5
0
	def __init__(self, name):
		Construct.__init__(self, name)
Exemple #6
0
	def __init__(self, name, find, maxLength):
		Construct.__init__(self, name)
		self.find = find
		self.maxLength = maxLength
Exemple #7
0
 def __init__(self, length=None, length_func=None, cons=None):
     Construct.__init__(self, None)
     self.length_func = length_func
     self.length = length
     self.cons = cons
Exemple #8
0
 def __init__(self, length=None, length_func=None, cons=None):
     Construct.__init__(self, None)
     self.length_func = length_func
     self.length = length
     self.cons = cons