![]() |
v8
3.14.5(node0.10.28)
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 430 of file jsregexp.h.
| enum Type |
| Enumerator | |
|---|---|
| UNINITIALIZED | |
| ATOM | |
| CHAR_CLASS | |
Definition at line 432 of file jsregexp.h.
|
inline |
Definition at line 433 of file jsregexp.h.
|
inlineexplicit |
Definition at line 434 of file jsregexp.h.
|
static |
Definition at line 996 of file jsregexp.cc.
References TextElement::data, and TextElement::u_atom.
Referenced by RegExpAtom::AppendToText(), and RegExpAtom::ToNode().
|
static |
Definition at line 1003 of file jsregexp.cc.
References TextElement::data, and TextElement::u_char_class.
Referenced by RegExpCharacterClass::AppendToText(), and TextNode::TextNode().
| int length | ( | ) |
Definition at line 1011 of file jsregexp.cc.
References ASSERT.
Referenced by RegExpText::AddElement().
| int cp_offset |
Definition at line 443 of file jsregexp.h.
Referenced by TextNode::CalculateOffsets(), and TextNode::GreedyLoopTextLength().
| union { ... } data |
| Type type |
Definition at line 438 of file jsregexp.h.
Referenced by TextNode::CalculateOffsets(), TextNode::FillInBMInfo(), TextNode::FilterASCII(), TextNode::GetQuickCheckDetails(), TextNode::GetSuccessorOfOmnivorousTextNode(), TextNode::GreedyLoopTextLength(), and TextNode::MakeCaseIndependent().
| RegExpAtom* u_atom |
Definition at line 440 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 441 of file jsregexp.h.
Referenced by TextElement::CharClass(), TextNode::FillInBMInfo(), TextNode::FilterASCII(), TextNode::GetQuickCheckDetails(), TextNode::GetSuccessorOfOmnivorousTextNode(), and TextNode::MakeCaseIndependent().