def convert(aRawParse)
      result = case configuration.parse_repr
                 when :parse_tree
                   to_ptree(aRawParse)
                 when :parse_forest
                   to_pforest(aRawParse)
               end

      return result
    end
def convert(aRawParse)
      result = case configuration.parse_repr
                 when :parse_tree
                   to_ptree(aRawParse)
                 when :parse_forest
                   to_pforest(aRawParse)
               end

      return result
    end
Convert raw parse result into a more convenient representation
 (parse tree or parse forest) as specified by the configuration.
 @param aRawParse [Parser::GFGParsing]
 @return [Rley::PTree::ParseTree, Rley::SPPF::ParseForest]