Page MenuHomePhabricator

final class PhutilXHPASTBinary
Arcanist Technical Documentation ()

This class is not documented.

Methods

public static function build()

Builds XHPAST automatically.

Attempts to build the XHPAST binary automatically.

Return
void

public static function getBuildInstructions()

Returns human-readable instructions for building XHPAST.

Return
string

public static function getParserFuture($data)

Constructs an ExecFuture for XHPAST.

Parameters
wild$dataData to pass to the future.
Return
ExecFuture

public static function getPath()

Returns the path to the XHPAST binary.

Return
string

public static function getVersion()

Returns the XHPAST version.

Return
string

public static function isAvailable()

Checks if XHPAST is built and up-to-date.

Return
bool