1
// Copyright (c) 1995 James Clark
2
// See the file COPYING for copying permission.
4
#ifndef SdText_INCLUDED
5
#define SdText_INCLUDED 1
18
namespace SP_NAMESPACE {
21
struct SP_API SdTextItem {
30
SdText(const Location &loc, Boolean lita);
32
void addChar(SyntaxChar, const Location &);
33
const String<SyntaxChar> &string() const;
35
Location endDelimLocation() const;
38
String<SyntaxChar> chars_;
39
Vector<SdTextItem> items_;
40
friend class SdTextIter;
43
class SP_API SdTextIter {
45
SdTextIter(const SdText &);
46
Boolean next(const SyntaxChar *&, size_t &, Location &);
53
Boolean SdText::lita() const
59
const String<SyntaxChar> &SdText::string() const
68
#endif /* not SdText_INCLUDED */