Add SExpr rendering of FFP produced AST to hh_parse
commitfacdd332c817a43252e33be162526953a3004d34
authorPhilip Hölzenspies <drphil@fb.com>
Sat, 10 Feb 2018 00:05:46 +0000 (9 16:05 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 10 Feb 2018 00:23:24 +0000 (9 16:23 -0800)
treefd6f6782a6c60fd96251a37d0603581641e852f5
parente8e5e8abd8fe5b08c8ae0e31546a0b8483a76b17
Add SExpr rendering of FFP produced AST to hh_parse

Summary:
`hh_parse` had options to produce a SExpr rendering of the full fidelity parse
tree, or of the AST as produced by the legacy parser. This diff adds the option
`--full-fidelity-ast-s-expression` to give the SExpr rendering of the AST as
produced by lowering the FFP tree.

Reviewed By: ljw1004

Differential Revision: D6949941

fbshipit-source-id: 8976ab1bc4fd851f90711aa2715c3ee752e9fe14
hphp/hack/src/full_fidelity_parse.ml