Change the Aast Shape from shapemap to list
commit9d07bf1012e6c92870529f19055f2d115d2ade95
authorThomas Jiang <thomasjiang@fb.com>
Tue, 18 Dec 2018 07:40:26 +0000 (17 23:40 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 18 Dec 2018 07:44:01 +0000 (17 23:44 -0800)
tree0eb78eb24c54928c769e737bd1d46563831e1755
parent556f5df181094d24bc0d19a89d2c0922e0dcb536
Change the Aast Shape from shapemap to list

Summary:
Change the representation of shapes in the Aast from a shape field ShapeMap to a shape field list
- The ast representation retains ordering information of the shape fields which is important for evaluation order in codegen

Reviewed By: Wilfred

Differential Revision: D13439822

fbshipit-source-id: b7a9916e13df7242bccfcb680ccdd264261bbb5c
hphp/hack/src/annotated_ast/aast.ml
hphp/hack/src/annotated_ast/aast_mapper.ml
hphp/hack/src/ast/ast_defs.ml
hphp/hack/src/naming/ast_to_nast.ml
hphp/hack/src/naming/naming.ml
hphp/hack/src/naming/nast.ml
hphp/hack/src/naming/nast_pos_mapper.ml
hphp/hack/src/typing/nastCheck.ml
hphp/hack/src/typing/nastInitCheck.ml
hphp/hack/src/typing/typing.ml