QmlJSStaticAnalysis: make PrototypeMessageData public

We need this in the rewriter to avoid warning.

Change-Id: Ia99583e080eed936d98517ce553294d3040f8cee
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Thomas Hartmann
2013-04-10 14:38:08 +02:00
parent 7b94ac13ed
commit 86ae825033
2 changed files with 19 additions and 9 deletions

View File

@@ -131,6 +131,14 @@ enum Type
ErrInvalidArrayValueLength = 323
};
class QMLJS_EXPORT PrototypeMessageData {
public:
Type type;
Severity severity;
QString message;
int placeholders;
};
class QMLJS_EXPORT Message
{
public:
@@ -152,6 +160,8 @@ public:
QString message;
Type type;
Severity severity;
static const PrototypeMessageData prototypeForMessageType(Type type);
};
} // namespace StaticAnalysis