Exemplo n.º 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
Exemplo n.º 2
0
 def __init__(self, find, max_length):
     """Initiallize."""
     Construct.__init__(self)
     self.find = find
     self.max_length = max_length
Exemplo n.º 3
0
 def __init__(self, name, factoryfunc):
     Construct.__init__(self, name, self.FLAG_COPY_CONTEXT)
     self.factoryfunc = factoryfunc
     self._set_flag(self.FLAG_DYNAMIC)
Exemplo n.º 4
0
 def __init__(self, name, factoryfunc):
     Construct.__init__(self, name, self.FLAG_COPY_CONTEXT)
     self.factoryfunc = factoryfunc
     self._set_flag(self.FLAG_DYNAMIC)
Exemplo n.º 5
0
	def __init__(self, name):
		Construct.__init__(self, name)
Exemplo n.º 6
0
	def __init__(self, name, find, maxLength):
		Construct.__init__(self, name)
		self.find = find
		self.maxLength = maxLength
Exemplo n.º 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
Exemplo n.º 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