Home
last modified time | relevance | path

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

12345678910>>...30

/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/linter/arkanalyzer/src/core/dataflow/
DDataflowProblem.ts19 export abstract class DataflowProblem<D> {
26 abstract transferNormalEdge(srcStmt: Stmt, tgtStmt: Stmt, result: DataflowResult): boolean;
28abstract transferCallToReturnEdge(srcStmt: Stmt, tgtStmt: Stmt, result: DataflowResult): boolean;
30 abstract transferCallEdge(srcStmt: Stmt, tgtStmt: Stmt, result: DataflowResult): boolean;
32 abstract transferReturnEdge(srcStmt: Stmt, tgtStmt: Stmt, result: DataflowResult): boolean;
35 abstract getNormalFlowFunction(srcStmt: Stmt, tgtStmt: Stmt): FlowFunction<D>;
37 abstract getCallFlowFunction(srcStmt: Stmt, method: ArkMethod): FlowFunction<D>;
39abstract getExitToReturnFlowFunction(srcStmt: Stmt, tgtStmt: Stmt, callStmt: Stmt): FlowFunction<D…
41 abstract getCallToReturnFlowFunction(srcStmt: Stmt, tgtStmt: Stmt): FlowFunction<D>;
43 abstract createZeroValue(): D;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/declgen/
Dinterface-expected.txt17 abstract set id(id: number): void;
19 abstract get id(): double;
20 abstract set name(name: string): void;
22 abstract get name(): String;
23 abstract set age(age: number | undefined): void;
25 abstract get age(): Double|undefined;
26 abstract get apiUrl(): String;
31 abstract set name(name: string): void;
33 abstract get name(): String;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.subtype_to_supertype_conversions/
Dsubtype_to_supertype.params.yaml30 - doc: Abstract class :> Class
32 abstract class Base {}
53 - doc: Abstract class :> Abstract class :> Class
55 abstract class Base {}
56 abstract class Base2 extends Base {}
61 - doc: Abstract class :> Abstract class :> Class
63 abstract class Base {}
64 abstract class Base2 extends Base {}
69 - doc: Interface :> Abstract class :> Class
72 abstract class Base2 implements Base {}
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/03.abstract_methods/
Dabstract_method_override_by_abstract.ets17 desc: Overriding abstract method.
18 assert: An abstract method declaration provided by an abstract subclass can override another abstra…
22 abstract class A {
23 abstract run(): void;
26 abstract class B extends A {
27 abstract run(): void;
Dabstract_method_in_non_abstract_class.ets17 desc: Abstract method defined in non-abstract class.
18 …pile-time error must be thrown when a class contains an abstract method but is not marked abstract.
27 abstract foo(): void;
Dinstance_method_overridden_by_abstract.ets17 desc: Overriding abstract method.
18 assert: A compile-time error occurs if an abstract method overrides a non-abstract instance method
28 abstract class B extends A {
29 abstract run(): void;
Dabstract_method_without_implementation.ets17 desc: Overriding abstract method.
20 - Any non-abstract subclass of A (see Abstract Classes) does not provide
25 abstract class A {
26 abstract run(): void;
Dabstract_method_declaration_with_keywords.ets19 desc: Abstract method declaration with '{{mod}}' keyword.
22 - An abstract method is declared private
24 with the modifier abstract.
29 abstract class A {
30 {{mod}} abstract run(): void;
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DNumeric.ets21 export abstract class Numeric extends Object {
28 public abstract toByte(): byte;
35 public abstract toInt(): int;
42 public abstract toShort(): short;
49 public abstract toLong(): long;
56 public abstract toFloat(): float;
63 public abstract toDouble(): 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.ets17 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.ets17 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.ets17 desc: Non-abstract class inherited 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_override2.ts17 abstract class MyOverride {
18 abstract foo(): unknown;
19 abstract bar(): void;
22 abstract class SubOverride extends MyOverride {
23 abstract override foo(): number;
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;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/01.abstract_classes/
Dabstract_subclass_1.ets18 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.ets17 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.ets21 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/06.overriding_methods/inheriting_methods_with_override-equivalent_signatures/
Dinheritance_abstract_multiple_methods_with_same_signatures.ets17 …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/10.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/ets_frontend/ets2panda/test/ast/parser/ets/
Dlocal_class_in_classfunction.ets18 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()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/06.overriding_methods/overriding_by_instance_methods/
Dabstract_method_overridden_by_instance.ets17 desc: Overriding abstract method.
18 assert: A compile-time error occurs if an abstract method overrides a non-abstract instance method
22 abstract class A {
23 abstract run(): number;
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dmethod_inheritance.ets16 abstract class Y {
17 abstract getDataByName(name: string | number, albumUri: string): Promise<void>;
26 abstract class B {
27abstract getDataByName(name: string | number, albumUri: string): Promise<undefined> | Promise<void…
36 abstract class W {
37 abstract getDataByName(name: string | number, albumUri: string): Promise<void>;
46 abstract class BaseClass3 {
47 abstract compute(value: string): string;
56 abstract class BaseClass4 {
57 abstract setValues(x: string | number, y: boolean | number): void;
[all …]

12345678910>>...30