1<?php 2 3namespace dokuwiki\plugin\prosemirror\parser; 4 5class SyntaxTreeBuilder 6{ 7 /** 8 * Expects the array decoded from prosemirror's JSON 9 * 10 * @param array $prosemirrorData 11 * 12 * @return Node 13 */ 14 public static function parseDataIntoTree($prosemirrorData) 15 { 16 $rootNode = new RootNode($prosemirrorData); 17// var_dump($rootNode); 18 return $rootNode; 19 } 20} 21