Lines Matching refs:self
68 def __init__(self, tool, max_sources=99):
69 self.format = self.tool_color + (" [%8s] " % tool) \
70 + self.pfx_color + "%s" \
71 + self.srcs_color + "%s" \
72 + self.arrow_color + " -> " \
73 + self.tgts_color + "%s" \
75 self.max_sources = max_sources
77 def __call__(self, target, source, env, for_signature=None):
79 source = source[0:self.max_sources]
125 return self.format % (com_pfx, fmt(srcs), fmt(tgts))