Home
last modified time | relevance | path

Searched refs:listsep (Results 1 – 6 of 6) sorted by relevance

/external/python/parse_type/parse_type/
Dcardinality.py51 def make_pattern(self, pattern, listsep=','): argument
68 return self.schema % (pattern, listsep, pattern)
97 listsep=','): argument
113 return builder_func(converter, pattern, listsep=listsep)
142 def with_zero_or_more(cls, converter, pattern=None, listsep=","): argument
154 many0_pattern = cardinality.make_pattern(pattern, listsep)
163 return [converter(part.strip()) for part in text.split(listsep)]
170 def with_one_or_more(cls, converter, pattern=None, listsep=","): argument
182 many_pattern = cardinality.make_pattern(pattern, listsep)
187 return [converter(part.strip()) for part in text.split(listsep)]
[all …]
Dcardinality_field.py91 listsep = ',' variable in CardinalityFieldTypeBuilder
133 listsep=cls.listsep)
Dbuilder.py83 def make_list(cls, item_converter=None, listsep=','): argument
96 listsep=listsep)
/external/python/parse_type/tests/
Dtest_cardinality.py261 parse_numbers2 = TypeBuilder.with_one_or_more(parse_number, listsep=';')
264 parse_numbers2 = TypeBuilder.with_one_or_more(parse_number, listsep=':')
322 parse_numbers2 = TypeBuilder.with_one_or_more(parse_number, listsep=';')
Dtest_cfparse.py87 listsep = ';' variable in TestParser.test_parser__can_parse_cardinality_field_many_with_own_type_builder.MyCardinalityFieldTypeBuilder
/external/python/parse_type/
DREADME.rst116 parse_numbers = TypeBuilder.with_many(parse_number, listsep=",")