Home
last modified time | relevance | path

Searched refs:PatternTerm (Results 1 – 6 of 6) sorted by relevance

/external/webkit/JavaScriptCore/yarr/
DRegexPattern.h73 struct PatternTerm { struct
102 PatternTerm(UChar ch) in PatternTerm() argument
103 : type(PatternTerm::TypePatternCharacter) in PatternTerm()
110 PatternTerm(CharacterClass* charClass, bool invert) in PatternTerm() argument
111 : type(PatternTerm::TypeCharacterClass) in PatternTerm()
119PatternTerm(Type type, unsigned subpatternId, PatternDisjunction* disjunction, bool invertOrCaptur… in PatternTerm() argument
130 PatternTerm(Type type, bool invert = false)
138 PatternTerm(unsigned spatternId) in PatternTerm() argument
147 static PatternTerm ForwardReference() in ForwardReference() argument
149 return PatternTerm(TypeForwardReference); in ForwardReference()
[all …]
DRegexCompiler.cpp355 m_alternative->m_terms.append(PatternTerm::BOL()); in assertionBOL()
359 m_alternative->m_terms.append(PatternTerm::EOL()); in assertionEOL()
363 m_alternative->m_terms.append(PatternTerm::WordBoundary(invert)); in assertionWordBoundary()
375 m_alternative->m_terms.append(PatternTerm(ch)); in atomPatternCharacter()
382 m_alternative->m_terms.append(PatternTerm(m_pattern.digitsCharacterClass(), invert)); in atomBuiltInCharacterClass()
385 m_alternative->m_terms.append(PatternTerm(m_pattern.spacesCharacterClass(), invert)); in atomBuiltInCharacterClass()
388 m_alternative->m_terms.append(PatternTerm(m_pattern.wordcharCharacterClass(), invert)); in atomBuiltInCharacterClass()
391 m_alternative->m_terms.append(PatternTerm(m_pattern.newlineCharacterClass(), invert)); in atomBuiltInCharacterClass()
437 m_alternative->m_terms.append(PatternTerm(newCharacterClass, m_invertCharacterClass)); in atomCharacterClassEnd()
448 …m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern, subpatternId, pa… in atomParenthesesSubpatternBegin()
[all …]
DRegexJIT.cpp85 PatternTerm& term = alternative->m_terms[i]; in optimizeAlternative()
86 PatternTerm& nextTerm = alternative->m_terms[i + 1]; in optimizeAlternative()
88 if ((term.type == PatternTerm::TypeCharacterClass) in optimizeAlternative()
90 && (nextTerm.type == PatternTerm::TypePatternCharacter) in optimizeAlternative()
92 PatternTerm termCopy = term; in optimizeAlternative()
329 PatternTerm& term() in term()
335 PatternTerm& lookaheadTerm() in lookaheadTerm()
345 && (lookaheadTerm().type == PatternTerm::TypePatternCharacter) in isSinglePatternCharacterLookaheadTerm()
415 PatternTerm& term = state.term(); in generateAssertionBOL()
440 PatternTerm& term = state.term(); in generateAssertionEOL()
[all …]
DRegexInterpreter.cpp1533 PatternTerm& term = alternative->m_terms[i]; in emitDisjunction()
1536 case PatternTerm::TypeAssertionBOL: in emitDisjunction()
1540 case PatternTerm::TypeAssertionEOL: in emitDisjunction()
1544 case PatternTerm::TypeAssertionWordBoundary: in emitDisjunction()
1548 case PatternTerm::TypePatternCharacter: in emitDisjunction()
1552 case PatternTerm::TypeCharacterClass: in emitDisjunction()
1556 case PatternTerm::TypeBackReference: in emitDisjunction()
1560 case PatternTerm::TypeForwardReference: in emitDisjunction()
1563 case PatternTerm::TypeParenthesesSubpattern: { in emitDisjunction()
1587 case PatternTerm::TypeParentheticalAssertion: { in emitDisjunction()
/external/webkit/JavaScriptCore/
DChangeLog-2009-06-161472 (JSC::Yarr::PatternTerm::):
1473 (JSC::Yarr::PatternTerm::PatternTerm):
1474 (JSC::Yarr::PatternTerm::ForwardReference):
7981 (JSC::Yarr::PatternTerm::):
7982 (JSC::Yarr::PatternTerm::PatternTerm):
8942 (JSC::Yarr::PatternTerm::):
8943 (JSC::Yarr::PatternTerm::PatternTerm):
8944 (JSC::Yarr::PatternTerm::BOL):
8945 (JSC::Yarr::PatternTerm::EOL):
8946 (JSC::Yarr::PatternTerm::WordBoundary):
[all …]
DChangeLog5069 (JSC::Yarr::PatternTerm::PatternTerm): Don't self assign here. Use false instead.