dc9dde284d
of the warnings.
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
$OpenBSD: patch-include_Attribute_h,v 1.2 2005/09/06 22:47:35 espie Exp $
|
|
--- include/Attribute.h.orig Sun May 2 17:36:36 1999
|
|
+++ include/Attribute.h Wed Sep 7 00:00:52 2005
|
|
@@ -31,6 +31,27 @@ class AttributeSemantics;
|
|
class AttributeContext;
|
|
class Syntax;
|
|
|
|
+class SP_API AttributeValue : public Resource {
|
|
+public:
|
|
+ enum Type {
|
|
+ implied,
|
|
+ cdata,
|
|
+ tokenized
|
|
+ };
|
|
+ AttributeValue();
|
|
+ virtual ~AttributeValue();
|
|
+ virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
|
|
+ AttributeContext &,
|
|
+ const StringC &,
|
|
+ unsigned &,
|
|
+ unsigned &) const;
|
|
+ virtual Type info(const Text *&, const StringC *&) const = 0;
|
|
+ virtual const Text *text() const;
|
|
+ virtual Boolean recoverUnquoted(const StringC &, const Location &,
|
|
+ AttributeContext &, const StringC &);
|
|
+ static Boolean handleAsUnterminated(const Text &, AttributeContext &);
|
|
+};
|
|
+
|
|
class SP_API AttributeDefinitionDesc {
|
|
public:
|
|
AttributeDefinitionDesc() { }
|
|
@@ -371,27 +392,6 @@ public:
|
|
AttributeSemantics *copy() const;
|
|
private:
|
|
ConstPtr<Notation> notation_;
|
|
-};
|
|
-
|
|
-class SP_API AttributeValue : public Resource {
|
|
-public:
|
|
- enum Type {
|
|
- implied,
|
|
- cdata,
|
|
- tokenized
|
|
- };
|
|
- AttributeValue();
|
|
- virtual ~AttributeValue();
|
|
- virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
|
|
- AttributeContext &,
|
|
- const StringC &,
|
|
- unsigned &,
|
|
- unsigned &) const;
|
|
- virtual Type info(const Text *&, const StringC *&) const = 0;
|
|
- virtual const Text *text() const;
|
|
- virtual Boolean recoverUnquoted(const StringC &, const Location &,
|
|
- AttributeContext &, const StringC &);
|
|
- static Boolean handleAsUnterminated(const Text &, AttributeContext &);
|
|
};
|
|
|
|
class SP_API ImpliedAttributeValue : public AttributeValue {
|