Lines Matching defs:plugin
111 * Similar to addCall, but adds a plugin call
113 * @param string $plugin name of the plugin
119 public function addPluginCall($plugin, $args, $state, $pos, $match)
121 $call = ['plugin', [$plugin, $args, $state, $match], $pos];
278 * Special plugin handler
281 * An additional parameter with the plugin name is passed. The plugin's handle()
287 * @param string $pluginname name of the plugin
292 public function plugin($match, $state, $pos, $pluginname)
295 /** @var SyntaxPlugin $plugin */
296 $plugin = plugin_load('syntax', $pluginname);
297 if ($plugin != null) {
298 $data = $plugin->handle($match, $state, $pos, $this);