summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/script/tokens.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/script/tokens.cpp')
-rw-r--r--src/declarative/qml/script/tokens.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/declarative/qml/script/tokens.cpp b/src/declarative/qml/script/tokens.cpp
deleted file mode 100644
index a2fb100..0000000
--- a/src/declarative/qml/script/tokens.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/****************************************************************************
-**
-** This file is part of the $PACKAGE_NAME$.
-**
-** Copyright (C) $THISYEAR$ $COMPANY_NAME$.
-**
-** $QT_EXTENDED_DUAL_LICENSE$
-**
-****************************************************************************/
-
-#include "tokens.h"
-
-
-/*!
- Returns a string representation of token \a tok.
-*/
-const char *tokenToString(Token tok)
-{
- switch(tok) {
-#define CASE(X) case X: return #X;
- CASE(NOTOKEN)
- CASE(INCOMPLETE)
- CASE(WHITESPACE)
- CASE(LANGLE)
- CASE(RANGLE)
- CASE(PLUS)
- CASE(MINUS)
- CASE(STAR)
- CASE(EQUALS)
- CASE(DOT)
- CASE(CHARACTER)
- CASE(DIGIT)
- CASE(OTHER)
- CASE(AND)
- case TOKEN_TRUE:
- return "TRUE";
- case TOKEN_FALSE:
- return "FALSE";
-#undef CASE
- }
- return 0;
-}
-