def convertMDSToCreateObjectExpression(mds, path, allowPrivate, name, pathToCodeDefinitionStrings):

    tree = convertMDSToSourceCodeTree(mds, name)

    parser = ForaNative.ModuleParser()

    result = parser.parse(
        tree,
        allowPrivate,
        ForaNative.CodeDefinitionPoint.ExternalFromStringList(
            pathToCodeDefinitionStrings(path)
            )
        )

    if len(result.errors) == 0:
        return result, symbol_package

    error = result.errors[0]

    raise ParseException.ParseException(
        ForaNative.FunctionParseError(
            error.error,
            error.location.range
            ),
        error.location.defPoint
        )
given an MDS and a path, return an expression
dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/ModuleImporter.py/convertMDSToCreateObjectExpression