MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / compile

Method compile

client/tool/infer_objectivec.py:22–33  ·  view source on GitHub ↗

编译执行函数 :param params: :return:

(self, params)

Source from the content-addressed store, hash-verified

20 self.sensitive_word_maps = {"inferOC": "Tool"}
21
22 def compile(self, params):
23 """
24 编译执行函数
25 :param params:
26 :return:
27 """
28 # 根据项目环境变量选择合适的xcode版本
29 XcodeSwitch.set_xcodebuild_version()
30
31 params.lang = __name__.split("_")[1]
32 self.print_log("inferOC compile start.")
33 return Infer(self.sensitive).compile(params)
34
35 def analyze(self, params):
36 """

Callers

nothing calls this directly

Calls 3

InferClass · 0.90
print_logMethod · 0.45

Tested by

no test coverage detected