Page MenuHomePhabricator

Make the query compiler emit intermediate tokens
ClosedPublic

Authored by epriestley on Apr 12 2017, 10:43 PM.

Details

Summary

Ref T12137. Ref T12003. Ref T2632. Ref T7860. In all these tasks, we want to examine or interact with the query after it is parsed, but before it is compiled.

Make the compiler emit an intermediate parsed representation so we can do that.

(The next change fixes Phabricator for this new API.)

Test Plan

Ran unit tests, see also next change.

Diff Detail

Repository
rPHU libphutil
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.