Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhutilDivinerSyntaxHighlighter

final class PhutilDivinerSyntaxHighlighter
Phabricator Technical Documentation (Remarkup)

Simple syntax highlighter for the ".diviner" format, which is just Remarkup with a specific ruleset. This should also work alright for Remarkup.

Methods

public function setConfig($key, $value)

This method is not documented.
Parameters
$key
$value
Return
wild

public function getHighlightFuture($source)

This method is not documented.
Parameters
$source
Return
wild

private function highlightBlock($source)

This method is not documented.
Parameters
$source
Return
wild

private function highlightPattern($regexp, $source, $class)

This method is not documented.
Parameters
$regexp
$source
$class
Return
wild

public function replacePattern($matches)

This method is not documented.
Parameters
$matches
Return
wild