def genOutputs(self, code, match):
out = sorted((k, match.output(m)) for (k, m) in<EOL>self.collectTriggers(match.match, code).items())<EOL>out = list(map(lambda a: a[<NUM_LIT:1>], out))<EOL>return out<EOL>
Return a list out template outputs based on the triggers found in
        the code and the template they create.