Continue functorizing parser
commitf063a951f297620500b08fdb5a429bb77af41f60
authorEric Lippert <ericlippert@fb.com>
Fri, 27 Oct 2017 17:40:32 +0000 (27 10:40 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 27 Oct 2017 17:59:37 +0000 (27 10:59 -0700)
treea575248cc2feb3bd8630cbe6936624e57d51f91c
parentc98f5b039f08825a98297c493365240d7ecb386e
Continue functorizing parser

Summary:
The type lexer is now functorized in the kind of token it produces.

This produces an opportunity to eliminate all uses of the special-purpose minimal-token-lexing lexer module, and replace them all with lexer modules functorized in token kind.

 

Differential Revision: D6141610

fbshipit-source-id: 7b941e588337798da2e440df3a666e70029312e0
hphp/hack/src/parser/full_fidelity_declaration_parser.ml
hphp/hack/src/parser/full_fidelity_expression_parser.ml
hphp/hack/src/parser/full_fidelity_minimal_lexer.ml [deleted file]
hphp/hack/src/parser/full_fidelity_minimal_lexer.mli [deleted file]
hphp/hack/src/parser/full_fidelity_parser.ml
hphp/hack/src/parser/full_fidelity_parser_helpers.ml
hphp/hack/src/parser/full_fidelity_statement_parser.ml
hphp/hack/src/parser/full_fidelity_type_lexer.ml
hphp/hack/src/parser/full_fidelity_type_parser.ml