| Index: runtime/vm/regexp_ast.h
|
| diff --git a/runtime/vm/regexp_ast.h b/runtime/vm/regexp_ast.h
|
| index 3d5601aa0cae7ff1da8b4cc18989824800eaec71..438dc3c376242d70ca63ae22973b37409c9ec130 100644
|
| --- a/runtime/vm/regexp_ast.h
|
| +++ b/runtime/vm/regexp_ast.h
|
| @@ -25,7 +25,6 @@ class RegExpLookahead;
|
| class RegExpQuantifier;
|
| class RegExpText;
|
|
|
| -
|
| class RegExpVisitor : public ValueObject {
|
| public:
|
| virtual ~RegExpVisitor() {}
|
| @@ -35,7 +34,6 @@ class RegExpVisitor : public ValueObject {
|
| #undef MAKE_CASE
|
| };
|
|
|
| -
|
| class RegExpTree : public ZoneAllocated {
|
| public:
|
| static const intptr_t kInfinity = kMaxInt32;
|
| @@ -60,7 +58,6 @@ class RegExpTree : public ZoneAllocated {
|
| #undef MAKE_ASTYPE
|
| };
|
|
|
| -
|
| class RegExpDisjunction : public RegExpTree {
|
| public:
|
| explicit RegExpDisjunction(ZoneGrowableArray<RegExpTree*>* alternatives);
|
| @@ -81,7 +78,6 @@ class RegExpDisjunction : public RegExpTree {
|
| intptr_t max_match_;
|
| };
|
|
|
| -
|
| class RegExpAlternative : public RegExpTree {
|
| public:
|
| explicit RegExpAlternative(ZoneGrowableArray<RegExpTree*>* nodes);
|
| @@ -102,7 +98,6 @@ class RegExpAlternative : public RegExpTree {
|
| intptr_t max_match_;
|
| };
|
|
|
| -
|
| class RegExpAssertion : public RegExpTree {
|
| public:
|
| enum AssertionType {
|
| @@ -128,7 +123,6 @@ class RegExpAssertion : public RegExpTree {
|
| AssertionType assertion_type_;
|
| };
|
|
|
| -
|
| class CharacterSet : public ValueObject {
|
| public:
|
| explicit CharacterSet(uint16_t standard_set_type)
|
| @@ -154,7 +148,6 @@ class CharacterSet : public ValueObject {
|
| uint16_t standard_set_type_;
|
| };
|
|
|
| -
|
| class RegExpCharacterClass : public RegExpTree {
|
| public:
|
| RegExpCharacterClass(ZoneGrowableArray<CharacterRange>* ranges,
|
| @@ -194,7 +187,6 @@ class RegExpCharacterClass : public RegExpTree {
|
| bool is_negated_;
|
| };
|
|
|
| -
|
| class RegExpAtom : public RegExpTree {
|
| public:
|
| explicit RegExpAtom(ZoneGrowableArray<uint16_t>* data) : data_(data) {}
|
| @@ -213,7 +205,6 @@ class RegExpAtom : public RegExpTree {
|
| ZoneGrowableArray<uint16_t>* data_;
|
| };
|
|
|
| -
|
| class RegExpText : public RegExpTree {
|
| public:
|
| RegExpText() : elements_(2), length_(0) {}
|
| @@ -236,7 +227,6 @@ class RegExpText : public RegExpTree {
|
| intptr_t length_;
|
| };
|
|
|
| -
|
| class RegExpQuantifier : public RegExpTree {
|
| public:
|
| enum QuantifierType { GREEDY, NON_GREEDY, POSSESSIVE };
|
| @@ -285,7 +275,6 @@ class RegExpQuantifier : public RegExpTree {
|
| QuantifierType quantifier_type_;
|
| };
|
|
|
| -
|
| class RegExpCapture : public RegExpTree {
|
| public:
|
| explicit RegExpCapture(RegExpTree* body, intptr_t index)
|
| @@ -313,7 +302,6 @@ class RegExpCapture : public RegExpTree {
|
| intptr_t index_;
|
| };
|
|
|
| -
|
| class RegExpLookahead : public RegExpTree {
|
| public:
|
| RegExpLookahead(RegExpTree* body,
|
| @@ -345,7 +333,6 @@ class RegExpLookahead : public RegExpTree {
|
| intptr_t capture_from_;
|
| };
|
|
|
| -
|
| class RegExpBackReference : public RegExpTree {
|
| public:
|
| explicit RegExpBackReference(RegExpCapture* capture) : capture_(capture) {}
|
| @@ -362,7 +349,6 @@ class RegExpBackReference : public RegExpTree {
|
| RegExpCapture* capture_;
|
| };
|
|
|
| -
|
| class RegExpEmpty : public RegExpTree {
|
| public:
|
| RegExpEmpty() {}
|
|
|