Lines Matching refs:def
311 foreach ($module->info as $name => $def) {
394 $def = false;
415 if (!$def && $new_def->standalone) {
416 $def = $new_def;
417 } elseif ($def) {
420 $def->mergeIn($new_def);
436 $this->attrCollections->performInclusions($def->attr);
437 $this->attrCollections->expandIdentifiers($def->attr, $this->attrTypes);
440 if (is_string($def->content_model) &&
441 strpos($def->content_model, 'Inline') !== false) {
444 $def->descendants_are_inline = true;
448 $this->contentSets->generateChildDef($def, $module);
453 if (!$def) {
458 foreach ($def->attr as $attr_name => $attr_def) {
460 $def->required_attr[] = $attr_name;
463 return $def;