public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
final public static function loadAllRules()Inherited
wild |
final public function getLintID()Inherited
wild |
public function getLintName()
wild |
public function getLintSeverity()Inherited
wild |
public function getLinterConfigurationOptions()Inherited
wild |
public function setLinterConfigurationValue($key, $value)Inherited
$key | ||
$value |
wild |
public function process($root)
XHPASTNode | $root |
wild |
final public function setLinter($linter)Inherited
ArcanistXHPASTLinter | $linter |
wild |
final public function getActivePath()Inherited
wild |
final public function getOtherLocation($offset, $path)Inherited
$offset | ||
$path |
wild |
final protected function raiseLintAtPath($desc)Inherited
$desc |
wild |
final public function raiseLintAtOffset($offset, $description, $original, $replacement)Inherited
$offset | ||
$description | ||
$original | ||
$replacement |
wild |
final protected function raiseLintAtToken($token, $description, $replace)Inherited
XHPASTToken | $token | |
$description | ||
$replace |
wild |
final protected function raiseLintAtNode($node, $description, $replace)Inherited
XHPASTNode | $node | |
$description | ||
$replace |
wild |
protected function evaluateStaticBoolean($string)Inherited
Statically evaluate a boolean value from an XHP tree.
TODO: Improve this and move it to XHPAST proper?
string | $string | The "semantic string" of a single value. |
mixed | `true` or `false` if the value could be evaluated statically; `null` if static evaluation was not possible. |
protected function getAnonymousClosures($root)Inherited
Retrieve all anonymous closure(s).
Returns all descendant nodes which represent an anonymous function declaration.
XHPASTNode | $root | Root node. |
AASTNodeList |
protected function getConcreteVariableString($variable)Inherited
TODO
XHPASTNode | $variable |
string |
protected function getFunctionCalls($root, $function_names)Inherited
Retrieve all calls to some specified function(s).
Returns all descendant nodes which represent a function call to one of the specified functions.
XHPASTNode | $root | Root node. |
list<string> | $function_names | Function names. |
AASTNodeList |
final protected function getModifiers($node)Inherited
Get class/method modifiers.
XHPASTNode | $node | A node of type `n_CLASS_DECLARATION` or `n_METHOD_DECLARATION`. |
map<string, bool> | Class/method modifiers. |
public function getSuperGlobalNames()Inherited
Get PHP superglobals.
list<string> |