| /third_party/typescript/tests/baselines/reference/ |
| D | abstractPropertyNegative.errors.txt | 3 …actPropertyNegative.ts(13,7): error TS2515: Non-abstract class 'C' does not implement inherited ab… 4 …actPropertyNegative.ts(13,7): error TS2515: Non-abstract class 'C' does not implement inherited ab… 5 …actPropertyNegative.ts(13,7): error TS2515: Non-abstract class 'C' does not implement inherited ab… 6 …actPropertyNegative.ts(13,7): error TS2515: Non-abstract class 'C' does not implement inherited ab… 7 …r/abstractPropertyNegative.ts(15,5): error TS1244: Abstract methods can only appear within an abst… 16 …/abstractPropertyNegative.ts(38,18): error TS2676: Accessors must both be abstract or non-abstract. 17 …r/abstractPropertyNegative.ts(39,9): error TS2676: Accessors must both be abstract or non-abstract. 18 …r/abstractPropertyNegative.ts(40,9): error TS2676: Accessors must both be abstract or non-abstract. 19 …/abstractPropertyNegative.ts(41,18): error TS2676: Accessors must both be abstract or non-abstract. 27 abstract class B implements A { [all …]
|
| D | classAbstractInstantiations2.errors.txt | 1 …lassAbstractInstantiations2.ts(10,1): error TS2511: Cannot create an instance of an abstract class. 3 Cannot assign an abstract constructor type to a non-abstract constructor type. 4 …lassAbstractInstantiations2.ts(17,5): error TS2511: Cannot create an instance of an abstract class. 5 …lassAbstractInstantiations2.ts(21,1): error TS2511: Cannot create an instance of an abstract class. 7 …ractInstantiations2.ts(26,7): error TS2515: Non-abstract class 'C' does not implement inherited ab… 9 …ctInstantiations2.ts(46,5): error TS2512: Overload signatures must all be abstract or non-abstract. 10 …assAbstractInstantiations2.ts(50,5): error TS1244: Abstract methods can only appear within an abst… 18 abstract class B { 20 abstract bar() : number; 25 !!! error TS2511: Cannot create an instance of an abstract class. [all …]
|
| D | classAbstractOverloads.errors.txt | 1 …sAbstractOverloads.ts(7,5): error TS2512: Overload signatures must all be abstract or non-abstract. 2 …bstractOverloads.ts(10,14): error TS2512: Overload signatures must all be abstract or non-abstract. 3 …bstractOverloads.ts(12,14): error TS2512: Overload signatures must all be abstract or non-abstract. 5 …/classAbstractOverloads.ts(20,14): error TS2516: All declarations of an abstract method must be co… 9 abstract class A { 10 abstract foo(); 11 abstract foo() : number; 12 abstract foo(); 14 abstract bar(); 17 !!! error TS2512: Overload signatures must all be abstract or non-abstract. [all …]
|
| D | classAbstractGeneric.errors.txt | 1 …assAbstractGeneric.ts(10,7): error TS2515: Non-abstract class 'C<T>' does not implement inherited … 2 …assAbstractGeneric.ts(10,7): error TS2515: Non-abstract class 'C<T>' does not implement inherited … 3 …lassAbstractGeneric.ts(12,7): error TS2515: Non-abstract class 'D' does not implement inherited ab… 4 …lassAbstractGeneric.ts(12,7): error TS2515: Non-abstract class 'D' does not implement inherited ab… 5 …assAbstractGeneric.ts(14,7): error TS2515: Non-abstract class 'E<T>' does not implement inherited … 6 …assAbstractGeneric.ts(18,7): error TS2515: Non-abstract class 'F<T>' does not implement inherited … 10 abstract class A<T> { 13 abstract foo(): T; 14 abstract bar(t: T); 17 abstract class B<T> extends A<T> {} [all …]
|
| D | classAbstractMixedWithModifiers.errors.txt | 1 …edWithModifiers.ts(6,13): error TS1243: 'private' modifier cannot be used with 'abstract' modifier. 2 …tractMixedWithModifiers.ts(8,14): error TS1029: 'public' modifier must precede 'abstract' modifier. 3 …ctMixedWithModifiers.ts(9,14): error TS1029: 'protected' modifier must precede 'abstract' modifier. 4 …dWithModifiers.ts(10,14): error TS1243: 'private' modifier cannot be used with 'abstract' modifier. 5 …edWithModifiers.ts(12,14): error TS1243: 'static' modifier cannot be used with 'abstract' modifier. 6 …edWithModifiers.ts(13,12): error TS1243: 'static' modifier cannot be used with 'abstract' modifier. 7 …xedWithModifiers.ts(15,14): error TS1243: 'async' modifier cannot be used with 'abstract' modifier. 8 …ixedWithModifiers.ts(16,5): error TS1243: 'async' modifier cannot be used with 'abstract' modifier. 12 abstract class A { 13 abstract foo_a(); [all …]
|
| D | classAbstractDeclarations.d.errors.txt | 1 …lassAbstractKeyword/classAbstractDeclarations.d.ts(2,5): error TS1242: 'abstract' modifier can onl… 3 …ractDeclarations.d.ts(11,15): error TS2515: Non-abstract class 'CC' does not implement inherited a… 4 …ractDeclarations.d.ts(13,15): error TS2515: Non-abstract class 'DD' does not implement inherited a… 5 …ractDeclarations.d.ts(17,15): error TS2515: Non-abstract class 'FF' does not implement inherited a… 9 declare abstract class A { 10 abstract constructor() {} 12 !!! error TS1242: 'abstract' modifier can only appear on a class, method, or property declaration. 17 declare abstract class AA { 18 abstract foo(); 21 declare abstract class BB extends AA {} [all …]
|
| D | classAbstractInheritance.errors.txt | 1 …AbstractInheritance.ts(13,7): error TS2515: Non-abstract class 'CC' does not implement inherited a… 2 …AbstractInheritance.ts(15,7): error TS2515: Non-abstract class 'DD' does not implement inherited a… 3 …AbstractInheritance.ts(19,7): error TS2515: Non-abstract class 'FF' does not implement inherited a… 7 abstract class A {} 9 abstract class B extends A {} 13 abstract class AA { 14 abstract foo(); 17 abstract class BB extends AA {} 21 !!! error TS2515: Non-abstract class 'CC' does not implement inherited abstract member 'foo' from c… 25 !!! error TS2515: Non-abstract class 'DD' does not implement inherited abstract member 'foo' from c… [all …]
|
| D | classAbstractUsingAbstractMethods2.errors.txt | 1 …stractUsingAbstractMethods2.ts(2,5): error TS1244: Abstract methods can only appear within an abst… 2 …singAbstractMethods2.ts(5,7): error TS2515: Non-abstract class 'B' does not implement inherited ab… 3 …ingAbstractMethods2.ts(21,7): error TS2515: Non-abstract class 'BB' does not implement inherited a… 8 abstract foo(); 10 !!! error TS1244: Abstract methods can only appear within an abstract class. 15 !!! error TS2515: Non-abstract class 'B' does not implement inherited abstract member 'foo' from cl… 17 abstract class C extends A {} 23 abstract class E extends A { 27 abstract class AA { 28 abstract foo(); [all …]
|
| D | mixinAbstractClasses.2.js | 6 function Mixin<TBaseClass extends abstract new (...args: any) => any>(baseClass: TBaseClass): TBase… 7 …at extends from a type variable containing an abstract construct signature must also be declared '… 15 abstract class AbstractBase { 16 abstract abstractBaseMethod(): void; 21 // error expected: Non-abstract class 'DerivedFromAbstract' does not implement inherited abstract m… 25 // error expected: Cannot create an instance of an abstract class. 30 …at extends from a type variable containing an abstract construct signature must also be declared '… 40 // error expected: Non-abstract class 'DerivedFromAbstract' does not implement inherited abstract m… 43 // error expected: Cannot create an instance of an abstract class. 51 … function Mixin<TBaseClass extends abstract new (...args: any) => any>(baseClass: TBaseClass): TBa… [all …]
|
| D | mixinAbstractClasses.2.errors.txt | 1 …at extends from a type variable containing an abstract construct signature must also be declared '… 2 …tClasses.2.ts(21,7): error TS2515: Non-abstract class 'DerivedFromAbstract' does not implement inh… 3 …sses/mixinAbstractClasses.2.ts(25,1): error TS2511: Cannot create an instance of an abstract class. 11 …function Mixin<TBaseClass extends abstract new (...args: any) => any>(baseClass: TBaseClass): TBas… 12 …at extends from a type variable containing an abstract construct signature must also be declared '… 15 …at extends from a type variable containing an abstract construct signature must also be declared '… 22 abstract class AbstractBase { 23 abstract abstractBaseMethod(): void; 28 …// error expected: Non-abstract class 'DerivedFromAbstract' does not implement inherited abstract … 31 !!! error TS2515: Non-abstract class 'DerivedFromAbstract' does not implement inherited abstract me… [all …]
|
| D | classAbstractMergedDeclaration.errors.txt | 9 …ssAbstractMergedDeclaration.ts(31,1): error TS2511: Cannot create an instance of an abstract class. 10 …ssAbstractMergedDeclaration.ts(32,1): error TS2511: Cannot create an instance of an abstract class. 11 …ssAbstractMergedDeclaration.ts(33,1): error TS2511: Cannot create an instance of an abstract class. 12 …ssAbstractMergedDeclaration.ts(34,1): error TS2511: Cannot create an instance of an abstract class. 13 …ssAbstractMergedDeclaration.ts(35,1): error TS2511: Cannot create an instance of an abstract class. 14 …ssAbstractMergedDeclaration.ts(37,1): error TS2511: Cannot create an instance of an abstract class. 15 …ssAbstractMergedDeclaration.ts(38,1): error TS2511: Cannot create an instance of an abstract class. 16 …ssAbstractMergedDeclaration.ts(39,1): error TS2511: Cannot create an instance of an abstract class. 20 abstract class CM {} 24 abstract class MC {} [all …]
|
| D | classAbstractProperties.errors.txt | 1 …tractProperties.ts(5,13): error TS1243: 'private' modifier cannot be used with 'abstract' modifier. 2 …ractProperties.ts(12,13): error TS1243: 'private' modifier cannot be used with 'abstract' modifier. 6 abstract class A { 7 abstract x : number; 8 public abstract y : number; 9 protected abstract z : number; 10 private abstract w : number; 12 !!! error TS1243: 'private' modifier cannot be used with 'abstract' modifier. 14 abstract m: () => void; 16 abstract foo_x() : number; [all …]
|
| D | mixinAbstractClasses.2.types | 7 function Mixin<TBaseClass extends abstract new (...args: any) => any>(baseClass: TBaseClass): TBase… 8 >Mixin : <TBaseClass extends abstract new (...args: any) => any>(baseClass: TBaseClass) => TBaseCla… 13 …at extends from a type variable containing an abstract construct signature must also be declared '… 26 abstract class AbstractBase { 29 abstract abstractBaseMethod(): void; 34 >MixedBase : typeof AbstractBase & (abstract new (...args: any) => Mixin) 35 >Mixin(AbstractBase) : typeof AbstractBase & (abstract new (...args: any) => Mixin) 36 >Mixin : <TBaseClass extends abstract new (...args: any) => any>(baseClass: TBaseClass) => TBaseCla… 39 // error expected: Non-abstract class 'DerivedFromAbstract' does not implement inherited abstract m… 45 // error expected: Cannot create an instance of an abstract class. [all …]
|
| D | classAbstractOverloads.js | 2 abstract class A { 3 abstract foo(); 4 abstract foo() : number; 5 abstract foo(); 7 abstract bar(); 9 abstract bar(); 11 abstract baz(); 13 abstract baz(); 19 abstract class B { 20 abstract foo() : number; [all …]
|
| D | classAbstractMixedWithModifiers.js | 2 abstract class A { 3 abstract foo_a(); 5 public abstract foo_b(); 6 protected abstract foo_c(); 7 private abstract foo_d(); 9 abstract public foo_bb(); 10 abstract protected foo_cc(); 11 abstract private foo_dd(); 13 abstract static foo_d(); 14 static abstract foo_e(); [all …]
|
| D | classAbstractMixedWithModifiers.types | 2 abstract class A { 5 abstract foo_a(); 8 public abstract foo_b(); 11 protected abstract foo_c(); 14 private abstract foo_d(); 17 abstract public foo_bb(); 20 abstract protected foo_cc(); 23 abstract private foo_dd(); 26 abstract static foo_d(); 29 static abstract foo_e(); [all …]
|
| /third_party/typescript/tests/cases/fourslash/ |
| D | codeFixClassExtendAbstractGetterSetter.ts | 3 ////abstract class A { 4 //// abstract get a(): number | string; 5 //// abstract get b(): this; 6 //// abstract get c(): A; 8 //// abstract set d(arg: number | string); 9 //// abstract set e(arg: this); 10 //// abstract set f(arg: A); 12 //// abstract get g(): string; 13 //// abstract set g(newName: string); 17 ////abstract class B extends A {} [all …]
|
| D | codeFixAmbientClassExtendAbstractMethod.ts | 3 ////abstract class A { 4 //// abstract f(a: number, b: string): boolean; 5 //// abstract f(a: number, b: string): this; 6 //// abstract f(a: string, b: number): Function; 7 //// abstract f(a: string): Function; 9 //// abstract f1(this: A): number; 10 //// abstract f2(this: A, a: number, b: string): number; 12 //// abstract foo(): number; 20 `abstract class A { 21 abstract f(a: number, b: string): boolean; [all …]
|
| /third_party/libwebsockets/lib/abstract/ |
| D | README.md | 1 # Abstract protocols and transports 10 "abstract protocols" and "abstract transports". 12  15 chunks of code hidden behind "ops" structs... the "abstract protocol" 19 The "abstract transport" implementation is responsible for sending 23 In the system, both the abstract protocols and transports are 34 any network. The abstract protocol itself has no relationship 47 The public api for defining abstract protocols and transports is 50 …- [abstract.h](https://libwebsockets.org/git/libwebsockets/tree/include/libwebsockets/abstract/abs… 51 …- [protocols.h](https://libwebsockets.org/git/libwebsockets/tree/include/libwebsockets/abstract/pr… [all …]
|
| /third_party/typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/ |
| D | classAbstractInstantiations2.ts | 5 abstract class B { 7 abstract bar() : number; 13 var AA: typeof A = BB; // error, AA is not of abstract type. 26 class C extends B { } // error -- not declared abstract 28 abstract class D extends B { } // okay 30 class E extends B { // okay -- implements abstract method 34 abstract class F extends B { 35 abstract foo() : number; 39 abstract class G { 40 abstract qux(x : number) : string; [all …]
|
| D | classAbstractOverloads.ts | 1 abstract class A { 2 abstract foo(); 3 abstract foo() : number; 4 abstract foo(); 6 abstract bar(); 8 abstract bar(); 10 abstract baz(); 12 abstract baz(); 18 abstract class B { 19 abstract foo() : number; [all …]
|
| D | classAbstractMixedWithModifiers.ts | 1 abstract class A { 2 abstract foo_a(); 4 public abstract foo_b(); 5 protected abstract foo_c(); 6 private abstract foo_d(); 8 abstract public foo_bb(); 9 abstract protected foo_cc(); 10 abstract private foo_dd(); 12 abstract static foo_d(); 13 static abstract foo_e(); [all …]
|
| /third_party/typescript/tests/cases/compiler/ |
| D | abstractPropertyNegative.ts | 6 abstract class B implements A { 7 abstract prop: string; 8 public abstract readonly ro: string; 9 abstract get readonlyProp(): string; 10 abstract m(): string; 11 abstract get mismatch(): string; 12 abstract set mismatch(val: number); // error, not same type 16 abstract notAllowed: string; 22 abstract class WrongTypeProperty { 23 abstract num: number; [all …]
|
| /third_party/node/deps/npm/node_modules/es-abstract/ |
| D | README.md | 1 # es-abstract <sup>[![Version Badge][npm-version-svg]][package-url]</sup> 13 ECMAScript spec abstract operations. 14 …ions of the spec conflict, the default export will be the latest version of the abstract operation. 15 All abstract operations will also be available under an `es5`/`es2015`/`es2016` entry point, and ex… 20 var ES = require('es-abstract'); 30 [package-url]: https://npmjs.org/package/es-abstract 31 [npm-version-svg]: http://versionbadg.es/ljharb/es-abstract.svg 32 [travis-svg]: https://travis-ci.org/ljharb/es-abstract.svg 33 [travis-url]: https://travis-ci.org/ljharb/es-abstract 34 [deps-svg]: https://david-dm.org/ljharb/es-abstract.svg [all …]
|
| /third_party/python/Doc/library/ |
| D | abc.rst | 1 :mod:`abc` --- Abstract Base Classes 5 :synopsis: Abstract base classes according to :pep:`3119`. 15 This module provides the infrastructure for defining :term:`abstract base 16 classes <abstract base class>` (ABCs) in Python, as outlined in :pep:`3119`; 33 an abstract base class can be created by simply deriving from :class:`ABC` 44 One may also define an abstract base class by passing the metaclass 57 Metaclass for defining Abstract Base Classes (ABCs). 92 You can also override this method in an abstract base class: 144 :meth:`~iterator.__iter__`, as an abstract method. The implementation given 146 is also part of the ``MyIterable`` abstract base class, but it does not have [all …]
|