Searched refs:macro_ref_str (Results 1 – 1 of 1) sorted by relevance
260 def Expand(self, macro_ref_str): argument272 match = _MACRO_RE.match(macro_ref_str)273 if match is None or match.group(0) != macro_ref_str:274 raise PDDMError('Failed to parse macro reference: "%s"' % macro_ref_str)277 return self._Expand(match, [], macro_ref_str)285 def _Expand(self, macro_ref_match, macro_stack, macro_ref_str=None): argument286 if macro_ref_str is None:287 macro_ref_str = macro_ref_match.group('macro_ref')292 (macro_ref_str, self._FormatStack(macro_stack)))300 (len(macro.args), macro_ref_str,[all …]