def __str__(self):
        str = "symbol='%s'" % self.symbol
        if self.weight:
            str += "weight=%g" % self.weight

        str += ", " + Declaration.__str__(self)

        return str
Пример #2
0
    def __str__(self):
        str = "symbol='%s'" % self.symbol

        if self.phase:
            str += ", phase=%s" % self.phase

        if self.composition:
            str += ", composition=%s" % `self.composition`

        str += ", " + Declaration.__str__(self)

        return str
Пример #3
0
    def __str__(self):
        str = "symbol='%s'" % self.symbol

        if self.phase:
            str += ", phase=%s" % self.phase

        if self.composition:
            str += ", composition=%s" % ` self.composition `

        if self.range:
            str += ", parametrization range=%s" % ` self.range `

        if self.lowParameters:
            str += ", low=%s" % ` self.lowParameters `

        if self.highParameters:
            str += ", high=%s" % ` self.highParameters `

        str += ", " + Declaration.__str__(self)

        return str
 def __str__(self):
     str = "symbol='%s', " % self.symbol + Declaration.__str__(self)
     return str