Implement parsing for isset, empty, eval
commit9b82422288d05768e535d69c6dca7b2141b79a94
authorEric Lippert <ericlippert@fb.com>
Mon, 9 Jan 2017 18:36:38 +0000 (9 10:36 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 9 Jan 2017 18:55:43 +0000 (9 10:55 -0800)
treec5e739ff209f032fb42b874b13ab53d0d0927529
parent108080cf3832c29d885a7b2998eed4b59d6dd996
Implement parsing for isset, empty, eval

Summary: PHP supports built-in pseudo-functions isset, empty and eval.  We were hitherto parsing these as functions, but it may be necessary to note them as special; I've created parse tree nodes for them.

Reviewed By: KendallHopkins

Differential Revision: D4378787

fbshipit-source-id: e4090dada4267250e7e8d42b4c30bdc7f1528115
hphp/hack/src/full_fidelity/full_fidelity_expression_parser.ml
hphp/hack/src/full_fidelity/full_fidelity_pretty_printer.ml
hphp/hack/src/full_fidelity/full_fidelity_syntax.ml
hphp/hack/src/full_fidelity/full_fidelity_syntax_kind.ml
hphp/hack/src/full_fidelity/full_fidelity_token_kind.ml
hphp/hack/src/full_fidelity/js/full_fidelity_editable.js
hphp/hack/src/full_fidelity/js/full_fidelity_schema.json
hphp/hack/src/full_fidelity/php/full_fidelity_editable.php
hphp/hack/src/full_fidelity/schema/full_fidelity_schema.ml
hphp/hack/src/hackfmt/hack_format.ml