Home | History | Annotate | Download | only in src

Lines Matching defs:Atom

137     // Parse-tree is a single atom that is equal to the pattern.
142 RegExpAtom* atom = parse_result.tree->AsAtom();
143 Vector<const uc16> atom_pattern = atom->data();
164 case JSRegExp::ATOM:
179 // RegExp Atom implementation: Simple string search using indexOf.
187 JSRegExp::ATOM,
625 text->AddElement(TextElement::Atom(this));
640 TextElement TextElement::Atom(RegExpAtom* atom) {
641 TextElement result = TextElement(ATOM);
642 result.data.u_atom = atom;
656 if (type == ATOM) {
1773 if (elm.type == TextElement::ATOM) {
2298 if (elm.type == TextElement::ATOM) {
2357 if (elm.type == TextElement::ATOM) {
3247 case TextElement::ATOM: {
3439 elms->Add(TextElement::Atom(this));
3587 // > 0 and removed the atom if min was 0. See AddQuantifierToAtom.
3715 // Create a newline atom.
4765 if (elm.type == TextElement::ATOM) {
5000 if (text.type == TextElement::ATOM) {
5001 RegExpAtom* atom = text.data.u_atom;
5002 ASSERT_NE(0, atom->length());
5003 uc16 first_char = atom->data()[0];
5120 case TextElement::ATOM: {