Home
last modified time | relevance | path

Searched refs:RegExpAssertion (Results 1 - 8 of 8) sorted by relevance

/third_party/node/deps/v8/src/regexp/experimental/
H A Dexperimental-bytecode.cc39 case RegExpAssertion::Type::START_OF_INPUT: in operator <<()
42 case RegExpAssertion::Type::END_OF_INPUT: in operator <<()
45 case RegExpAssertion::Type::START_OF_LINE: in operator <<()
48 case RegExpAssertion::Type::END_OF_LINE: in operator <<()
51 case RegExpAssertion::Type::BOUNDARY: in operator <<()
54 case RegExpAssertion::Type::NON_BOUNDARY: in operator <<()
H A Dexperimental-interpreter.cc25 bool SatisfiesAssertion(RegExpAssertion::Type type, in SatisfiesAssertion()
31 case RegExpAssertion::Type::START_OF_INPUT: in SatisfiesAssertion()
33 case RegExpAssertion::Type::END_OF_INPUT: in SatisfiesAssertion()
35 case RegExpAssertion::Type::START_OF_LINE: in SatisfiesAssertion()
38 case RegExpAssertion::Type::END_OF_LINE: in SatisfiesAssertion()
41 case RegExpAssertion::Type::BOUNDARY: in SatisfiesAssertion()
52 case RegExpAssertion::Type::NON_BOUNDARY: in SatisfiesAssertion()
53 return !SatisfiesAssertion(RegExpAssertion::Type::BOUNDARY, context, in SatisfiesAssertion()
H A Dexperimental-bytecode.h161 static RegExpInstruction Assertion(RegExpAssertion::Type t) { in Assertion()
177 RegExpAssertion::Type assertion_type;
H A Dexperimental-compiler.cc72 void* VisitAssertion(RegExpAssertion* node, void*) override {
224 void Assertion(RegExpAssertion::Type t) { in Assertion()
383 void* VisitAssertion(RegExpAssertion* node, void*) override {
/third_party/node/deps/v8/src/regexp/
H A Dregexp-ast.cc67 bool RegExpAssertion::IsAnchoredAtStart() { in IsAnchoredAtStart()
68 return assertion_type() == RegExpAssertion::Type::START_OF_INPUT; in IsAnchoredAtStart()
72 bool RegExpAssertion::IsAnchoredAtEnd() { in IsAnchoredAtEnd()
73 return assertion_type() == RegExpAssertion::Type::END_OF_INPUT; in IsAnchoredAtEnd()
199 void* RegExpUnparser::VisitAssertion(RegExpAssertion* that, void* data) { in VisitAssertion()
201 case RegExpAssertion::Type::START_OF_INPUT: in VisitAssertion()
204 case RegExpAssertion::Type::END_OF_INPUT: in VisitAssertion()
207 case RegExpAssertion::Type::START_OF_LINE: in VisitAssertion()
210 case RegExpAssertion::Type::END_OF_LINE: in VisitAssertion()
213 case RegExpAssertion in VisitAssertion()
[all...]
H A Dregexp-parser.cc608 builder->AddAssertion(zone()->template New<RegExpAssertion>( in ParseDisjunction()
609 builder->multiline() ? RegExpAssertion::Type::START_OF_LINE in ParseDisjunction()
610 : RegExpAssertion::Type::START_OF_INPUT)); in ParseDisjunction()
616 RegExpAssertion::Type assertion_type = in ParseDisjunction()
617 builder->multiline() ? RegExpAssertion::Type::END_OF_LINE in ParseDisjunction()
618 : RegExpAssertion::Type::END_OF_INPUT; in ParseDisjunction()
620 zone()->template New<RegExpAssertion>(assertion_type)); in ParseDisjunction()
725 builder->AddAssertion(zone()->template New<RegExpAssertion>( in ParseDisjunction()
726 RegExpAssertion::Type::BOUNDARY)); in ParseDisjunction()
730 builder->AddAssertion(zone()->template New<RegExpAssertion>( in ParseDisjunction()
[all...]
H A Dregexp-compiler-tonode.cc855 RegExpAssertion::Type type, in RationalizeConsecutiveAtoms()
871 (type == RegExpAssertion::Type::BOUNDARY) ^ lookbehind_for_word; in RationalizeConsecutiveAtoms()
889 RegExpNode* RegExpAssertion::ToNode(RegExpCompiler* compiler, in RationalizeConsecutiveAtoms()
1083 STATIC_ASSERT(static_cast<int>(RegExpAssertion::Type::LAST_ASSERTION_TYPE) < in RationalizeConsecutiveAtoms()
1087 RegExpAssertion* t = terms_->at(i)->AsAssertion(); in RationalizeConsecutiveAtoms()
1100 1 << static_cast<int>(RegExpAssertion::Type::BOUNDARY) | in RationalizeConsecutiveAtoms()
1101 1 << static_cast<int>(RegExpAssertion::Type::NON_BOUNDARY); in RationalizeConsecutiveAtoms()
H A Dregexp-ast.h228 class RegExpAssertion final : public RegExpTree {
239 explicit RegExpAssertion(Type type) : assertion_type_(type) {} in RegExpAssertion() function in v8::internal::final

Completed in 11 milliseconds