![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <jsregexp.h>

Public Types | |
| enum | Type { UNINITIALIZED, ATOM, CHAR_CLASS } |
Public Member Functions | |
| TextElement () | |
| TextElement (Type t) | |
| int | length () |
Static Public Member Functions | |
| static TextElement | Atom (RegExpAtom *atom) |
| static TextElement | CharClass (RegExpCharacterClass *char_class) |
Data Fields | |
| Type | type |
| union { | |
| RegExpAtom * u_atom | |
| RegExpCharacterClass * u_char_class | |
| } | data |
| int | cp_offset |
Definition at line 413 of file jsregexp.h.
| enum Type |
| Enumerator | |
|---|---|
| UNINITIALIZED | |
| ATOM | |
| CHAR_CLASS | |
Definition at line 415 of file jsregexp.h.
|
inline |
Definition at line 416 of file jsregexp.h.
Referenced by TextElement::Atom(), and TextElement::CharClass().
|
inlineexplicit |
Definition at line 417 of file jsregexp.h.
|
static |
Definition at line 844 of file jsregexp.cc.
References TextElement::ATOM, TextElement::data, TextElement::TextElement(), and TextElement::u_atom.
Referenced by RegExpAtom::AppendToText(), and RegExpAtom::ToNode().
|
static |
Definition at line 851 of file jsregexp.cc.
References TextElement::CHAR_CLASS, TextElement::data, TextElement::TextElement(), and TextElement::u_char_class.
Referenced by RegExpCharacterClass::AppendToText(), and TextNode::TextNode().
| int length | ( | ) |
Definition at line 859 of file jsregexp.cc.
References ASSERT, TextElement::ATOM, TextElement::CHAR_CLASS, and TextElement::type.
Referenced by RegExpText::AddElement().
| int cp_offset |
Definition at line 426 of file jsregexp.h.
Referenced by TextNode::CalculateOffsets(), and TextNode::GreedyLoopTextLength().
| union { ... } data |
| Type type |
Definition at line 421 of file jsregexp.h.
Referenced by TextNode::CalculateOffsets(), TextNode::FillInBMInfo(), TextNode::FilterASCII(), TextNode::GetQuickCheckDetails(), TextNode::GetSuccessorOfOmnivorousTextNode(), TextNode::GreedyLoopTextLength(), TextElement::length(), and TextNode::MakeCaseIndependent().
| RegExpAtom* u_atom |
Definition at line 423 of file jsregexp.h.
Referenced by TextElement::Atom(), TextNode::CalculateOffsets(), TextNode::FillInBMInfo(), TextNode::FilterASCII(), TextNode::GetQuickCheckDetails(), and TextNode::GreedyLoopTextLength().
| RegExpCharacterClass* u_char_class |
Definition at line 424 of file jsregexp.h.
Referenced by TextElement::CharClass(), TextNode::FillInBMInfo(), TextNode::FilterASCII(), TextNode::GetQuickCheckDetails(), TextNode::GetSuccessorOfOmnivorousTextNode(), and TextNode::MakeCaseIndependent().