/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_function_kind.h | 47 GENERATOR_FUNCTION, member in panda::ecmascript::FunctionKind
|
H A D | enum_conversion.h | 59 case BuiltinTypeId::GENERATOR_FUNCTION: in ToGlobelEnvPrototypeField()
|
H A D | js_function.cpp | 35 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 D | parserContext.h | 33 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 D | constpool_value.h | 26 GENERATOR_FUNCTION, member in panda::ecmascript::ConstPoolType
|
H A D | js_pandafile.cpp | 315 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 D | literal_data_extractor.cpp | 90 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 D | panda_file_translator.cpp | 262 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 D | parserContext.h | 34 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 D | jsvaluerefisgenerator_fuzzer.cpp | 50 JSFunction::InitializeJSFunction(vm->GetJSThread(), generatorFunc, FunctionKind::GENERATOR_FUNCTION); in IsGeneratorObjectFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/ |
H A D | publicapigeneratorobjectref_fuzzer.cpp | 47 JSFunction::InitializeJSFunction(thread, generatorFunc, FunctionKind::GENERATOR_FUNCTION); in GetGeneratorReceiverFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
H A D | builtin_type_id.h | 82 V(GENERATOR_FUNCTION) \
|
/arkcompiler/ets_runtime/test/fuzztest/generatorfunctionref_fuzzer/ |
H A D | generatorfunctionref_fuzzer.cpp | 43 JSFunction::InitializeJSFunction(thread, generatorFunc, FunctionKind::GENERATOR_FUNCTION); in CreateGeneratorObj()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | parserStatusContext.h | 120 if ((newStatus & ParserStatus::GENERATOR_FUNCTION) != 0) { in FunctionContext()
|
H A D | expressionParser.cpp | 1977 *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 D | expressionTSParser.cpp | 235 if (((GetContext().Status() & ParserStatus::GENERATOR_FUNCTION) != 0) && in ParsePatternElement()
|
H A D | ASparser.cpp | 405 if (((GetContext().Status() & ParserStatus::GENERATOR_FUNCTION) != 0) && in ParsePatternElement() 1199 desc->newStatus |= ParserStatus::GENERATOR_FUNCTION; in ValidateClassMethodStart()
|
H A D | parserImpl.cpp | 414 desc->newStatus |= ParserStatus::GENERATOR_FUNCTION; in ValidateClassMethodStart() 554 context_.Status() &= ~(ParserStatus::ASYNC_FUNCTION | ParserStatus::GENERATOR_FUNCTION); in ParseClassStaticBlock()
|
/arkcompiler/runtime_core/abc2program/ |
H A D | dump_utils.cpp | 56 {panda_file::FunctionKind::GENERATOR_FUNCTION, "FunctionKind::GENERATOR_FUNCTION"},
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | expressionParser.cpp | 1962 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 D | parserImpl.h | 762 if (newStatus & ParserStatus::GENERATOR_FUNCTION) { in FunctionContext()
|
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/ |
H A D | hello_world_test.cpp | 385 EXPECT_TRUE(generate_function_->GetFunctionKind() == panda::panda_file::FunctionKind::GENERATOR_FUNCTION); in HWTEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_function_stub_builder.cpp | 586 if (getKind == FunctionKind::BASE_CONSTRUCTOR || getKind == FunctionKind::GENERATOR_FUNCTION ||
in InitializeJSFunction()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_third_tests.cpp | 205 JSFunction::InitializeJSFunction(thread_, generatorFunc, FunctionKind::GENERATOR_FUNCTION); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | file_items.h | 78 GENERATOR_FUNCTION = 0x3, member in panda::panda_file::ClassTag::MethodTag::FieldTag::FunctionKind
|