Download the PHP package hhvm/hhast-inspect without Composer
On this page you can find all versions of the php package hhvm/hhast-inspect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hhvm/hhast-inspect
More information about hhvm/hhast-inspect
Files in hhvm/hhast-inspect
Download hhvm/hhast-inspect
More information about hhvm/hhast-inspect
Files in hhvm/hhast-inspect
Vendor hhvm
Package hhast-inspect
Short Description Tool for interactively exploring the AST of Hack programs
License MIT
Package hhast-inspect
Short Description Tool for interactively exploring the AST of Hack programs
License MIT
Please rate this library. Is it a good library?
Informations about the package hhast-inspect
HHAST-Inspect
HHAST-Inspect is a tool to generate an interactive view of a Hack program's concrete syntax tree, built using HHAST. It was previously included with HHAST, and is primarily used as a developer tool when working with HHAST, such as when working on linters or migrations (a.k.a. codemods).
Installation
- Clone this repository: git clone https://github.com/hhvm/hhast-inspect
- Install dependencies:
cd hhast-inspect; composer install
Usage
- Run
bin/hhast-inspect /path/to/source/file
; this will produce an HTML file and show the path - Open the output file in a web browser. On most systems, passing
--open
tohhast-inspect
will make it open the file automatically in your default web web browser - Click on Hack source code to select the syntax tre node, and to show information on the node and its' ancestors
- Click on one of the ancestors to highlight the ancestor - the original node remains highlighted in a different color
Example
License
HHAST-Inspect is MIT-licensed.
All versions of hhast-inspect with dependencies
PHP Build Version
Package Version
Requires
hhvm Version
^4.78
hhvm/hhast Version ^4.78
hhvm/hsl Version ^4.41
hhvm/hhvm-autoload Version ^3.0
facebook/hh-clilib Version ^2.5.0rc1
facebook/xhp-lib Version ^4.0
hhvm/hhast Version ^4.78
hhvm/hsl Version ^4.41
hhvm/hhvm-autoload Version ^3.0
facebook/hh-clilib Version ^2.5.0rc1
facebook/xhp-lib Version ^4.0
The package hhvm/hhast-inspect contains the following files
Loading the files please wait ....