Home
last modified time | relevance | path

Searched refs:GENERATOR_FUNCTION (Results 1 - 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
H A Djs_function_kind.h47 GENERATOR_FUNCTION, member in panda::ecmascript::FunctionKind
H A Denum_conversion.h59 case BuiltinTypeId::GENERATOR_FUNCTION: in ToGlobelEnvPrototypeField()
H A Djs_function.cpp35 if (kind == FunctionKind::BASE_CONSTRUCTOR || kind == FunctionKind::GENERATOR_FUNCTION || in InitializeJSFunction()
51 if (kind == FunctionKind::GENERATOR_FUNCTION) { in InitializeJSFunction()
/arkcompiler/ets_frontend/es2panda/parser/context/
H A DparserContext.h33 GENERATOR_FUNCTION = (1 << 3), member in panda::es2panda::parser::ParserStatus
110 return (status_ & ParserStatus::GENERATOR_FUNCTION) != 0; in IsGenerator()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dconstpool_value.h26 GENERATOR_FUNCTION, member in panda::ecmascript::ConstPoolType
H A Djs_pandafile.cpp315 case panda_file::FunctionKind::GENERATOR_FUNCTION: in GetFunctionKind()
316 kind = FunctionKind::GENERATOR_FUNCTION; in GetFunctionKind()
347 case ConstPoolType::GENERATOR_FUNCTION: in GetFunctionKind()
348 kind = FunctionKind::GENERATOR_FUNCTION; in GetFunctionKind()
H A Dliteral_data_extractor.cpp90 kind = FunctionKind::GENERATOR_FUNCTION; in ExtractObjectDatas()
200 kind = FunctionKind::GENERATOR_FUNCTION; in EnumerateLiteralVals()
464 kind = FunctionKind::GENERATOR_FUNCTION; in ExtractObjectDatas()
599 kind = FunctionKind::GENERATOR_FUNCTION; in GetDatasIgnoreType()
H A Dpanda_file_translator.cpp262 type == ConstPoolType::GENERATOR_FUNCTION || type == ConstPoolType::ASYNC_FUNCTION || in ParseConstPool()
333 type == ConstPoolType::GENERATOR_FUNCTION || type == ConstPoolType::ASYNC_FUNCTION || in ParseFuncAndLiteralConstPool()
1601 index = jsPandaFile->GetOrInsertConstantPool(ConstPoolType::GENERATOR_FUNCTION, methodId, in TranslateBytecode()
/arkcompiler/ets_frontend/ets2panda/parser/context/
H A DparserContext.h34 GENERATOR_FUNCTION = 1U << 3U, member in ark::es2panda::parser::ParserStatus
139 return (status_ & ParserStatus::GENERATOR_FUNCTION) != 0;
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisgenerator_fuzzer/
H A Djsvaluerefisgenerator_fuzzer.cpp50 JSFunction::InitializeJSFunction(vm->GetJSThread(), generatorFunc, FunctionKind::GENERATOR_FUNCTION); in IsGeneratorObjectFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/
H A Dpublicapigeneratorobjectref_fuzzer.cpp47 JSFunction::InitializeJSFunction(thread, generatorFunc, FunctionKind::GENERATOR_FUNCTION); in GetGeneratorReceiverFuzzTest()
/arkcompiler/ets_runtime/ecmascript/ts_types/
H A Dbuiltin_type_id.h82 V(GENERATOR_FUNCTION) \
/arkcompiler/ets_runtime/test/fuzztest/generatorfunctionref_fuzzer/
H A Dgeneratorfunctionref_fuzzer.cpp43 JSFunction::InitializeJSFunction(thread, generatorFunc, FunctionKind::GENERATOR_FUNCTION); in CreateGeneratorObj()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DparserStatusContext.h120 if ((newStatus & ParserStatus::GENERATOR_FUNCTION) != 0) { in FunctionContext()
H A DexpressionParser.cpp1977 *methodStatus |= ParserStatus::GENERATOR_FUNCTION; in ParsePropertyModifiers()
2014 *methodStatus |= ParserStatus::GENERATOR_FUNCTION; in ParseGeneratorPropertyModifier()
2145 } else if ((methodStatus & (ParserStatus::GENERATOR_FUNCTION | ParserStatus::ASYNC_FUNCTION)) != 0) { in ParsePropertyDefinition()
2377 newStatus |= ParserStatus::GENERATOR_FUNCTION; in ParseFunctionExpression()
H A DexpressionTSParser.cpp235 if (((GetContext().Status() & ParserStatus::GENERATOR_FUNCTION) != 0) && in ParsePatternElement()
H A DASparser.cpp405 if (((GetContext().Status() & ParserStatus::GENERATOR_FUNCTION) != 0) && in ParsePatternElement()
1199 desc->newStatus |= ParserStatus::GENERATOR_FUNCTION; in ValidateClassMethodStart()
H A DparserImpl.cpp414 desc->newStatus |= ParserStatus::GENERATOR_FUNCTION; in ValidateClassMethodStart()
554 context_.Status() &= ~(ParserStatus::ASYNC_FUNCTION | ParserStatus::GENERATOR_FUNCTION); in ParseClassStaticBlock()
/arkcompiler/runtime_core/abc2program/
H A Ddump_utils.cpp56 {panda_file::FunctionKind::GENERATOR_FUNCTION, "FunctionKind::GENERATOR_FUNCTION"},
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp1962 if ((context_.Status() & ParserStatus::GENERATOR_FUNCTION) && in ParsePatternElement()
2107 *methodStatus |= ParserStatus::GENERATOR_FUNCTION; in ParsePropertyModifiers()
2144 *methodStatus |= ParserStatus::GENERATOR_FUNCTION; in ParseGeneratorPropertyModifier()
2270 } else if (methodStatus & (ParserStatus::GENERATOR_FUNCTION | ParserStatus::ASYNC_FUNCTION)) { in ParsePropertyDefinition()
2550 newStatus |= ParserStatus::GENERATOR_FUNCTION; in ParseFunctionExpression()
H A DparserImpl.h762 if (newStatus & ParserStatus::GENERATOR_FUNCTION) { in FunctionContext()
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
H A Dhello_world_test.cpp385 EXPECT_TRUE(generate_function_->GetFunctionKind() == panda::panda_file::FunctionKind::GENERATOR_FUNCTION); in HWTEST_F()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_function_stub_builder.cpp586 if (getKind == FunctionKind::BASE_CONSTRUCTOR || getKind == FunctionKind::GENERATOR_FUNCTION || in InitializeJSFunction()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_third_tests.cpp205 JSFunction::InitializeJSFunction(thread_, generatorFunc, FunctionKind::GENERATOR_FUNCTION); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandafile/
H A Dfile_items.h78 GENERATOR_FUNCTION = 0x3, member in panda::panda_file::ClassTag::MethodTag::FieldTag::FunctionKind

Completed in 32 milliseconds

12