Home
last modified time | relevance | path

Searched full:public (Results 1 – 25 of 5454) sorted by relevance

12345678910>>...219

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/
Dets_proxy.ets27 public getNext(): ListNode | undefined {
30 public setNext(v: ListNode): void {
34 public next?: ListNode;
35 public tag: double;
54 public getfByte(): byte { return this.fByte; }
55 public getfShort(): short { return this.fShort; }
56 public getfInt(): int { return this.fInt; }
57 public getfLong(): long { return this.fLong; }
58 public getfFloat(): float { return this.fFloat; }
59 public getfDouble(): double { return this.fDouble; }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DTuple.ets28 public override toString(): string {
35 public $0: T0
41 public override toString(): string {
49 public $0: T0
50 public $1: T1
57 public override toString(): string {
66 public $0: T0
67 public $1: T1
68 public $2: T2
76 public override toString(): string {
[all …]
DBox.ets24 public constructor() {
28 public constructor(value: T) {
37 public static box<TT>(value: TT): Box<TT> {
46 public get(): T {
53 public set(value: T): T {
61 public constructor() {
65 public constructor(value: boolean) {
74 public static box(value: boolean): BooleanBox {
83 public get(): boolean {
90 public set(value: boolean): boolean {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/fields/
Dlib.expected16 public get readonlyBoolean_(): boolean;
17 public static get staticFloat_(): number;
18 public static set staticFloat_(value: number);
19 public get number_(): number;
20 public set number_(value: number);
21 public get Number_(): number;
22 public set Number_(value: number);
23 public get double_(): number;
24 public set double_(value: number);
25 public get Double_(): number;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/declgen/
Denum-expected.txt19 public constructor(ordinal: int, value: int);
21 public static readonly Up: Direction;
23 public static readonly Down: Direction;
25 public static readonly Left: Direction;
27 public static readonly Right: Direction;
33 public getName(): String;
35 public static getValueOf(name: String): Direction;
37 public static fromValue(value: int): Direction;
39 public valueOf(): int;
41 public toString(): String;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/classes/
Dlib.expected23 public get a(): number;
24 public set a(value: number);
25 public constructor(a: number);
28 public I0Method(a: string): string;
29 public I1Method(a: number): number;
30 public get b(): number;
31 public set b(value: number);
32 public constructor(a: number, b: number);
35 public get a(): number;
36 public set a(value: number);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
DCallingMethodsTest.ets21 public void_method(a: int, b: int): void
25 public object_method(): A
31 public boolean_method(a: boolean, b: int): boolean
36 public byte_method(a: byte, b: int): byte
41 public char_method(a: char, b: int): char
46 public short_method(a: short, b: int): short
51 public int_method(): int
56 public long_method(a: long, b: int): long
61 public float_method(a: float, b: int): float
66 public double_method(a: double, b: int): double
[all …]
DAccessingObjectsFieldsTest.ets20 public member : int;
24 public member0 : boolean;
25 public member1 : byte;
26 public member2 : char;
27 public member3 : short;
28 public member4 : int;
29 public member5 : long;
30 public member6 : float;
31 public member7 : double;
32 public member8 : A;
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/
DBuiltin.ts22 public static OBJECT = 'Object';
23 public static ARRAY = 'Array';
24 public static SET = 'Set';
25 public static MAP = 'Map';
26 public static REGEXP = 'RegExp';
28 public static BUILT_IN_CLASSES = this.buildBuiltInClasses();
31 public static DUMMY_PROJECT_NAME = 'ES2015';
32 public static DUMMY_FILE_NAME = 'BuiltinClass';
34 public static BUILT_IN_CLASSES_FILE_SIGNATURE = Builtin.buildBuiltInClassesFileSignature();
35 public static OBJECT_CLASS_SIGNATURE = this.buildBuiltInClassSignature(this.OBJECT);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/debug/
DDebuggerAPI.ets19 public static native getLocalBoolean(regNumber: long): boolean
21 public static native getLocalByte(regNumber: long): byte
23 public static native getLocalShort(regNumber: long): short
25 public static native getLocalChar(regNumber: long): char
27 public static native getLocalInt(regNumber: long): int
29 public static native getLocalFloat(regNumber: long): float
31 public static native getLocalDouble(regNumber: long): double
33 public static native getLocalLong(regNumber: long): long
35 public static native getLocalObject(regNumber: long): Object
37 public static native setLocalBoolean(regNumber: long, value: boolean): void
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/benchmarks/interop_js/equality/bu_d2s/
DlibValues.ets24 public static etsNum: number = 42;
25 public static etsByte: byte = 123;
26 public static etsShort: short = 123;
27 public static etsInt: int = 123;
28 public static etsLong: long = 123;
29 public static etsFloat: float = 12.34;
30 public static etsDouble: double = 12.34;
31 public static etsBoolean: boolean = true;
32 public static etsNull: null = null;
33 public static etsUndefined: undefined = undefined;
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_explicit_field_type.ets24 public a: number = 1;
28 public b: number = 1;
61 public optBooleanProp2: boolean = true;
62 public optNumberProp2: number = 42;
63 public optStringProp2: string = "Hello";
64 public optArrayProp2: number[] = [1, 2, 3];
65 public optTupleProp2: [string, number] = ["typescript", 4];
66 public optEnumProp2: Color = Color.Green;
67 public optAnyProp2: any = { key: "value" };
68 public optVoidProp2: void = undefined;
[all …]
Dsendable_explicit_field_type.ets.migrate.ets24 public a: number = 1;
28 public b: number = 1;
89 public optBooleanProp2: boolean = true;
90 public optNumberProp2: number = 42;
91 public optStringProp2: string = "Hello";
92 public optArrayProp2: number[] = [1, 2, 3];
93 public optTupleProp2: [string, number] = ["typescript", 4];
94 public optEnumProp2: Color = Color.Green;
95 public optAnyProp2: any = { key: "value" };
96 public optVoidProp2: void = undefined;
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/graph/
DBaseExplicitGraph.ts30 public getSrcID(): NodeID {
34 public getDstID(): NodeID {
38 public getSrcNode(): BaseNode {
42 public getDstNode(): BaseNode {
46 public getKind(): Kind {
50 public setKind(kind: Kind): void {
54 public getEndPoints(): { src: NodeID; dst: NodeID } {
61 public getDotAttr(): string {
77 public getID(): NodeID {
81 public getKind(): Kind {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/bind_ops/
Dclass_bind_native_methods_test.ets17 public static native foo(): int;
18 public static native long_foo(): long;
20 public bar(): int {
30 public native foo(): int;
31 public native long_foo(): long;
44 public native foo(): int;
45 public native long_foo(): long;
51 public native foo(): int;
52 public native long_foo(): long;
65 public native foo(x: int, y: int): int;
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_errors.h23 class BuiltinsError : public base::BuiltinsBase {
24 public:
32 class BuiltinsRangeError : public base::BuiltinsBase {
33 public:
40 class BuiltinsReferenceError : public base::BuiltinsBase {
41 public:
48 class BuiltinsTypeError : public base::BuiltinsBase {
49 public:
58 class BuiltinsURIError : public base::BuiltinsBase {
59 public:
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/interop/js/
DJSRuntime.ets58 public static newJSValueBoolean(value: boolean): JSValue {
62 public static newJSValueByte(value: byte): JSValue {
66 public static newJSValueChar(value: char): JSValue {
70 public static newJSValueShort(value: short): JSValue {
74 public static newJSValueInt(value: int): JSValue {
78 public static newJSValueLong(value: long): JSValue {
82 public static newJSValueFloat(value: float): JSValue {
86 public static newJSValueDouble(value: double): JSValue {
90 public static newJSValueString(value: String): JSValue {
94 public static newJSValueObject(value: Object): JSValue {
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/base/
DType.ts52 public static getInstance(): AnyType {
60 public getTypeString(): string {
72 public static getInstance(): UnknownType {
80 public getTypeString(): string {
99 public getName(): string {
103 public getGenericTypes(): Type[] {
107 public getTypeString(): string {
128 public getName(): string {
132 public getTypeString(): string {
144 public static getInstance(): BooleanType {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/js_extend_ets/
Djs_extend_ets.ets23 public fn(): String { return "fn_base"; }
24 public static sfn(): String { return "sfn_base"; }
26 public getAsObject(): Object { return this; }
27 public static createAsObject(): Object { return new FooDerived(); }
29 public override toString(): String {
33 public fnBase(): String { return "fn_base"; }
34 public static sfnBase(): String { return "sfn_base"; }
36 public selfFn(): String { return this.fn(); }
38 public final somethingFinal(): void { }
42 public override fn(): String { return "fn_derived"; }
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/model/
DArkExport.ts78 public getLanguage(): Language {
82 public getFrom(): string | undefined {
86 public getOriginName(): string {
90 public getExportClauseName(): string {
94 public setExportClauseType(exportClauseType: ExportType): void {
98 public getExportClauseType(): ExportType {
102 public getNameBeforeAs(): string | undefined {
106 public setArkExport(value: ArkExport | null): void {
110 public getArkExport(): ArkExport | undefined | null {
114 public isDefault(): boolean {
[all …]
DArkNamespace.ts58 public getLanguage(): Language {
62 public addNamespace(namespace: ArkNamespace): void {
66 public getNamespace(namespaceSignature: NamespaceSignature): ArkNamespace | null {
71 public getNamespaceWithName(namespaceName: string): ArkNamespace | null {
75 public getNamespaces(): ArkNamespace[] {
79 public setSignature(namespaceSignature: NamespaceSignature): void {
83 public getSignature(): NamespaceSignature {
87 public getNamespaceSignature(): NamespaceSignature {
91 public getName(): string {
95 public getCode(): string {
[all …]
DArkField.ts60 public getLanguage(): Language {
64 public getDeclaringArkClass(): ArkClass {
68 public setDeclaringArkClass(declaringClass: ArkClass): void {
76 public getCode(): string {
80 public setCode(code: string): void {
84 public getCategory(): FieldCategory {
88 public setCategory(category: FieldCategory): void {
92 public getName(): string {
96 public getType(): Type {
100 public getSignature(): FieldSignature {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/benchmarks/interop_js/get_values/bu_d2s/
DlibValuesHolder.ets17 public static etsNumber: number = 123;
18 public static etsByte: byte = 123;
19 public static etsShort: short = 123;
20 public static etsInt: int = 123;
21 public static etsLong: long = 123;
22 public static etsFloat: float = 12.34;
23 public static etsDouble: double = 12.34;
24 public static etsBoolean: boolean = true;
25 public static etsBigint: bigint = 1234567890123456789012345678901234567890n;
26 public static etsUndefined: undefined = undefined;
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/templates/
DHap.ets155 public static readonly x1: long = 0x41c64e6d;
156 public static readonly x2: long = 0xd431;
158 public static boola: boolean = false;
159 public static boolb: boolean = true;
160 public static chara: char = 88; // 'X'
161 public static charb: char = 89; // 'Y'
162 public static stra: string = 'X';
163 public static strb: string = 'Y';
164 public static bytea: byte = 24;
165 public static byteb: byte = 53;
[all …]
DTemplate.ets162 public static readonly x1: long = 0x41c64e6d;
163 public static readonly x2: long = 0xd431;
165 public static boola: boolean = false;
166 public static boolb: boolean = true;
167 public static chara: char = 88; // 'X'
168 public static charb: char = 89; // 'Y'
169 public static stra: string = 'X';
170 public static strb: string = 'Y';
171 public static bytea: byte = 24;
172 public static byteb: byte = 53;
[all …]

12345678910>>...219