Searched refs:ASYNC_FUNCTION (Results 1 – 15 of 15) sorted by relevance
/arkcompiler/ets_frontend/es2panda/parser/context/ |
D | parserContext.h | 34 ASYNC_FUNCTION = (1 << 4), enumerator 122 return (status_ & ParserStatus::ASYNC_FUNCTION) != 0; in DEFINE_BITOPS()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_function_kind.h | 35 ASYNC_FUNCTION, enumerator
|
D | js_function.h | 201 return kind >= FunctionKind::NORMAL_FUNCTION && kind <= FunctionKind::ASYNC_FUNCTION; in HasAccessor()
|
D | object_factory.cpp | 4168 case FunctionKind::ASYNC_FUNCTION: { in NewJSFunction() 4294 case FunctionKind::ASYNC_FUNCTION: { in GetNonOptimizedHclass()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | constpool_value.h | 27 ASYNC_FUNCTION, enumerator
|
D | js_pandafile.cpp | 291 case panda_file::FunctionKind::ASYNC_FUNCTION: in GetFunctionKind() 292 kind = FunctionKind::ASYNC_FUNCTION; in GetFunctionKind() 323 case ConstPoolType::ASYNC_FUNCTION: in GetFunctionKind() 324 kind = FunctionKind::ASYNC_FUNCTION; in GetFunctionKind()
|
D | panda_file_translator.cpp | 208 … type == ConstPoolType::GENERATOR_FUNCTION || type == ConstPoolType::ASYNC_FUNCTION || in ParseConstPool() 277 … type == ConstPoolType::GENERATOR_FUNCTION || type == ConstPoolType::ASYNC_FUNCTION || in ParseFuncAndLiteralConstPool() 1544 …index = jsPandaFile->GetOrInsertConstantPool(ConstPoolType::ASYNC_FUNCTION, methodId, ConstpoolMap… in TranslateBytecode()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | expressionParser.cpp | 402 auto arrowStatus = isAsync ? ParserStatus::ASYNC_FUNCTION : ParserStatus::NO_OPTS; in ConvertToArrowParameter() 1392 *returnExpression = ParseFunctionExpression(ParserStatus::ASYNC_FUNCTION); in ParsePotentialArrowExpression() 1845 *methodStatus |= ParserStatus::ASYNC_FUNCTION; in CheckPropertyKeyAsycModifier() 1988 return (IsShorthandDelimiter(nextCp) && !(*methodStatus & ParserStatus::ASYNC_FUNCTION)); in ParsePropertyModifiers() 2124 } else if (methodStatus & (ParserStatus::GENERATOR_FUNCTION | ParserStatus::ASYNC_FUNCTION)) { in ParsePropertyDefinition() 2341 if (newStatus & ParserStatus::ASYNC_FUNCTION) { in ParseFunctionExpression() 2342 context_.Status() |= (ParserStatus::DISALLOW_AWAIT | ParserStatus::ASYNC_FUNCTION); in ParseFunctionExpression()
|
D | statementParser.cpp | 1248 context_.Status() |= ParserStatus::ASYNC_FUNCTION; in ParseExpressionStatement() 1256 …:FunctionDeclaration *functionDecl = ParseFunctionDeclaration(false, ParserStatus::ASYNC_FUNCTION); in ParseExpressionStatement() 2399 …declNode = ParseFunctionDeclaration(false, ParserStatus::ASYNC_FUNCTION | ParserStatus::EXPORT_REA… in ParseExportDefaultDeclaration() 2649 decl = ParseFunctionDeclaration(false, ParserStatus::ASYNC_FUNCTION | status); in ParseNamedExportDeclaration()
|
D | parserImpl.h | 669 if (newStatus & ParserStatus::ASYNC_FUNCTION) { in FunctionContext()
|
D | parserImpl.cpp | 2354 desc->newStatus |= ParserStatus::ASYNC_FUNCTION; in ValidateClassMethodStart() 2404 if (isDeclare && (desc->newStatus & ParserStatus::ASYNC_FUNCTION)) { in ParseClassMethod() 3475 if (newStatus & (ParserStatus::ASYNC_FUNCTION | ParserStatus::FUNCTION_DECLARATION)) { in ParseFunction() 3499 if (newStatus & ParserStatus::ASYNC_FUNCTION) { in ParseFunction()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | pandagen.ts | 206 ASYNC_FUNCTION = 4, enumerator 286 this.funcKind = FunctionKind.ASYNC_FUNCTION;
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_items.h | 79 ASYNC_FUNCTION = 0x4, enumerator
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 371 FunctionKind::ASYNC_FUNCTION, JSAsyncFunction::SIZE, JSType::JS_ASYNC_FUNCTION, in Initialize() 384 …V(AsyncFunctionClass, FunctionKind::ASYNC_FUNCTION, JSAsyncFunction::SIZE, ASYNC_FUNCTION, AsyncFu… in InitializeFunctionHclassForOptimized()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | pandagen.cpp | 81 funcKind_ = panda::panda_file::FunctionKind::ASYNC_FUNCTION; in SetFunctionKind()
|