Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser.cpp243 size_t atomBcStart = buffer_.GetSize(); in ParseAlternative() local
454 ParseQuantifier(atomBcStart, captureIndex, captureCount_ - 1); in ParseAlternative()
458 size_t termSize = end - atomBcStart; in ParseAlternative()
701 void RegExpParser::ParseQuantifier(size_t atomBcStart, int captureStart, int captureEnd) in ParseQuantifier() argument
756 pushOp.InsertOpCode(&buffer_, atomBcStart); in ParseQuantifier()
757 atomBcStart += pushOp.GetSize(); in ParseQuantifier()
761 saveResetOp.InsertOpCode(&buffer_, atomBcStart, captureStart, captureEnd); in ParseQuantifier()
768 pushCharOp.InsertOpCode(&buffer_, atomBcStart); in ParseQuantifier()
776 … loopOp.EmitOpCode(&buffer_, atomBcStart - buffer_.GetSize() - loopOp.GetSize(), min, max); in ParseQuantifier()
779 … loopOp.EmitOpCode(&buffer_, atomBcStart - buffer_.GetSize() - loopOp.GetSize(), min, max); in ParseQuantifier()
[all …]
Dregexp_parser.h95 void ParseQuantifier(size_t atomBcStart, int captureStart, int captureEnd);