Page MenuHomePhorge
Diviner libphutil Tech Docs ArcanistConsoleLintRenderer

final class ArcanistConsoleLintRenderer
libphutil Technical Documentation ()

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

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

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

final public function getRendererKey()
Inherited

This method is not documented.
Return
wild

final public static function getAllRenderers()
Inherited

This method is not documented.
Return
wild

final public function setOutputPath($path)
Inherited

This method is not documented.
Parameters
$path
Return
wild

public function supportsPatching()

ArcanistLintRenderer

Does this renderer support applying lint patches?

ArcanistConsoleLintRenderer
This method is not documented.
Return
boolTrue if patches should be applied when using this renderer.

public function willRenderResults()
Inherited

This method is not documented.
Return
wild

public function didRenderResults()
Inherited

This method is not documented.
Return
wild

public function renderResultCode($result_code)

This method is not documented.
Parameters
$result_code
Return
wild

public function handleException($ex)
Inherited

This method is not documented.
Parameters
Exception$ex
Return
wild

public function renderLintResult($result)

This method is not documented.
Parameters
ArcanistLintResult$result
Return
wild

protected function writeOut($message)
Inherited

This method is not documented.
Parameters
$message
Return
wild

public function setTestableMode($testable_mode)

This method is not documented.
Parameters
$testable_mode
Return
wild

public function getTestableMode()

This method is not documented.
Return
wild

public function promptForPatch($result, $old_path, $new_path)

This method is not documented.
Parameters
ArcanistLintResult$result
$old_path
$new_path
Return
wild

protected function renderContext($message, $data, $line_map)

This method is not documented.
Parameters
ArcanistLintMessage$message
$data
array$line_map
Return
wild

private function renderCaret($pos)

This method is not documented.
Parameters
$pos
Return
wild

protected function renderLine($line, $data, $chevron, $diff)

This method is not documented.
Parameters
$line
$data
$chevron
$diff
Return
wild

private function newOffsetMap($data)

This method is not documented.
Parameters
$data
Return
wild

private function highlightText($text)

This method is not documented.
Parameters
$text
Return
wild