/arkcompiler/ets_runtime/docs/ |
D | overview.md | 3 …the multi-chip platform. ArkCompiler JS Runtime provides the capability of compiling and running t… 5 …JS Runtime consists of two parts: JS compiler toolchain and JS runtime. The JS compiler toolchain … 7 Figure 1 Architecture of the JS compiler toolchain 10 The source code compiler of ArkCompiler JS Runtime receives JS source code, based on which ts2abc g… 12 Figure 2 Architecture of ArkCompiler JS Runtime 16 ArkCompiler JS Runtime runs ArkCompiler bytecode files to implement JS semantic logic. 18 **ArkCompiler JS Runtime consists of four subsystems:** 24 - **JS Execution Subsystem** 26 …JS Execution Subsystem consists of an interpreter that executes bytecodes, inline caching that sto… 28 - **JS Compiler Subsystem** [all …]
|
D | overview-zh.md | 3 方舟编译器\(ArkCompiler\)是为支持多种编程语言、多种芯片平台的联合编译、运行而设计的统一编译运行时平台。它支持包括动态类型和静态类型语言在内的多种编程语言,如JS、TS、ArkTS;它… 11 ArkCompiler的编译工具链以ArkTS/TS/JS源码作为输入,将其编译生成为abc(ArkCompiler Bytecode,即方舟字节码)文件。 36 Runtime Subsystem包含了ArkTS/TS/JS运行相关的模块: 45 - **原生支持类型** 目前业界引擎执行TS的方式是先把TS转化为JS,再运行JS源码来完成对应的语义逻辑。ArkCompiler的编译工具链编译TS源码时,会分析推导TS的类型信息并将其传递给运… 52 …安全** ArkCompiler前端编译工具链将ArkTS/TS/JS程序预先静态编译为方舟字节码,并且还提供了多重混淆能力的增强,有效地提升了开发者代码资产的安全强度。另外出于安全的考虑,Ark…
|
D | README.md | 1 # ArkCompiler JS Runtime Usage Guide
|
/arkcompiler/ets_runtime/ |
D | README.md | 1 # ArkCompiler JS Runtime 5 …JS Runtime is the default JS runtime on OpenHarmony. It supports ECMAScript libraries and efficien… 7 For more information, see [ArkCompiler JS Runtime](https://gitee.com/openharmony/docs/blob/master/e… 9 **ArkCompiler JS Runtime architecture** 17 ├─ ecmascript # Implementation of ArkCompiler JS Runtime, including the ECMAScript libr… 20 │ ├─ compiler # JS compiler 24 │ ├─ interpreter # JS interpreter 36 │ ├─ debugger # JS debugger 44 * Only the ArkCompiler bytecode files generated by ts2abc, which is the ArkCompiler JS frontend too… 60 For details about how to generate JS bytecodes, see [Using the Toolchain](docs/using-the-toolchain.…
|
/arkcompiler/ets_frontend/arkguard/src/common/ |
D | type.ts | 19 JS = '.js', enumerator 32 export const supportedRunningExtension: readonly string[] = [Extension.TS, Extension.JS]; 35 …ing[] = [Extension.DETS, Extension.ETS, Extension.DTS, Extension.TS, Extension.JS, Extension.JSON]; 38 export const supportedParsingExtension: string[] = [Extension.ETS, Extension.TS, Extension.JS, Exte…
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/ |
D | CMakeLists.txt | 25 # OPTION_SETS_STACKFUL "DEFAULT" "JS" "POOL" "JS_POOL" 66 if(option_set STREQUAL "JS") 90 OPTION_SETS_STACKFUL "JS" 116 OPTION_SETS_STACKFUL "DEFAULT" "JS" "POOL" 141 OPTION_SETS_STACKFUL "DEFAULT" "JS" "POOL" "JS_POOL" 150 OPTION_SETS_STACKFUL "DEFAULT" "JS" "POOL" "JS_POOL" 159 OPTION_SETS_STACKFUL "DEFAULT" "JS" "POOL" "JS_POOL" 168 OPTION_SETS_STACKFUL "DEFAULT" "JS" "JS_POOL" 185 OPTION_SETS_STACKFUL "DEFAULT" "JS" "POOL" "JS_POOL" 201 OPTION_SETS_STACKFUL "JS" "POOL" "JS_POOL" [all …]
|
/arkcompiler/runtime_core/static_core/docs/coroutines/ |
D | coroutines.md | 108 ## Interaction with JS runtime 110 Class JSMicroJobQueue, implementation of JobQueue interface, interacts with micro job queue in JS V… 111 Also this class should track associations between ETS promises and their counterparts in JS world. 115 `promise_map` map stores references to ETS and JS Promise objects. The references should be GC root… 116 If ETS GC moves an ETS promise it should update the reference in the map. The same is for JS GC. 118 …entation of `put` gets the associated JS instance of Promise (or creates a new one) and connects E… 126 // Get associated JS Promise instance 145 In case JS engine calls an ETS function then control should pass through JS2ETS C++ bridge. 155 // return the method which corresponds to the JS function 160 // wrap ETS promise (result) to JS promise [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/ |
D | intro.rst | 34 |JS| by adding type definitions. |TS| is well-loved by many developers as it 35 provides a more structured approach to coding in |JS|. |LANG| aims to 46 Interoperability with |JS| was a critical consideration in the |LANG| language 47 design. Many mobile app developers already have the |TS| and |JS| code and 48 libraries they would want to reuse. |LANG| has been designed for seamless |JS| 49 interoperability, making it easy for the developers to integrate the |JS| code
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/ |
D | test-namespace-enum-transformed-function.ts | 41 JS
|
/arkcompiler/ets_frontend/ets2panda/ |
D | es2panda.h | 48 JS, enumerator 63 case ScriptExtension::JS: in ToLanguage() 64 return Language(Language::Id::JS); in ToLanguage()
|
/arkcompiler/ets_frontend/ets2panda/linter/src/utils/functions/ |
D | GetScriptKind.ts | 28 return ts.ScriptKind.JS;
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/merge_local_scopes/ |
D | merge_local_scopes.ets | 68 //! CHECKER JS function calls in tree leaves, create common scope start JIT 106 //! CHECKER ETS loop (not countable) between JS function calls 140 //! CHECKER Fully unrolled and not unrolled countable loops with JS calls 182 //! CHECKER Countable loop with JS calls moved into one scope 221 //! CHECKER ETS if chain between JS function calls 264 //! CHECKER ETS if chain with JS function calls
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/ |
D | why.rst | 21 - Program stability. Dynamically typed languages like |JS| are very good at 35 runs. Back to our example, |JS| does not allow reading a property from 37 perform a runtime check, which all |JS| engines do: if the value is not 41 compiles to |JS|, any code written in |TS| has exactly the same issues as 43 |LANG| compiles the program not to |JS| but to a special execution format 206 ``strictNullChecks``. As the standard |TS| is compiled to |JS|, which
|
/arkcompiler/ets_frontend/arkguard/scripts/ |
D | obfuscate_script.js | 42 return entry.endsWith(Extension.TS) || entry.endsWith(Extension.JS);
|
D | execute_result_statistics.js | 59 …} else if ((filePath.endsWith(Extension.TS) || filePath.endsWith(Extension.JS)) && !(filePath.ends…
|
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
D | ArrayBuffer.ets | 31 * JS ArrayBuffer API-compatible class 140 * No such method in JS library, required for TypedArrays 152 * No such method in JS library, required for TypedArrays 269 * No such method in JS library, required for TypedArrays 281 * No such method in JS library, required for TypedArrays
|
/arkcompiler/ets_frontend/ets2panda/util/ |
D | options.cpp | 317 extension_ = es2panda::ScriptExtension::JS; in Parse() 345 extension_ = es2panda::ScriptExtension::JS; in Parse() 361 if (extension_ == es2panda::ScriptExtension::JS) { in Parse() 367 if (extension_ != es2panda::ScriptExtension::JS && opModule.GetValue()) { in Parse()
|
D | language.h | 30 _(JS, "js", true) \
|
D | options.h | 164 es2panda::ScriptExtension extension_ {es2panda::ScriptExtension::JS};
|
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
D | dynamicObjectLiteral.ets | 20 // JS code:
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/js_call/ |
D | js_call.ets | 291 //! CHECKER JS load and store JIT (slow) 304 //! CHECKER JS load and store JIT (fast) 327 //! CHECKER JS load and store AOT (slow) 341 //! CHECKER JS load and store AOT (fast) 459 //! CHECKER Call JS static method and access static property, JIT (slow) 473 //! CHECKER Call JS static method and access static property, JIT (fast) 496 //! CHECKER Call JS static method and access static property, AOT (slow) 508 //! CHECKER Call JS static method and access static property, AOT (fast)
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ |
D | phase.cpp | 113 case ScriptExtension::JS: in GetPhaseList()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | JSNapi接口说明.md | 1785 JSValueRef��һ�����ڱ�ʾJSֵ���ࡣ���ṩ��һЩ��ʽ�������ͷ���JS�еĸ����������ͣ����ַ��������֡�����ֵ����������ȡ�ͨ… 2544 �����ж��Ƿ�ΪJS���������͡� 2556 | boolean | ����ö�����JS���������ͣ���true������false�� | 2682 �����ж��Ƿ�ΪJS��ԭʼ�������͡� 2692 | boolean | ����ö�����JS��ԭʼ�������ͣ���true������false�� | 4127 | nativeFunc | FunctionCallback | �� | һ���ص���������JS����������غ���ʱ������������ص����� … 4161 | nativeFunc | FunctionCallback | �� | һ���ص���������JS����������غ���ʱ������������ص����� … 4448 �ṩ��һЩ��̬���������ڸ��ݲ�ͬ�Ĵ������ʹ���һ����Ӧ��JS�쳣��������һ��ָ��ö�������á� 4668 ���ڱ�ʾ�Ͳ���JS Map����ĵ��������õ��࣬���̳���ObjectRef�࣬���ṩ��һЩ����JS Map������������ 4961 �쳣�����࣬������JS�в���ʹ���һЩ�쳣�� [all …]
|
/arkcompiler/ets_frontend/es2panda/ |
D | es2panda.h | 44 JS, enumerator
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/ |
D | readme.md | 42 - `--hermes` - Hermes JS runtime tests. To run tests from the Hermes suite, specify environment v… 43 - `--test262` - Test262 JS parser and runtime tests. To run tests from the test262 suite, specify… 117 - `parser-js-ignored.txt` - list of ignored tests from JS Parser suite, applied in any configurat… 147 …ts.update-expected: True` - regenerates expected test lists (applied only for JS Parser test suite)
|