Rename QmlJS::Check -> QmlJS::Evaluate.

It is used to evaluate expressions to values.
Done to make room for a real 'check' pass.
This commit is contained in:
Christian Kamm
2010-02-15 11:52:39 +01:00
parent 5448a9f0b7
commit b23fc0c572
7 changed files with 113 additions and 113 deletions

View File

@@ -28,7 +28,7 @@
**************************************************************************/
#include "qmljsinterpreter.h"
#include "qmljscheck.h"
#include "qmljsevaluate.h"
#include "qmljslink.h"
#include "parser/qmljsast_p.h"
#include <QtCore/QMetaObject>
@@ -2005,7 +2005,7 @@ ASTVariableReference::~ASTVariableReference()
const Value *ASTVariableReference::value(Context *context) const
{
Check check(context);
Evaluate check(context);
return check(_ast->expression);
}
@@ -2099,7 +2099,7 @@ bool ASTPropertyReference::getSourceLocation(QString *fileName, int *line, int *
const Value *ASTPropertyReference::value(Context *context) const
{
if (_ast->expression) {
Check check(context);
Evaluate check(context);
return check(_ast->expression);
}