refactor arena state
commitac6d2eb919d685d88fb63c16d582ca6073e167a0
authorSteve Cao <shiqicao@fb.com>
Fri, 19 Feb 2021 05:53:16 +0000 (18 21:53 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 19 Feb 2021 05:57:24 +0000 (18 21:57 -0800)
tree98aea794b1d68579a3f06b190c2b0b7c96ce39c1
parente2995fcf00aa985ae9f5807767d860efb07ba8c4
refactor arena state

Summary: there are two identical implementations, combine them together.

Reviewed By: shayne-fletcher

Differential Revision: D26446685

fbshipit-source-id: 95f5700bd75db1282992822ec54bf8e1e671d0e7
hphp/hack/Cargo.lock
hphp/hack/src/parser/api/cargo/positioned_by_ref_parser/Cargo.toml
hphp/hack/src/parser/api/cargo/positioned_full_trivia_parser/Cargo.toml
hphp/hack/src/parser/api/positioned_by_ref_parser.rs
hphp/hack/src/parser/api/positioned_full_trivia_parser.rs
hphp/hack/src/parser/cargo/verify_parser/Cargo.toml
hphp/hack/src/parser/rust_to_ocaml.rs
hphp/hack/src/parser/syntax_by_ref/arena_state.rs [new file with mode: 0644]
hphp/hack/src/parser/syntax_by_ref/mod.rs
hphp/hack/src/parser/syntax_smart_constructors.rs