34 $this->elements = $this->block->elements;
38 if ($context->get(
'IsInline') ===
false) {
39 return $this->block->validateChildren(
40 $tokens_of_children, $config, $context);
42 return $this->
inline->validateChildren(
43 $tokens_of_children, $config, $context);
validateChildren($tokens_of_children, $config, $context)
__construct($inline, $block)
Definition that allows a set of elements, and allows no children.
Definition that uses different definitions depending on context.
$block
Instance of the definition object to use when block.
Defines allowed child nodes and validates tokens against it.
$inline
Instance of the definition object to use when inline.