Rename elaborate_id to from_ast_name for Hhbc_id.Class
commit83c8f520a635896b9bee41d737eae214fc01a3a0
authorThomas Jiang <thomasjiang@fb.com>
Tue, 5 Nov 2019 21:25:19 +0000 (5 13:25 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 5 Nov 2019 21:31:31 +0000 (5 13:31 -0800)
tree2191360c47d03af3a38960bd71fb52ce73963af1
parentcba8ed8903844894f7b57545e733e621eeed51bf
Rename elaborate_id to from_ast_name for Hhbc_id.Class

Summary:
Another diff to clean up hhbc_id. Since we weren't using pos anyway, was asked to cut the dependency to ast_defs from hhbc_id.

We weren't using `Class.from_ast_name` so to make `Class` consistent with everything else, rename `elaborate_id` to `from_ast_name`.

Reviewed By: kmeht

Differential Revision: D18256349

fbshipit-source-id: 693d7aedb3d5ebf17095972174299ee18fd847b5
14 files changed:
hphp/hack/src/hhbc/ast_constant_folder.ml
hphp/hack/src/hhbc/closure_convert.ml
hphp/hack/src/hhbc/emit_attribute.ml
hphp/hack/src/hhbc/emit_class.ml
hphp/hack/src/hhbc/emit_expression.ml
hphp/hack/src/hhbc/emit_statement.ml
hphp/hack/src/hhbc/emit_type_constant.ml
hphp/hack/src/hhbc/emit_type_hint.ml
hphp/hack/src/hhbc/emit_typedef.ml
hphp/hack/src/hhbc/emit_xhp.ml
hphp/hack/src/hhbc/hhbc_hhas.ml
hphp/hack/src/hhbc/hhbc_id.ml
hphp/hack/src/hhbc/hhbc_id.mli
hphp/hack/src/hhbc/interceptable.ml