Diviner

Class ArcanistLinter

Definedsrc/lint/linter/ArcanistLinter.php:9
GroupLinters
This class is stable: you may safely extend it.

Implements lint rules, like syntax checks for a specific language.

Tasks

Methods

public addData($path, $data)

parameterswild$path
wild$data
returnwild
This method is not documented.

protected addLintMessage(ArcanistLintMessage $message)

parametersArcanistLintMessage$message
returnwild
This method is not documented.

public addPath($path)

parameterswild$path
returnwild
This method is not documented.

public canRun()

returnwild
This method is not documented.

public didRunLinters()

returnwild
This method is not documented.

public didStopAllLinters()

returnwild
This method is not documented.

public getActivePath()

returnwild
This method is not documented.

public getCacheGranularity()

returnwild
This method is not documented.

public getCacheVersion()

returnwild
This method is not documented.

protected getConfig($key, $default = null)

parameterswild$key
wild$default
returnwild
This method is not documented.

protected getData($path)

parameterswild$path
returnwild
This method is not documented.

protected getEngine()

returnwild
This method is not documented.

public getLintMessageFullCode($short_code)

parameterswild$short_code
returnwild
This method is not documented.

public getLintMessageName($code)

parameterswild$code
returnwild
This method is not documented.

public getLintMessageSeverity($code)

parameterswild$code
returnwild
This method is not documented.

public getLintMessages()

returnwild
This method is not documented.

public getLintNameMap()

returnwild
This method is not documented.

public getLintSeverityMap()

returnwild
This method is not documented.

public abstract getLinterName()

returnwild
This method is not documented.

public getOtherLocation($offset, $path = null)

parameterswild$offset
wild$path
returnwild
This method is not documented.

public getPaths()

returnwild
This method is not documented.

public isBinaryFile($path)

parameterswild$path
returnwild
This method is not documented.

protected isCodeEnabled($code)

parameterswild$code
returnwild
This method is not documented.

public isMessageEnabled($code)

parameterswild$code
returnwild
This method is not documented.

public abstract lintPath($path)

parameterswild$path
returnwild
This method is not documented.

protected raiseLintAtLine($line, $char, $code, $desc, $original = null, $replacement = null)

parameterswild$line
wild$char
wild$code
wild$desc
wild$original
wild$replacement
returnwild
This method is not documented.

protected raiseLintAtOffset($offset, $code, $desc, $original = null, $replacement = null)

parameterswild$offset
wild$code
wild$desc
wild$original
wild$replacement
returnwild
This method is not documented.

protected raiseLintAtPath($code, $desc)

parameterswild$code
wild$desc
returnwild
This method is not documented.

public setConfig(array $config)

parametersarray$config
returnwild
This method is not documented.

public setCustomSeverityMap(array $map)

parametersarray$map
returnwild
This method is not documented.

public setEngine(ArcanistLintEngine $engine)

parametersArcanistLintEngine$engine
returnwild
This method is not documented.

public setPaths(array $paths)

parametersarray$paths
returnwild
This method is not documented.

public stopAllLinters()

returnwild
This method is not documented.

public willLintPath($path)

parameterswild$path
returnwild
This method is not documented.

public abstract willLintPaths(array $paths)

parametersarray$paths
returnwild
This method is not documented.