Searched refs:macro_ref_str (Results 1 – 1 of 1) sorted by relevance
259 def Expand(self, macro_ref_str): argument271 match = _MACRO_RE.match(macro_ref_str)272 if match is None or match.group(0) != macro_ref_str:273 raise PDDMError('Failed to parse macro reference: "%s"' % macro_ref_str)276 return self._Expand(match, [], macro_ref_str)284 def _Expand(self, macro_ref_match, macro_stack, macro_ref_str=None): argument285 if macro_ref_str is None:286 macro_ref_str = macro_ref_match.group('macro_ref')291 (macro_ref_str, self._FormatStack(macro_stack)))299 (len(macro.args), macro_ref_str,[all …]