Home
last modified time | relevance | path

Searched refs:toStringMethod (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
DtypeCreation.cpp407 auto const toStringMethod = CreateEnumToStringMethod(stringValuesArrayIdent, enumType); in CreateETSEnumType() local
408 enumType->SetToStringMethod(toStringMethod); in CreateETSEnumType()
420 enumLiteralType->SetToStringMethod(toStringMethod); in CreateETSEnumType()
457 auto const toStringMethod = CreateEnumToStringMethod(stringValuesArrayIdent, enumType); in CreateETSStringEnumType() local
458 enumType->SetToStringMethod(toStringMethod); in CreateETSStringEnumType()
459 enumType->SetGetValueMethod(toStringMethod); in CreateETSStringEnumType()
469 enumLiteralType->SetGetValueMethod(toStringMethod); in CreateETSStringEnumType()
471 enumLiteralType->SetToStringMethod(toStringMethod); in CreateETSStringEnumType()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi_native_interface.cpp567 auto toStringMethod = env->Getp_method(errorKlass, "toString", ":Lstd/core/String;"); in ErrorDescribe() local
568 auto errorString = env->CallObjectMethod(error, toStringMethod); in ErrorDescribe()