1<?php 2 3namespace dokuwiki\plugin\prosemirror\parser; 4 5interface InlineNodeInterface 6{ 7 public function __construct($data, Node $parent, Node $previous = null); 8 9 /** 10 * If this node has that mark, increase its taillength and call this method on the previous node 11 * 12 * @param string $markType 13 * 14 * @return void 15 */ 16 public function increaseMark($markType); 17 18 /** 19 * Get the mark's taillength on the first node to which this mark applies 20 * 21 * @param string $markType 22 * 23 * @return int|null null if the mark doesn't apply to this node or the marks taillength on the first node 24 */ 25 public function getStartingNodeMarkScore($markType); 26} 27