public ProductionNode CreateAnyProductionTree(NodeType type, Query query) { IntPtr nodeHandle = CreateAnyProductionTreeImpl(type, query); return CreateProductionNodeObject(nodeHandle, type); }