#include <regexp_ast.h>
Definition at line 241 of file regexp_ast.h.
◆ RegExpText()
dart::RegExpText::RegExpText |
( |
| ) |
|
|
inline |
Definition at line 243 of file regexp_ast.h.
243: elements_(2), length_(0) {}
◆ Accept()
virtual void * dart::RegExpText::Accept |
( |
RegExpVisitor * |
visitor, |
|
|
void * |
data |
|
) |
| |
|
virtual |
◆ AddElement()
Definition at line 252 of file regexp_ast.h.
252 {
253 elements_.Add(elm);
254 length_ += elm.length();
255 }
◆ AppendToText()
void dart::RegExpText::AppendToText |
( |
RegExpText * |
text | ) |
|
|
virtual |
◆ AsText()
◆ elements()
◆ IsText()
virtual bool dart::RegExpText::IsText |
( |
| ) |
const |
|
virtual |
◆ IsTextElement()
virtual bool dart::RegExpText::IsTextElement |
( |
| ) |
const |
|
inlinevirtual |
◆ max_match()
virtual intptr_t dart::RegExpText::max_match |
( |
| ) |
const |
|
inlinevirtual |
◆ min_match()
virtual intptr_t dart::RegExpText::min_match |
( |
| ) |
const |
|
inlinevirtual |
◆ ToNode()
Implements dart::RegExpTree.
Definition at line 3803 of file regexp.cc.
3804 {
3805 ZoneGrowableArray<TextElement>* elms =
3806 new (
OZ) ZoneGrowableArray<TextElement>(1);
3807 for (intptr_t
i = 0;
i <
elements()->length();
i++) {
3809 }
3810 return new (
OZ) TextNode(elms,
compiler->read_backward(), on_success);
3811}
The documentation for this class was generated from the following files: