def expand_udgarray(self, text, index): if self.handle_unsupported_macros: if index < len(text) and text[index] == '*': end = skoolmacro.parse_udgarray_with_frames(text, index)[0] else: end = skoolmacro.parse_udgarray(text, index)[0] return end, '' raise skoolmacro.UnsupportedMacroError()
def expand_udg(self, text, index): if self.handle_unsupported_macros: return skoolmacro.parse_udg(text, index)[0], '' raise skoolmacro.UnsupportedMacroError()
def expand_plot(self, text, index): if self.handle_unsupported_macros: return skoolmacro.parse_plot(text, index, self.fields) raise skoolmacro.UnsupportedMacroError()