Builds a PhraseQuery object from a TokenizedPhraseQueryNode object.
Builds some kind of object from a query tree.