Home | History | Annotate | Download | only in generate

Lines Matching refs:as_ref

21 def Repr(obj, as_ref=True):
31 as_ref: If True, use the short reference representation.
37 return obj.Repr(as_ref=as_ref)
44 return ('[\n%s\n]' % (',\n'.join(' %s' % Repr(elem, as_ref).replace(
51 Repr(key, as_ref).replace('\n', '\n '),
52 Repr(val, as_ref).replace('\n', '\n '))
70 def ReprIndent(name, as_ref):
71 return ' %s=%s' % (name, Repr(getattr(obj, name), as_ref).replace(
76 ',\n'.join(ReprIndent(name, as_ref)
77 for (name, as_ref) in names.iteritems()))
92 def Repr(self, as_ref=True):
116 def Repr(self, as_ref=True):
279 def Repr(self, as_ref=True):
331 def Repr(self, as_ref=True):
332 if as_ref:
335 Repr(self.imported_from, as_ref=True))
377 def Repr(self, as_ref=True):
378 if as_ref:
415 def Repr(self, as_ref=True):
416 if as_ref:
454 def Repr(self, as_ref=True):
455 if as_ref:
502 def Repr(self, as_ref=True):
504 self.kind.Repr(as_ref=True))
521 def Repr(self, as_ref=True):
522 if as_ref:
572 def Repr(self, as_ref=True):
573 if as_ref:
633 def Repr(self, as_ref=True):
634 if as_ref:
660 def Repr(self, as_ref=True):
661 if as_ref: