Home
last modified time | relevance | path

Searched full:abstract (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_abstract_mapping.def16 /* Mapping between abstract maple machine IR and machine operation code of X86_64*/
18 DEFINE_MAPPING(abstract::MOP_undef, x64::MOP_begin)
21 DEFINE_MAPPING(abstract::MOP_copy_ri_8, x64::MOP_movb_i_r)
22 DEFINE_MAPPING(abstract::MOP_copy_ri_16, x64::MOP_movw_i_r)
23 DEFINE_MAPPING(abstract::MOP_copy_ri_32, x64::MOP_movl_i_r)
24 DEFINE_MAPPING(abstract::MOP_copy_ri_64, x64::MOP_movq_i_r)
25 DEFINE_MAPPING(abstract::MOP_copy_rr_8, x64::MOP_movb_r_r)
26 DEFINE_MAPPING(abstract::MOP_copy_rr_16, x64::MOP_movw_r_r)
27 DEFINE_MAPPING(abstract::MOP_copy_rr_32, x64::MOP_movl_r_r)
28 DEFINE_MAPPING(abstract::MOP_copy_rr_64, x64::MOP_movq_r_r)
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dlocal_class_in_classfunction.sts18 abstract class AbstractLocalClass{}
31 abstract final class AbstractFinalLocalClass{}
33 abstract class AbstractLocalClass2{
38 abstract class AbstractLocalClass3{
39 abstract override method1()
40 abstract method2(){}
45 abstract method3()
56 /* @@? 31:53 Error TypeError: Cannot use both 'final' and 'abstract' modifiers. */
57 /* @@? 36:37 Error TypeError: AbstractLocalClass2 is abstract therefore cannot be instantiated. */
58 /* @@? 39:13 Error TypeError: Invalid method modifier(s): an abstract method can't have private, ov…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/03.abstract_methods/
Dabstract_method_override_by_abstract.sts17 desc: Overriding abstract method.
18 assert: An abstract class can override an abstract method by providing another abstract method decl…
22 abstract class A {
23 abstract run(): void;
26 abstract class B extends A {
27 abstract run(): void;
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DNumeric.sts21 export abstract class Numeric extends Object {
28 public abstract byteValue(): byte;
35 public abstract intValue(): int;
42 public abstract shortValue(): short;
49 public abstract longValue(): long;
56 public abstract floatValue(): float;
63 public abstract doubleValue(): double;
69 export abstract class Integral extends Numeric {}
74 export abstract class Floating extends Numeric {}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/04.class_implementation_clause/
Dabstract_method_inheritance.sts17 desc: Abstract class inherited abstract methods from superinterface.
18abstract, all the abstract member methods of each direct superinterface must be implemented either…
22 abstract class A implements C {
Dabstract_method_multiple_inheritance.sts17 desc: Abstract class inherited abstract methods from superinterface.
18abstract, all the abstract member methods of each direct superinterface must be implemented either…
22 abstract class A implements B, C {
Dabstract_method_inheritance_by_non_abstract_class.sts17 desc: Non-abstract class inherited abstract methods from superinterface.
18abstract, all the abstract member methods of each direct superinterface must be implemented either…
Dabstract_method_override.sts17 desc: Class overrides abstract methods from superinterface.
18abstract, all the abstract member methods of each direct superinterface must be implemented either…
Dabstract_method_multiple_override.sts17 desc: Class overrides abstract methods from superinterface.
18abstract, all the abstract member methods of each direct superinterface must be implemented either…
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-keyword-identify3.ts17 var abstract = 1; variable
18 abstract = 2;
19 abstract++;
21 abstract class C {
22 abstract = 1; property in C
23 abstract a;
Dtest_override3.ts17 abstract class MyOverride1 {
18 abstract foo(): unknown;
19 abstract bar(): void;
22 abstract class SubOverride1 extends MyOverride1 {
23 override abstract foo(): number;
Dtest_override2.ts17 abstract class MyOverride {
18 abstract foo(): unknown;
19 abstract bar(): void;
22 abstract class SubOverride extends MyOverride {
23 abstract override foo(): number;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/01.abstract_classes/
Dabstract_subclass_1.sts18 Subclasses of an abstract class can be non-abstract or in turn abstract.
19 A non-abstract subclass of an abstract superclass can be instantiated.
20 As a result, a constructor for the abstract class, and field initializers
24 abstract class A {
Dabstract_subclass.sts17 desc: Subclasses of an abstract class can be non-abstract or in turn abstract.
20 abstract class A {}
21 abstract class B extends A {}
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dstandardize.cpp65 MOperator mOp = abstract::MOP_undef; in AddressMapping()
68 mOp = isInt ? abstract::MOP_copy_rr_8 : abstract::MOP_undef; in AddressMapping()
71 mOp = isInt ? abstract::MOP_copy_rr_16 : abstract::MOP_undef; in AddressMapping()
74 mOp = isInt ? abstract::MOP_copy_rr_32 : abstract::MOP_copy_ff_32; in AddressMapping()
77 mOp = isInt ? abstract::MOP_copy_rr_64 : abstract::MOP_copy_ff_64; in AddressMapping()
82 CHECK_FATAL(mOp != abstract::MOP_undef, "do two address mapping failed"); in AddressMapping()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/test_ets_evaluate/abstract_class_1/
Dabstract_class_1.base.sts21 export abstract class A {
23 public abstract return_x(): int;
26 export abstract class B extends A {
28 public abstract return_y(): int
31 export abstract class C extends B {
33 public abstract return_z(): int
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/inheriting_methods_with_override-equivalent_signatures/
Dinheritance_abstract_multiple_methods_with_same_signatures.sts17 …Inherit multiple methods with override-equivalent signatures, but method in superclass is abstract.
18abstract method declared in a superclass of C and inherited by C that is override-equivalent with …
22 abstract class A {
23 abstract m(): int;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/09.final_classes_and_methods/02.final_methods/
Dfm.params.yaml124 # final cannot be abstract
127 abstract class A {
128 abstract final meth(s: string, n: number): string; // CTE
133 # final cannot be abstract
137 final abstract meth(s: string, n: number): string; // CTE
142 # final cannot be abstract
145 abstract class A {
146 abstract meth(s: string, n: number): string;
149 final abstract meth(s: string, n: number): string; // CTE
168 abstract class A {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/02.required_utility_type/
Drequired_method.sts19 Using abstract class with abstract method as T for Required<T>.
20 There is no abstract method implemented at all.
24 abstract class AC {
26 abstract foo()
Drequired_method_1.sts18 Using abstract class with abstract method as T for Required<T>.
19 Abstract method is implemented during the initialization.
22 abstract class AC {
24 abstract foo():void
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/01.partial_utility_type/
Dpartial_method.sts18 Using abstract class with abstract method as T for Partial<T>.
20 There is no abstract method implemented at all.
24 abstract class AC {
26 abstract foo()
Dpartial_method2.sts19 Using abstract class with abstract method as T for Partial<T>.
21 Abstract method is implemented.
25 abstract class AC {
27 abstract foo()
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dgetter_setter_access_modifiers.sts16 abstract class AbstractClass {
20 abstract get age(): int;
21 abstract set age(a: int);
22 abstract set value(v: int);
23 abstract get value(): int;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/09.classes/abstract-class-inheritance/
Dabstract-class-inheritance-003.sts21 abstract class A {
25 abstract class B1 extends A {
29 abstract class B2 extends A {
33 abstract class C1 extends B1 {
43 abstract class C2 extends B2 {
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/src/cli/
DCLI.ts19 export abstract class CLI<OptionsT> {
34 abstract doRead(): string[];
36 abstract doInit(): Command;
38 abstract doOptions(opts: OptionValues): OptionsT;
40 abstract doValidate(opts: OptionsT): Error | undefined;

12345678910>>...20