/arkcompiler/ets_runtime/docs/ |
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程序预先静态编译为方舟字节码,并且还提供了多重混淆能力的增强,有效地提升了开发者代码资产的安全强度。另外出于安全的考虑…
|
D | overview.md | 39 …- Others: asynchronous work queues, TypeScript (TS) type loading, and JS native APIs (JSNAPIs) for… 43 - ArkCompiler JS Runtime is designed to provide a JS/TS application execution engine for OpenHarmon… 45 …erformance and security, ArkCompiler JS Runtime statically pre-compiles JS/TS programs into ArkCom… 47 …TS. The common way to process TS in the industry is to convert TS into JS and execute JS code with… 51 …TS/C++: In the API implementation, it is common for C/C++ code to access and operate TS objects in…
|
/arkcompiler/ets_runtime/test/aottest/vtable/break_inherit_info/break_inherit_info_on_object/ |
D | expect_output.txt | 14 Before breaking, B's ihclass is TS: true 15 Before breaking, B's ihclass has TS inherit info: true 17 After breaking, b's hclass is TS: false 18 After breaking, b's hclass has TS inherit info: false
|
/arkcompiler/ets_runtime/test/aottest/vtable/break_inherit_info/break_inherit_info_on_prototype/ |
D | expect_output.txt | 14 Before breaking, B's ihclass has TS inherit info: true 16 After breaking, B's ihclass has TS inherit info: false
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | compilerImpl.cpp | 42 …bool isTypeExtractorEnabled = ((program->Extension() == ScriptExtension::TS) && options.typeExtrac… in Compile() 74 if (program->Extension() == ScriptExtension::TS) { in Compile()
|
D | function.cpp | 176 if (decl->IsConstructor() && pg->Binder()->Program()->Extension() != ScriptExtension::TS) { in CompileFunction()
|
/arkcompiler/ets_frontend/testTs/ |
D | README.md | 4 1. skip_tests.json:avoids code files and does not perform operations on TS files stored in the file. 5 2. import_tests.json:Is the path to the TS code file where import files are stored to add import fi…
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/ |
D | test-namespace-enum-transformed-function.ts | 40 TS, enumerator
|
/arkcompiler/ets_frontend/es2panda/ |
D | es2panda.cpp | 40 if (parser_->Extension() == ScriptExtension::TS) { in Compiler() 85 if (ast.Extension() == ScriptExtension::TS && options.enableTypeCheck) { in Compile() 91 if (ast.Extension() == ScriptExtension::TS) { in Compile()
|
D | es2panda.h | 45 TS, enumerator
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | expressionParser.cpp | 149 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::LITERAL_I… in ParseTsAsExpression() 168 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATO… in ParseExpression() 262 … if (Extension() == ScriptExtension::TS && (flags & ExpressionParseFlags::ALLOW_TS_PARAM_TOKEN) && in ParseArrayExpression() 392 Extension() == ScriptExtension::TS); in ParseArrowFunctionExpressionBody() 558 if (Extension() == ScriptExtension::TS && in ParseCoverParenthesizedExpressionAndArrowParameterList() 570 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATO… in ParseCoverParenthesizedExpressionAndArrowParameterList() 588 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATO… in ParseCoverParenthesizedExpressionAndArrowParameterList() 618 if (Extension() == ScriptExtension::TS && ((context_.Status() & ParserStatus::FUNCTION_PARAM) || in ParseCoverParenthesizedExpressionAndArrowParameterList() 827 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().KeywordType() == lexer::TokenType::KE… in ParseAssignmentExpression() 907 if (Extension() == ScriptExtension::TS) { in ParseNewExpression() [all …]
|
D | statementParser.cpp | 200 if (Extension() == ScriptExtension::TS) { in ParseStatement() 568 if (Extension() == ScriptExtension::TS) { in ParseConstStatement() 631 if (Extension() == ScriptExtension::TS && IsTsDeclarationStatement()) { in ParsePotentialExpressionStatement() 773 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATO… in ParseTsInterfaceDeclaration() 972 if (!allowBreak && Extension() == ScriptExtension::TS) { in ParseBreakStatement() 1015 if (Extension() == ScriptExtension::TS && in ParseContinueStatement() 1025 if (Extension() == ScriptExtension::TS) { in ParseContinueStatement() 1194 if (Extension() == ScriptExtension::TS) { in AddFunctionToBinder() 1575 if (Extension() == ScriptExtension::TS && consequent->IsEmptyStatement()) { in ParseIfStatement() 1673 if (Extension() == ScriptExtension::TS) { in ParseSwitchCaseStatement() [all …]
|
D | parserImpl.cpp | 115 if (Extension() == ScriptExtension::TS) { in InitLexer() 153 if (Extension() == ScriptExtension::TS) { in Parse() 1713 …(Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::KEYW_THIS)) { in IsTsFunctionType() 1979 …(Extension() == ScriptExtension::TS && nextCp != LEX_CHAR_EQUALS && nextCp != LEX_CHAR_SEMICOLON && in ParseModifiers() 2144 (Extension() == ScriptExtension::TS && in ParseClassKeyModifiers() 2209 } else if (Extension() == ScriptExtension::TS) { in ValidateClassKey() 2256 …if (Extension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::LITERAL_I… in ParseClassKey() 2294 if (Extension() == ScriptExtension::TS) { in ParseClassKey() 2325 if (Extension() == ScriptExtension::TS && in ValidateClassMethodStart() 2330 if (Extension() == ScriptExtension::TS) { in ValidateClassMethodStart() [all …]
|
D | commonjs.cpp | 91 … functionContext.Flags(), false, Extension() == ScriptExtension::TS); in ParseCommonjs()
|
/arkcompiler/ets_runtime/ |
D | README_zh.md | 50 │ ├─ ts_types # TS类型管理模块
|
D | README.md | 38 │ ├─ ts_type # TS type management module
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | binder.cpp | 424 if (Program()->Extension() == ScriptExtension::TS) { in BuildVarDeclaratorId() 667 if (Program()->Extension() == ScriptExtension::TS) { in ResolveReference() 681 if (Program()->Extension() == ScriptExtension::TS) { in ResolveReference() 876 if (extension_ != ScriptExtension::TS) { in AddDeclarationName()
|
D | binder.h | 56 if (extension_ == ScriptExtension::TS) { in Binder()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsEnumDeclaration.cpp | 271 enumScope->AddDecl(checker->Allocator(), decl, ScriptExtension::TS); in AddEnumValueDeclaration()
|
/arkcompiler/ets_frontend/es2panda/aot/ |
D | options.cpp | 52 return es2panda::ScriptExtension::TS; in GetScriptExtensionFromStr()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
D | transformer.cpp | 80 if (Extension() == ScriptExtension::TS) { in Transform() 87 ASSERT(Extension() == ScriptExtension::TS); in TransformFromTS() 1452 ir::ScriptFunctionFlags::NONE, false, Extension() == ScriptExtension::TS); in CreateCallExpressionForTsModule() 1589 ir::ScriptFunctionFlags::NONE, false, Extension() == ScriptExtension::TS); in CreateCallExpressionForTsEnum()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | circuit_ir_specification.md | 53 * The 31st bit is used to distinguish between MIR type and TS type, `0` means TS type, `1` means MI…
|
/arkcompiler/ets_frontend/es2panda/lexer/ |
D | lexer.cpp | 1226 …if (parserContext_->GetProgram()->Extension() == ScriptExtension::TS && keywordType <= TokenType::… in CheckFutureReservedKeyword()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 30508 const TS = { 30567 TS.parent = this._materials[t]; 30568 TS.owner = this; 30569 TS.subModelIdx = t; 30570 const e = new uS(TS); 30571 TS.parent = null; 30572 TS.owner = null; 30573 TS.subModelIdx = 0;
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …TS",T[T.TSX=4]="TSX",T[T.External=5]="External",T[T.JSON=6]="JSON",T[T.Deferred=7]="Deferred",(E=e… class
|