Searched refs:Extension (Results 1 – 16 of 16) sorted by relevance
/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/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()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
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() 968 if (!allowBreak && Extension() == ScriptExtension::JS) { in ParseBreakStatement() 972 if (!allowBreak && Extension() == ScriptExtension::TS) { in ParseBreakStatement() 1015 if (Extension() == ScriptExtension::TS && in ParseContinueStatement() 1022 if (Extension() == ScriptExtension::JS) { in ParseContinueStatement() 1025 if (Extension() == ScriptExtension::TS) { in ParseContinueStatement() 1194 if (Extension() == ScriptExtension::TS) { in AddFunctionToBinder() [all …]
|
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 | 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() 1978 if (!((Extension() == ScriptExtension::JS && nextCp != LEX_CHAR_LEFT_PAREN) || in ParseModifiers() 1979 …(Extension() == ScriptExtension::TS && nextCp != LEX_CHAR_EQUALS && nextCp != LEX_CHAR_SEMICOLON && in ParseModifiers() 2143 if ((Extension() == ScriptExtension::JS && nextCp != LEX_CHAR_LEFT_PAREN) || in ParseClassKeyModifiers() 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() [all …]
|
D | commonjs.cpp | 91 … functionContext.Flags(), false, Extension() == ScriptExtension::TS); in ParseCommonjs()
|
D | parserImpl.h | 184 ScriptExtension Extension() const;
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | binder.h | 284 if (scope_->AddTsDecl(Allocator(), decl, program_->Extension())) { in AddTsDecl() 299 if (scope_->AddTsDecl(Allocator(), decl, program_->Extension())) { in AddTsDecl() 313 if (scope_->AddDecl(Allocator(), decl, program_->Extension())) { in AddDecl() 328 if (scope_->AddDecl(Allocator(), decl, program_->Extension())) { in AddDecl()
|
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()
|
/arkcompiler/ets_frontend/es2panda/parser/program/ |
D | program.h | 63 ScriptExtension Extension() const in Extension() function
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
D | transformer.h | 274 ScriptExtension Extension() const in Extension() function 276 return program_->Extension(); in Extension()
|
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/toolchain/build/toolchain/ |
D | toolchain.gni | 54 # Extension for shared library files (including leading dot).
|
/arkcompiler/ets_frontend/es2panda/lexer/ |
D | lexer.cpp | 1197 if (parserContext_->GetProgram()->Extension() == ScriptExtension::JS) { in CheckEnumKeyword() 1226 …if (parserContext_->GetProgram()->Extension() == ScriptExtension::TS && keywordType <= TokenType::… in CheckFutureReservedKeyword()
|
/arkcompiler/runtime_core/ldscripts/ |
D | panda_test_asan.ld | 341 /* DWARF Extension. */
|