implemnented parsing of SubQuery and MethodInvoker