Home
last modified time | relevance | path

Searched refs:target_pattern (Results 1 – 2 of 2) sorted by relevance

/build/tools/component_tools/static_check/gn_check/
Dcheck_gn_online.py106 def iter_modified_line(self, key, modified_line, target_pattern) -> None: argument
110 targets = re.finditer(target_pattern, line[2], re.M)
135 target_pattern = r"^( *)("
137 target_pattern += target
139 target_pattern += r'|'
140 target_pattern += r")[\s|\S]*?\n\1}$"
144 self.iter_modified_line(key, values, target_pattern)
Dcheck_gn.py68 target_pattern = r"^( *)("
70 target_pattern += target
72 target_pattern += r'|'
73 target_pattern += r")[\s|\S]*?\n\1}$"
81 target_pattern, file.read())