*/ class syntax_plugin_structgantt extends syntax_plugin_struct_table { /** @var string which class to use for output */ protected $tableclass = Gantt::class; /** * Connect lookup pattern to lexer. * * @param string $mode Parser mode */ public function connectTo($mode) { $this->Lexer->addSpecialPattern('----+ *struct gantt *-+\n.*?\n----+', $mode, 'plugin_structgantt'); } }