summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/javascript.g
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-05-14 09:43:12 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-05-14 09:43:12 (GMT)
commit699e4ebfca621d4a009221b4304c3773cb783f7b (patch)
treed9bdf16281f2dd79c0c1dcc7e5c1c361e417cc0c /src/declarative/qml/parser/javascript.g
parent96bf1dee730651afa4f763fd5d7d52e49921d214 (diff)
downloadQt-699e4ebfca621d4a009221b4304c3773cb783f7b.zip
Qt-699e4ebfca621d4a009221b4304c3773cb783f7b.tar.gz
Qt-699e4ebfca621d4a009221b4304c3773cb783f7b.tar.bz2
Renamed JavaScriptEnginePrivate in Engine.
Diffstat (limited to 'src/declarative/qml/parser/javascript.g')
-rw-r--r--src/declarative/qml/parser/javascript.g8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/parser/javascript.g b/src/declarative/qml/parser/javascript.g
index b70774b..53d10b6 100644
--- a/src/declarative/qml/parser/javascript.g
+++ b/src/declarative/qml/parser/javascript.g
@@ -215,7 +215,7 @@ class QString;
namespace JavaScript {
-class JavaScriptEnginePrivate;
+class Engine;
class NameId;
class Parser: protected $table
@@ -287,7 +287,7 @@ public:
Parser();
~Parser();
- bool parse(JavaScriptEnginePrivate *driver);
+ bool parse(Engine *driver);
AST::UiProgram *ast()
{ return program; }
@@ -383,7 +383,7 @@ void Parser::reallocateStack()
location_stack = reinterpret_cast<AST::SourceLocation*> (qRealloc(location_stack, stack_size * sizeof(AST::SourceLocation)));
}
-inline static bool automatic(JavaScriptEnginePrivate *driver, int token)
+inline static bool automatic(Engine *driver, int token)
{
return token == $table::T_RBRACE
|| token == 0
@@ -421,7 +421,7 @@ static inline AST::SourceLocation location(Lexer *lexer)
return loc;
}
-bool Parser::parse(JavaScriptEnginePrivate *driver)
+bool Parser::parse(Engine *driver)
{
Lexer *lexer = driver->lexer();
bool hadErrors = false;