equal
deleted
inserted
replaced
73 QString toString() const; |
73 QString toString() const; |
74 const Atom *firstAtom() const { return first; } |
74 const Atom *firstAtom() const { return first; } |
75 const Atom *lastAtom() const { return last; } |
75 const Atom *lastAtom() const { return last; } |
76 Text subText(Atom::Type left, Atom::Type right, const Atom *from = 0) const; |
76 Text subText(Atom::Type left, Atom::Type right, const Atom *from = 0) const; |
77 void dump() const; |
77 void dump() const; |
|
78 void clear(); |
78 |
79 |
79 static Text subText(const Atom *begin, const Atom *end = 0); |
80 static Text subText(const Atom *begin, const Atom *end = 0); |
80 static Text sectionHeading(const Atom *sectionBegin); |
81 static Text sectionHeading(const Atom *sectionBegin); |
81 static const Atom *sectionHeadingAtom(const Atom *sectionLeft); |
82 static const Atom *sectionHeadingAtom(const Atom *sectionLeft); |
82 static int compare(const Text &text1, const Text &text2); |
83 static int compare(const Text &text1, const Text &text2); |
83 |
84 |
84 private: |
85 private: |
85 void clear(); |
|
86 |
86 |
87 Atom *first; |
87 Atom *first; |
88 Atom *last; |
88 Atom *last; |
89 }; |
89 }; |
90 |
90 |