Add function to query coverage types
Add function to query coverage types

Summary: This function allows querying the type of an expression and not only of identifiers, and has the same interface as `query_type`.

Reviewed By: panagosg7

Differential Revision: D8694000

fbshipit-source-id: ea5f03e89f4989a71c6f96ef1671f48c4d14ffa7

AgentME/flow,JonathanUsername/flow,JonathanUsername/flow,samwgoldman/flow,claudiopro/flow,facebook/flow,mroch/flow,nmote/flow,facebook/flow,samwgoldman/flow,nmote/flow,popham/flow,popham/flow,jamesgpearce/flow,samwgoldman/flow,JonathanUsername/flow,AgentME/flow,facebook/flow,nmote/flow,samwgoldman/flow,facebook/flow,facebook/flow,JonathanUsername/flow,AgentME/flow,popham/flow,claudiopro/flow,popham/flow,jamesgpearce/flow,JonathanUsername/flow,jamesgpearce/flow,mroch/flow,mroch/flow,mroch/flow,jamesgpearce/flow,gabelevi/flow,gabelevi/flow,gabelevi/flow,samwgoldman/flow,jamesgpearce/flow,gabelevi/flow,claudiopro/flow,AgentME/flow,jamesgpearce/flow,gabelevi/flow,samwgoldman/flow,gabelevi/flow,mroch/flow,JonathanUsername/flow,samwgoldman/flow,facebook/flow,popham/flow,mroch/flow,JonathanUsername/flow,nmote/flow,nmote/flow,claudiopro/flow,claudiopro/flow,AgentME/flow,nmote/flow,mroch/flow,jamesgpearce/flow,popham/flow,nmote/flow,facebook/flow,popham/flow,gabelevi/flow