def _maybe_parse_macro(self):
if self._current_token.value != '<STR_LIT:%>':<EOL><INDENT>return False, None<EOL><DEDENT>location = self._current_location()<EOL>self._advance_one_token()<EOL>scoped_name = self._parse_selector(allow_periods_in_scope=True)<EOL>with utils.try_with_location(location):<EOL><INDENT>macro = self._delegate.macro(scoped_name)<EOL><DEDENT>return True, macro<EOL>
Try to parse an macro (%scope/name).