Lines Matching refs:constant
49 from aidegen import constant
91 constant.IDE_CLION, constant.IDE_INTELLIJ, constant.IDE_ECLIPSE]
95 _LANGUAGE_OPTIONS = [constant.JAVA, constant.C_CPP]
193 if config.ide_name == constant.IDE_ECLIPSE:
215 if ide_util_obj.ide_name() == constant.IDE_ECLIPSE:
225 aidegen_metrics.ends_asuite_metrics(constant.EXIT_CODE_EXCEPTION)
246 ide_name = constant.IDE_NAME_DICT[args.ide[0]]
328 print(constant.WARN_MSG.format(
333 java_list = targets[constant.JAVA] if constant.JAVA in targets else None
334 c_cpp_list = targets[constant.C_CPP] if constant.C_CPP in targets else None
335 rust_list = targets[constant.RUST] if constant.RUST in targets else None
342 print(constant.WARN_MSG.format(
345 if language == constant.JAVA:
347 print(constant.WARN_MSG.format(
349 _NO_LANGUAGE_PROJECT_EXIST.format(constant.JAVA)))
353 if language == constant.C_CPP:
355 print(constant.WARN_MSG.format(
357 _NO_LANGUAGE_PROJECT_EXIST.format(constant.C_CPP)))
386 print(constant.WARN_MSG.format(
488 exit_code = constant.EXIT_CODE_NORMAL
500 constant.VERSION_FILE)
502 sys.exit(constant.EXIT_CODE_NORMAL)
506 sys.exit(constant.EXIT_CODE_NORMAL)
512 references = [constant.ANDROID_TREE] if is_whole_android_tree else []
519 exit_code = constant.EXIT_CODE_EXCEPTION
522 exit_code = constant.EXIT_CODE_AIDEGEN_EXCEPTION
525 exit_code = constant.EXIT_CODE_NORMAL
526 if exit_code is not constant.EXIT_CODE_NORMAL:
540 if not launch_ide and exit_code is constant.EXIT_CODE_NORMAL:
572 constant.IDE_DICT[config.ide_name])
573 all_langs = config.ide_name == constant.IDE_VSCODE
576 language_targets = {constant.JAVA: jtargets,
577 constant.C_CPP: ctargets,
578 constant.RUST: rtargets}