Home
last modified time | relevance | path

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

/ark/js_runtime/ecmascript/regexp/
Dregexp_executor.cpp74 if (state->type_ == StateType::STATE_SPLIT) { in MatchFailed()
80 isMatched = (state->type_ == StateType::STATE_MATCH_AHEAD && isMatched) || in MatchFailed()
81 (state->type_ == StateType::STATE_NEGATIVE_MATCH_AHEAD && !isMatched); in MatchFailed()
83 if (state->type_ == StateType::STATE_MATCH_AHEAD) { in MatchFailed()
87 if (state->type_ == StateType::STATE_NEGATIVE_MATCH_AHEAD) { in MatchFailed()
250 auto type = static_cast<StateType>(opCode - RegExpOpCode::OP_SPLIT_NEXT); in HandleOpMatch()
667 void RegExpExecutor::PushRegExpState(StateType type, uint32_t pc) in PushRegExpState()
Dregexp_executor.h30 enum StateType : uint8_t { enum
37 StateType type_ = STATE_SPLIT;
294 void PushRegExpState(StateType type, uint32_t pc);