Searched full:interface (Results 1 – 25 of 3563) sorted by relevance
12345678910>>...143
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 10_interfaces.rst | 21 An interface declaration declares an *interface type*, i.e., a reference 28 methods, and so implement the interface. 31 interface declaration 32 interface type 40 interface 42 Creating an instance of interface type is not possible. 44 An interface can be declared *direct extension* of one or more other 45 interfaces. In that case the interface inherits all members from the interfaces 52 instance of a class implements all methods specified by its interface(s). 54 superinterfaces implement. Interface inheritance allows objects to [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ts/ |
| D | test-interface-expected.txt | 22 "program": "test-interface.ts" 27 "program": "test-interface.ts" 37 "program": "test-interface.ts" 42 "program": "test-interface.ts" 50 "program": "test-interface.ts" 55 "program": "test-interface.ts" 72 "program": "test-interface.ts" 77 "program": "test-interface.ts" 90 "program": "test-interface.ts" 95 "program": "test-interface.ts" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/multi_layer_interface/multi_layer_interface_inheritance_override/ |
| D | multi_layer_interface_inheritance_override_ext.params.yaml | 16 …e upper-layer interface has a method. In multi-layer inheritance, the sub-interface overrides all … 18 interface GrandParentInterface { 21 interface ParentInterface extends GrandParentInterface { 24 interface ChildInterface extends ParentInterface { 40 …- desc: An upper-layer interface has multiple methods. In multi-layer inheritance, the sub-interfa… 42 interface GrandParentInterface { 46 interface ParentInterface extends GrandParentInterface { 50 interface ChildInterface extends ParentInterface { 76 …e upper-layer interface has a method. In multi-layer inheritance, the sub-interface overrides all … 78 interface GrandParentInterface { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ts/ |
| D | test-interface-expected.txt | 22 "program": "test-interface.ts" 27 "program": "test-interface.ts" 37 "program": "test-interface.ts" 42 "program": "test-interface.ts" 50 "program": "test-interface.ts" 55 "program": "test-interface.ts" 72 "program": "test-interface.ts" 77 "program": "test-interface.ts" 90 "program": "test-interface.ts" 95 "program": "test-interface.ts" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | double_excla_binding_1.ets.arkts2.json | 134 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 144 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 154 …"rule": "The ArkUI interface \"Row\" should be imported before it is used (arkui-modular-interface… 164 …"rule": "The ArkUI interface \"Slider\" should be imported before it is used (arkui-modular-interf… 174 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 184 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 194 …"rule": "The ArkUI interface \"Row\" should be imported before it is used (arkui-modular-interface… 204 …"rule": "The ArkUI interface \"Checkbox\" should be imported before it is used (arkui-modular-inte… 214 …"rule": "The ArkUI interface \"Blank\" should be imported before it is used (arkui-modular-interfa… 224 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… [all …]
|
| D | prop_decorators_and_interfaces_4.ets.arkts2.json | 134 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 144 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 154 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 164 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 174 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 184 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 194 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 204 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 214 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 224 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… [all …]
|
| D | styles_decorator_mix_1.ets.arkts2.json | 84 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 94 …"rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interfa… 104 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 114 …"rule": "The ArkUI interface \"BuilderParam\" should be imported before it is used (arkui-modular-… 124 …"rule": "The ArkUI interface \"Require\" should be imported before it is used (arkui-modular-inter… 134 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 144 …"rule": "The ArkUI interface \"Button\" should be imported before it is used (arkui-modular-interf… 154 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 164 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 174 …"rule": "The ArkUI interface \"BuilderParam\" should be imported before it is used (arkui-modular-… [all …]
|
| D | unique_names.ets | 19 interface A { 30 export interface B { 34 export interface C { 36 } // Not duplicate, interface C has two merging declarations 40 export interface B { 43 export interface C { 45 } // Not duplicate, interface C has two merging declarations 49 interface B { 55 interface C { 63 interface D { [all …]
|
| D | interface_import_1.ets.arkts2.json | 84 …"rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interfa… 94 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 104 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 114 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 124 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 134 …"rule": "The ArkUI interface \"Button\" should be imported before it is used (arkui-modular-interf… 144 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 154 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 164 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 174 …"rule": "The ArkUI interface \"Row\" should be imported before it is used (arkui-modular-interface… [all …]
|
| D | type_literals.ets.migrate.ets | 16 interface Type1 { 18 interface Type2 { 22 interface GeneratedTypeLiteralInterface_1 { 27 interface GeneratedTypeLiteralInterface_2 { 31 interface GeneratedTypeLiteralInterface_3 { 36 interface Type5<T, K> { 41 interface GeneratedTypeLiteralInterface_4 { 46 interface Type6 { 51 export interface Type7 { 55 interface GeneratedTypeLiteralInterface_5 { [all …]
|
| D | styles_decorator_struct_1.ets.arkts2.json | 114 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 124 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 134 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 144 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 154 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 164 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 174 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 184 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 194 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 204 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… [all …]
|
| D | double_dollar_binding_1.ets.arkts2.json | 54 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 64 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 74 …"rule": "The ArkUI interface \"Row\" should be imported before it is used (arkui-modular-interface… 84 …"rule": "The ArkUI interface \"Slider\" should be imported before it is used (arkui-modular-interf… 94 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 104 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 114 …"rule": "The ArkUI interface \"Row\" should be imported before it is used (arkui-modular-interface… 124 …"rule": "The ArkUI interface \"Checkbox\" should be imported before it is used (arkui-modular-inte… 134 …"rule": "The ArkUI interface \"Blank\" should be imported before it is used (arkui-modular-interfa… 144 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac…
|
| D | custom_layout.ets.arkts2.json | 394 …"rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interfa… 404 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 414 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 424 …"rule": "The ArkUI interface \"Builder\" should be imported before it is used (arkui-modular-inter… 434 …"rule": "The ArkUI interface \"ForEach\" should be imported before it is used (arkui-modular-inter… 444 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 454 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 464 …"rule": "The ArkUI interface \"Builder\" should be imported before it is used (arkui-modular-inter… 474 …"rule": "The ArkUI interface \"BuilderParam\" should be imported before it is used (arkui-modular-… 484 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… [all …]
|
| D | double_excla_binding_3.ets.arkts2.json | 24 …"rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interfa… 34 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 44 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 54 …"rule": "The ArkUI interface \"Row\" should be imported before it is used (arkui-modular-interface… 64 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 74 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac… 84 …"rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interfac…
|
| D | interface_import_4.ets.arkts2.json | 124 …"rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interfa… 134 …"rule": "The ArkUI interface \"ComponentV2\" should be imported before it is used (arkui-modular-i… 144 …"rule": "The ArkUI interface \"Local\" should be imported before it is used (arkui-modular-interfa… 154 …"rule": "The ArkUI interface \"Scroller\" should be imported before it is used (arkui-modular-inte… 164 …"rule": "The ArkUI interface \"Scroller\" should be imported before it is used (arkui-modular-inte… 174 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 184 …"rule": "The ArkUI interface \"List\" should be imported before it is used (arkui-modular-interfac… 194 …"rule": "The ArkUI interface \"Repeat\" should be imported before it is used (arkui-modular-interf… 204 …"rule": "The ArkUI interface \"RepeatItem\" should be imported before it is used (arkui-modular-in… 214 …"rule": "The ArkUI interface \"ListItem\" should be imported before it is used (arkui-modular-inte… [all …]
|
| D | provide_annotation_2.ets.arkts2.json | 24 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 34 …"rule": "The ArkUI interface \"Provide\" should be imported before it is used (arkui-modular-inter… 44 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 54 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 64 …"rule": "The ArkUI interface \"Provide\" should be imported before it is used (arkui-modular-inter… 74 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf… 84 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 94 …"rule": "The ArkUI interface \"Provide\" should be imported before it is used (arkui-modular-inter… 104 …"rule": "The ArkUI interface \"Column\" should be imported before it is used (arkui-modular-interf…
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | method-resolution-class-and-interface-in-signatures_5-expected.txt | 13 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 18 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 30 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 35 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 44 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 49 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 62 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 67 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 79 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 84 "program": "method-resolution-class-and-interface-in-signatures_5.ets" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/ |
| D | interfaces.rst | 18 An interface declaration introduces a new type. Interfaces are a common way 22 instances that implement a particular interface. 24 An interface usually contains properties and method headers: 28 interface Style { 31 interface Area { 36 The examples below illustrate a class that implements an interface: 40 // Interface: 41 interface Area { 61 Interface Properties 64 An interface property can have the form of a field, a getter, a setter, or both. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/public/ |
| D | es2panda_lib.idl.erb | 20 [Entity=Class] interface es2panda_Config {}; 21 [Entity=Class] interface es2panda_Context {}; 22 [Entity=Class] interface es2panda_Program {}; 23 [Entity=Class] interface es2panda_ExternalSource {}; 24 [Entity=Class] interface es2panda_ArkTsConfig {}; 25 [Entity=Class] interface es2panda_AstNode {}; 26 [Entity=Class] interface es2panda_FunctionSignature {}; 27 [Entity=Class] interface es2panda_SourcePosition {}; 28 [Entity=Class] interface es2panda_SourceRange {}; 29 [Entity=Class] interface es2panda_SrcDumper {}; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/superinterfaces_and_subinterfaces/verify_constant_values_subinterface_class/ |
| D | constants_union_class_in_subclass_interface_ext.params.yaml | 16 …rify whether the constant values UnionTypeClass_number remain consistent in the subclass interface. 24 interface ParentInterface { 27 interface SubInterface extends ParentInterface {} 36 …ify whether the constant values UnionTypeClass_boolean remain consistent in the subclass interface. 44 interface ParentInterface { 47 interface SubInterface extends ParentInterface {} 56 …erify whether the constant values UnionTypeClass_class remain consistent in the subclass interface. 64 interface SomeInterface { 73 interface ParentInterface { 76 interface SubInterface extends ParentInterface {} [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/generic_declarations/generic_interfaces/ |
| D | check_return_value_type.params.yaml | 16 - desc: The return value type of a generic interface method is the same as the type parameter. 18 interface GenericInterface { 31 …- desc: The return value type of a generic interface method is the same as the type parameter(no p… 33 interface GenericInterface<T> { 46 …- desc: The return value type of a generic interface method is the same as the type parameter(doub… 48 interface GenericInterface { 61 …- desc: The return value type of a generic interface method is the same as the type parameter(floa… 63 interface GenericInterface { 76 …- desc: The return value type of a generic interface method is the same as the type parameter(stri… 78 interface GenericInterface { [all …]
|
| /arkcompiler/runtime_core/taihe/test/ani_array/idl/ |
| D | array_test.taihe | 47 interface ArrayI8 { 52 interface ArrayI16 { 57 interface ArrayI32 { 62 interface ArrayI64 { 67 interface ArrayF32 { 72 interface ArrayF64 { 77 interface ArrayString { 82 interface ArrayBool { 87 interface ArrayEnum { 92 interface ArrayRecord { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/02.override-compatible_signatures/ |
| D | override_compatibility_class.params.yaml | 30 doc: Class/Interface type 42 doc: Class/Interface type 58 doc: Class/Interface type 77 doc: Class/Interface type 94 doc: Class/Interface type 108 doc: Class/Interface type 122 doc: Class/Interface type 148 doc: Class/Interface type 151 # INTERFACE, PARAMETER 153 interface IBase {} [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/interface/ |
| D | lib.ets | 16 export interface Iface { 21 export interface Iface2 { 25 export interface Iface3 { 29 export @interface Position {} 38 export interface Iface4 { 42 export interface I { 46 export interface Iface5 { 53 export interface I01 { 67 export interface I02 { 72 export interface Literal_Function_handler_Object_error { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/ |
| D | decl_with_duplicate_name_sdk.ets.arkts2.json | 234 …"rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interfa… 244 …"rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-int… 254 …"rule": "The ArkUI interface \"TextStyle\" should be imported before it is used (arkui-modular-int… 264 …"rule": "The ArkUI interface \"TextStyle\" should be imported before it is used (arkui-modular-int… 274 …"rule": "The ArkUI interface \"Color\" should be imported before it is used (arkui-modular-interfa… 284 …"rule": "The ArkUI interface \"TextStyle\" should be imported before it is used (arkui-modular-int… 294 …"rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interfa… 304 …"rule": "The ArkUI interface \"TextStyle\" should be imported before it is used (arkui-modular-int… 314 …"rule": "The ArkUI interface \"TextStyle\" should be imported before it is used (arkui-modular-int… 324 …"rule": "The ArkUI interface \"List\" should be imported before it is used (arkui-modular-interfac… [all …]
|
12345678910>>...143