Searched refs:restrs (Results 1 – 2 of 2) sorted by relevance
/dports/textproc/py-nltk/nltk-3.4.1/nltk/ccg/ |
H A D | api.py | 177 def restrs(self): member in Direction 194 return [('_', self.restrs())] 196 return [('_', other.restrs())] 198 if self.restrs() == other.restrs(): 206 for (var, restrs) in subs: 208 return Direction(self._dir, restrs) 278 def restrs(self): member in PrimitiveCategory 298 if restr not in other.restrs():
|
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | parser_yin.c | 443 struct lys_restr **restrs, *restr; in fill_yin_type() local 1176 restrs = &type->info.binary.length; in fill_yin_type() 1179 restrs = &type->info.num.range; in fill_yin_type() 1186 if (*restrs) { in fill_yin_type() 1196 *restrs = calloc(1, sizeof **restrs); in fill_yin_type() 1197 LY_CHECK_ERR_GOTO(!(*restrs), LOGMEM(ctx), error); in fill_yin_type() 1198 (*restrs)->expr = lydict_insert(ctx, value, 0); in fill_yin_type() 1201 if (read_restr_substmt(module, *restrs, node, unres)) { in fill_yin_type() 1205 for (j = 0; j < (*restrs)->ext_size; ++j) { in fill_yin_type() 1207 if ((*restrs)->ext[j]->flags & LYEXT_OPT_VALID) { in fill_yin_type()
|