Lines Matching refs:null
63 * @return array<Node|string|null>
67 $target = null;
68 $direction = null;
74 if ($previous === null && $next === null) {
83 if ($node instanceof AttributesInline && ($previous === null || ($previous instanceof AbstractInline && $node->isBlock()))) {
87 if ($previous !== null && ! self::isAttributesNode($previous)) {
94 if ($next !== null && ! self::isAttributesNode($next)) {
108 private static function getPrevious(?Node $node = null): ?Node
112 return null;
120 return $node instanceof Node ? $node->previous() : null;
126 private static function getNext(?Node $node = null): ?Node
129 return null;
132 return $node instanceof Node ? $node->next() : null;