forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user