Home
last modified time | relevance | path

Searched refs:is_restriction (Results 1 – 14 of 14) sorted by relevance

/dports/textproc/py-xmlschema/xmlschema-1.8.2/tests/validators/
H A Dtest_wildcards.py212 self.assertTrue(any1.is_restriction(any1))
213 self.assertFalse(any1.is_restriction(any2))
215 self.assertTrue(any2.is_restriction(any1))
216 self.assertTrue(any2.is_restriction(any2))
218 self.assertTrue(any3.is_restriction(any1))
219 self.assertTrue(any3.is_restriction(any2))
220 self.assertTrue(any3.is_restriction(any3))
229 self.assertTrue(any1.is_restriction(any1))
230 self.assertTrue(any2.is_restriction(any1))
231 self.assertTrue(any3.is_restriction(any1))
[all …]
H A Dtest_global_maps.py91 all_model_type.content.is_restriction(all_model_type.base_type.content)
H A Dtest_xsdbase.py653 self.assertTrue(self.schema.types['fooType'].is_restriction())
654 self.assertFalse(self.schema.types['barExtType'].is_restriction())
/dports/textproc/py-xmlschema/xmlschema-1.8.2/xmlschema/validators/
H A Dgroups.py605 return self.is_restriction(other[0], check_occurs)
608 return self[0].is_restriction(other[0], check_occurs)
632 return any(e.is_restriction(other, False) for e in self)
639 elif item.min_occurs == 0 or item.is_restriction(other, False):
1310 return self.is_restriction(other[0], check_occurs)
1313 return self[0].is_restriction(other[0], check_occurs)
1332 if item is not None and item.is_restriction(other_item, check_occurs):
1345 if item is not None and item.is_restriction(other_item, check_occurs):
1381 if item.is_restriction(other_item, check_occurs=False):
1420 if item.is_restriction(other_item, check_occurs=False):
[all …]
H A Dglobal_maps.py694 and not group.is_restriction(group.redefine):
710 if not xsd_type.content.is_restriction(base_type.content):
720 if not _group.is_restriction(base_type.content):
H A Dwildcards.py194 def is_restriction(self, other: Union[ModelParticleType, 'XsdAnyAttribute'], member in XsdWildcard
849 def is_restriction(self, other: 'XsdOpenContent') -> bool: member in XsdOpenContent
855 return self.any_element.is_restriction(other.any_element)
H A Delements.py1060 def is_restriction(self, other: ModelParticleType, check_occurs: bool = True) -> bool: member in XsdElement
1114 elif not self.is_restriction(e, check_group_items_occurs):
1128 elif self.is_restriction(e):
H A Dcomplex_types.py390 not self.open_content.is_restriction(base_type.open_content):
1007 elif not base_type.open_content.is_restriction(self.open_content):
H A Dxsdbase.py829 def is_restriction(self) -> bool: member in XsdType
H A Dattributes.py505 elif not attr.is_restriction(base_attr):
/dports/textproc/py-xmlschema/xmlschema-1.8.2/doc/
H A Dapi.rst294 is_element_only, is_derived, is_extension, is_restriction, is_key, is_qname
/dports/biology/py-biopython/biopython-1.79/Tests/
H A Dtest_Restriction.py426 self.assertTrue(batch.is_restriction(EcoRI))
/dports/graphics/photoflow/PhotoFlow-8472024f/src/vips/gmic/gmic/src/
H A Dgmic.cpp4508 bool is_double_hyphen = false, is_restriction = false; in _run() local
4533 selection.assign(); is_restriction = true; in _run()
4535 is_restriction = true; in _run()
4657 (!is_mquvx || (!is_double_hyphen && !is_restriction)) && in _run()
4685 case 'f' : if (!is_double_hyphen && !is_restriction) in _run()
4688 case 'l' : if (!is_double_hyphen && !is_restriction) in _run()
4691 case 'm' : if (!is_double_hyphen && !is_restriction) in _run()
5918 if (!is_restriction) in _run()
6466 if (is_restriction) print(images,&selection,"%s",name.data()); in _run()
6500 if (is_restriction) error(images,&selection,0,"%s",name.data()); in _run()
[all …]
/dports/biology/py-biopython/biopython-1.79/Bio/Restriction/
H A DRestriction.py2203 def is_restriction(self, y): member in RestrictionBatch