/arkcompiler/ets_frontend/ets2panda/lexer/regexp/ |
H A D | regexp.h | 40 struct RegExp { struct 41 RegExp(util::StringView p, util::StringView f, RegExpFlags reFlags); 52 explicit RegExpParser(const RegExp &re, ArenaAllocator *allocator, const parser::ParserImpl &parser); 98 RegExp re_;
|
H A D | regexp.cpp | 24 RegExp::RegExp(util::StringView p, util::StringView f, RegExpFlags reFlags) : patternStr(p), flagsStr(f), flags(reFlags) in RegExp() function in ark::es2panda::lexer::RegExp 28 RegExpParser::RegExpParser(const RegExp &re, ArenaAllocator *allocator, const parser::ParserImpl &parser) in RegExpParser()
|
/arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
H A D | regexp.h | 45 struct RegExp { struct 46 RegExp(util::StringView p, util::StringView f, RegExpFlags reFlags); 55 explicit RegExpParser(const RegExp &re, ArenaAllocator *allocator); 98 RegExp re_;
|
H A D | regexp.cpp | 27 RegExp::RegExp(util::StringView p, util::StringView f, RegExpFlags reFlags) : patternStr(p), flagsStr(f), flags(reFlags) in RegExp() function in panda::es2panda::lexer::RegExp 31 RegExpParser::RegExpParser(const RegExp &re, ArenaAllocator *allocator) in RegExpParser()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime_call_id.h | 733 V(RegExp, Constructor) \ 734 V(RegExp, Exec) \ 735 V(RegExp, Test) \ 736 V(RegExp, ToString) \ 737 V(RegExp, GetFlags) \ 738 V(RegExp, GetSpecies) \ 739 V(RegExp, Match) \ 740 V(RegExp, MatchAll) \ 741 V(RegExp, Replace) \ 742 V(RegExp, Searc [all...] |
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 120 using RegExp = builtins::BuiltinsRegExp; 306 reinterpret_cast<uintptr_t>(RegExp::RegExpConstructor), 307 reinterpret_cast<uintptr_t>(RegExp::Exec), 308 reinterpret_cast<uintptr_t>(RegExp::Test), 309 reinterpret_cast<uintptr_t>(RegExp::ToString), 310 reinterpret_cast<uintptr_t>(RegExp::GetFlags), 311 reinterpret_cast<uintptr_t>(RegExp::GetSource), 312 reinterpret_cast<uintptr_t>(RegExp::GetGlobal), 313 reinterpret_cast<uintptr_t>(RegExp::GetHasIndices), 314 reinterpret_cast<uintptr_t>(RegExp [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_regexp.cpp | 37 BUILTINS_API_TRACE(argv->GetThread(), RegExp, Constructor); in RegExpConstructor() 139 BUILTINS_API_TRACE(argv->GetThread(), RegExp, Exec); in Exec() 176 BUILTINS_API_TRACE(argv->GetThread(), RegExp, Test); in Test() 221 // RegExp.prototype hclass in IsFastRegExp() 230 // RegExp.prototype.exec in IsFastRegExp() 317 BUILTINS_API_TRACE(argv->GetThread(), RegExp, ToString); in ToString() 365 BUILTINS_API_TRACE(argv->GetThread(), RegExp, GetFlags); in GetFlags() 454 BUILTINS_API_TRACE(thread, RegExp, GetGlobal); in GetGlobal() 466 BUILTINS_API_TRACE(thread, RegExp, GetHasIndices); in GetHasIndices() 478 BUILTINS_API_TRACE(thread, RegExp, GetIgnoreCas in GetIgnoreCase() [all...] |
H A D | builtins.cpp | 144 using RegExp = builtins::BuiltinsRegExp; 2026 SetStringTagSymbol(env, regExpIteratorPrototype, "RegExp String Iterator"); in InitializeRegexpIterator() 2033 // RegExp.prototype in InitializeRegExp() 2038 // RegExp.prototype_or_hclass in InitializeRegExp() 2041 // RegExp = new Function() in InitializeRegExp() 2043 NewBuiltinConstructor(env, regPrototype, RegExp::RegExpConstructor, "RegExp", FunctionLength::TWO)); in InitializeRegExp() 2045 // initialize RegExp.$1 .. $9 static and read-only attributes in InitializeRegExp() 2053 // RegExp.prototype method in InitializeRegExp() 2054 JSHandle<JSFunction> execFunc = SetAndReturnFunction(env, regPrototype, "exec", RegExp in InitializeRegExp() [all...] |
/arkcompiler/ets_frontend/es2panda/lexer/ |
H A D | lexer.h | 87 RegExp ScanRegExp();
|
H A D | lexer.cpp | 1048 ThrowError("Unterminated RegExp"); in ScanRegExpPattern() 1143 ThrowError("Invalid RegExp flag"); in ScanRegExpFlags() 1148 ThrowError("Invalid RegExp flag"); in ScanRegExpFlags() 1157 RegExp Lexer::ScanRegExp() in ScanRegExp()
|
/arkcompiler/ets_frontend/ets2panda/lexer/ |
H A D | lexer.h | 147 RegExp ScanRegExp();
|
H A D | lexer.cpp | 1025 ThrowError("Unterminated RegExp"); in ScanRegExpPattern() 1104 ThrowError("Invalid RegExp flag"); in ScanRegExpFlags() 1109 ThrowError("Invalid RegExp flag"); in ScanRegExpFlags() 1131 RegExp Lexer::ScanRegExp() in ScanRegExp()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_call_signature.h | 167 V(GetFlags, RegExp, Undefined())
|