Home
last modified time | relevance | path

Searched refs:ASYNC_FUNCTION (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/es2panda/parser/context/
DparserContext.h34 ASYNC_FUNCTION = (1 << 4), enumerator
122 return (status_ & ParserStatus::ASYNC_FUNCTION) != 0; in DEFINE_BITOPS()
/arkcompiler/ets_runtime/ecmascript/
Djs_function_kind.h35 ASYNC_FUNCTION, enumerator
Djs_function.h201 return kind >= FunctionKind::NORMAL_FUNCTION && kind <= FunctionKind::ASYNC_FUNCTION; in HasAccessor()
Dobject_factory.cpp4168 case FunctionKind::ASYNC_FUNCTION: { in NewJSFunction()
4294 case FunctionKind::ASYNC_FUNCTION: { in GetNonOptimizedHclass()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dconstpool_value.h27 ASYNC_FUNCTION, enumerator
Djs_pandafile.cpp291 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()
Dpanda_file_translator.cpp208 … 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/
DexpressionParser.cpp402 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()
DstatementParser.cpp1248 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()
DparserImpl.h669 if (newStatus & ParserStatus::ASYNC_FUNCTION) { in FunctionContext()
DparserImpl.cpp2354 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/
Dpandagen.ts206 ASYNC_FUNCTION = 4, enumerator
286 this.funcKind = FunctionKind.ASYNC_FUNCTION;
/arkcompiler/runtime_core/libpandafile/
Dfile_items.h79 ASYNC_FUNCTION = 0x4, enumerator
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp371 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/
Dpandagen.cpp81 funcKind_ = panda::panda_file::FunctionKind::ASYNC_FUNCTION; in SetFunctionKind()