Introduce the basic building blocks of hackfmt
commit5756a4486fd2aa4a85d6be767934ee27b1ee2a33
authorEric Shrewsberry <eshrews@fb.com>
Sat, 5 Nov 2016 07:55:44 +0000 (5 00:55 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Sat, 5 Nov 2016 08:03:04 +0000 (5 01:03 -0700)
tree130478300aad151c832affde11cd230d6bfdc6b5
parentb675e86adf8daa36cd137eafd42fb092647a1c2a
Introduce the basic building blocks of hackfmt

Summary: Modeled after dartfmt - (with a good writeup here http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/) this diff serves as a starting point.

Differential Revision: D3927732

fbshipit-source-id: f23930636bb665cbcc782352e847b7a5ef96dec6
hphp/hack/src/full_fidelity/full_fidelity_source_text.ml
hphp/hack/src/hackfmt.ml [new file with mode: 0644]
hphp/hack/src/hackfmt/chunk.ml [new file with mode: 0644]
hphp/hack/src/hackfmt/hack_format.ml [new file with mode: 0644]
hphp/hack/src/hackfmt/rule.ml [new file with mode: 0644]
hphp/hack/src/hackfmt/span.ml [new file with mode: 0644]