def resolve_decls_from_files(pathes, root):
    decls = []
    for path in pathes:
        full_path = os.path.join(root, path)
        L.info("parse %s" % full_path)
        decls.extend(PXDParser.parse_pxd_file(full_path))
    return _resolve_decls(decls)
Exemple #2
0
def resolve_decls_from_files(pathes, root):
    decls = []
    for path in pathes:
        full_path = os.path.join(root, path)
        L.info("parse %s" % full_path)
        decls.extend(PXDParser.parse_pxd_file(full_path))
    return _resolve_decls(decls)
Exemple #3
0
def resolve_decls_from_files_single_thread(pathes, root):
    decls = []
    for k, path in enumerate(pathes):
        full_path = os.path.join(root, path)
        if k % 50 == 0: 
            L.log(25, "parsing progress %s out of %s" % (k, len(pathes)))
        decls.extend(PXDParser.parse_pxd_file(full_path))
    return _resolve_decls(decls)
Exemple #4
0
def resolve_decls_from_files_single_thread(pathes, root):
    decls = []
    for k, path in enumerate(pathes):
        full_path = os.path.join(root, path)
        if k % 50 == 0:
            L.log(25, "parsing progress %s out of %s" % (k, len(pathes)))
        decls.extend(PXDParser.parse_pxd_file(full_path))
    return _resolve_decls(decls)
Exemple #5
0
def resolve_decls_from_string(pxd_in_a_string):
    return _resolve_decls(PXDParser.parse_str(pxd_in_a_string))
Exemple #6
0
def resolve_decls_from_string(pxd_in_a_string):
    return _resolve_decls(PXDParser.parse_str(pxd_in_a_string))