forked from qt-creator/qt-creator
QmlJS: Introduce UnknownValue.
To distinguish known-to-be-undefined from a genuinely unknown value. Change-Id: I606b4ea4d726f94553400b8950d3c0a4e76564a8 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -46,6 +46,7 @@ namespace QmlJS {
|
||||
class Value;
|
||||
class NullValue;
|
||||
class UndefinedValue;
|
||||
class UnknownValue;
|
||||
class NumberValue;
|
||||
class IntValue;
|
||||
class RealValue;
|
||||
@@ -72,6 +73,7 @@ public:
|
||||
|
||||
const NullValue *nullValue() const;
|
||||
const UndefinedValue *undefinedValue() const;
|
||||
const UnknownValue *unknownValue() const;
|
||||
const NumberValue *numberValue() const;
|
||||
const RealValue *realValue() const;
|
||||
const IntValue *intValue() const;
|
||||
@@ -174,6 +176,7 @@ private:
|
||||
|
||||
NullValue _nullValue;
|
||||
UndefinedValue _undefinedValue;
|
||||
UnknownValue _unknownValue;
|
||||
NumberValue _numberValue;
|
||||
RealValue _realValue;
|
||||
IntValue _intValue;
|
||||
|
||||
Reference in New Issue
Block a user