public static function build()
public static function build()
Builds XHPAST automatically.
Attempts to build the XHPAST binary automatically.
Return
| void |
public static function getBuildInstructions()
public static function getBuildInstructions()
Returns human-readable instructions for building XHPAST.
Return
| string |
public static function getParserFuture($data)
public static function getParserFuture($data)
Constructs an ExecFuture for XHPAST.
Parameters
| wild | $data | Data to pass to the future. |
Return
| ExecFuture |
public static function getPath()
public static function getPath()
Returns the path to the XHPAST binary.
Return
| string |
public static function getVersion()
public static function getVersion()
Returns the XHPAST version.
Return
| string |
public static function isAvailable()
public static function isAvailable()
Checks if XHPAST is built and up-to-date.
Return
| bool |