blob: 29bff4528c45d6aa85e00776e709458c0d1d8743 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Complex extends core::Object /*hasConstConstructor*/ {
final field core::double real;
final field core::double imaginary;
const constructor •(core::double real, core::double imaginary) self::Complex
: self::Complex::real = real, self::Complex::imaginary = imaginary, super core::Object::•()
;
method add(self::Complex other) self::Complex
;
method sub(self::Complex other) self::Complex
;
method negate() self::Complex
;
get hashCode() core::int
;
operator ==(core::Object other) core::bool
;
method toString() core::String
;
}
extension Operators on self::Complex {
operator + = self::Operators|+;
operator - = self::Operators|-;
operator unary- = self::Operators|unary-;
}
static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex
;
static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex
;
static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex
;
static method main() dynamic
;
static method implicit() dynamic
;
static method explicit() dynamic
;
static method errors(self::Complex c) void
;
static method expect(dynamic expected, dynamic actual) dynamic
;