MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / parse_swift_error

Method parse_swift_error

xclog_parser.py:131–138  ·  view source on GitHub ↗
(self, line: str)

Source from the content-addressed store, hash-verified

129 return module
130
131 def parse_swift_error(self, line: str):
132 regexp_str: Optional[str] = None
133 if not line.startswith('/'): return
134 if self.verbosity == 1: regexp_str = r'\:\s+(error)\:'
135 if self.verbosity == 2: regexp_str = r'\:\s+(error|warning)\:'
136 if self.verbosity == 3: regexp_str = r'\:\s+(error|warning|note)\:'
137 if not (regexp_str and re.search(regexp_str, line)): return
138 echo(line)
139
140 def parse_swift_driver_module(self, line: str):
141 # match cases 1:

Callers

nothing calls this directly

Calls 1

echoFunction · 0.85

Tested by

no test coverage detected