// THIS FILE IS GENERATED
// WARNING! All changes made in this file will be lost!

#ifndef PHP_TOKEN_TEXT_H_INCLUDED
#define PHP_TOKEN_TEXT_H_INCLUDED

#include "parserexport.h"
#include "phptokentype.h"
namespace Php
{

QString KDEVPHPPARSER_EXPORT tokenText(int token)
{
    switch (token)
    {
    case TokenTypeWrapper::Token_ABSTRACT:
        return "abstract";
    case TokenTypeWrapper::Token_AND_ASSIGN:
        return "&=";
    case TokenTypeWrapper::Token_ARRAY:
        return "array";
    case TokenTypeWrapper::Token_ARRAY_CAST:
        return "array cast";
    case TokenTypeWrapper::Token_AS:
        return "as";
    case TokenTypeWrapper::Token_ASSIGN:
        return "=";
    case TokenTypeWrapper::Token_AT:
        return "@";
    case TokenTypeWrapper::Token_BACKSLASH:
        return "\\\\";
    case TokenTypeWrapper::Token_BACKTICK:
        return "`";
    case TokenTypeWrapper::Token_BANG:
        return "!";
    case TokenTypeWrapper::Token_BIT_AND:
        return "&";
    case TokenTypeWrapper::Token_BIT_OR:
        return "|";
    case TokenTypeWrapper::Token_BIT_XOR:
        return "^";
    case TokenTypeWrapper::Token_BOOLEAN_AND:
        return "&&";
    case TokenTypeWrapper::Token_BOOLEAN_OR:
        return "||";
    case TokenTypeWrapper::Token_BOOL_CAST:
        return "bool cast";
    case TokenTypeWrapper::Token_BREAK:
        return "break";
    case TokenTypeWrapper::Token_CASE:
        return "case";
    case TokenTypeWrapper::Token_CATCH:
        return "catch";
    case TokenTypeWrapper::Token_CLASS:
        return "class";
    case TokenTypeWrapper::Token_CLASS_C:
        return "__CLASS__";
    case TokenTypeWrapper::Token_CLONE:
        return "clone";
    case TokenTypeWrapper::Token_CLOSE_TAG:
        return "?>";
    case TokenTypeWrapper::Token_COLON:
        return ":";
    case TokenTypeWrapper::Token_COMMA:
        return ",";
    case TokenTypeWrapper::Token_COMMENT:
        return "comment";
    case TokenTypeWrapper::Token_CONCAT:
        return ".";
    case TokenTypeWrapper::Token_CONCAT_ASSIGN:
        return ".=";
    case TokenTypeWrapper::Token_CONST:
        return "const";
    case TokenTypeWrapper::Token_CONSTANT_ENCAPSED_STRING:
        return "constant encapsed string";
    case TokenTypeWrapper::Token_CONTINUE:
        return "continue";
    case TokenTypeWrapper::Token_CURLY_OPEN:
        return "curly open";
    case TokenTypeWrapper::Token_DEC:
        return "--";
    case TokenTypeWrapper::Token_DECLARE:
        return "declare";
    case TokenTypeWrapper::Token_DEFAULT:
        return "default";
    case TokenTypeWrapper::Token_DIV:
        return "/";
    case TokenTypeWrapper::Token_DIV_ASSIGN:
        return "/=";
    case TokenTypeWrapper::Token_DNUMBER:
        return "double number";
    case TokenTypeWrapper::Token_DO:
        return "do";
    case TokenTypeWrapper::Token_DOC_COMMENT:
        return "doc comment";
    case TokenTypeWrapper::Token_DOLLAR:
        return "$";
    case TokenTypeWrapper::Token_DOLLAR_OPEN_CURLY_BRACES:
        return "${";
    case TokenTypeWrapper::Token_DOUBLE_ARROW:
        return "=>";
    case TokenTypeWrapper::Token_DOUBLE_CAST:
        return "double cast";
    case TokenTypeWrapper::Token_DOUBLE_QUOTE:
        return "\\\"";
    case TokenTypeWrapper::Token_ECHO:
        return "echo";
    case TokenTypeWrapper::Token_ELSE:
        return "else";
    case TokenTypeWrapper::Token_ELSEIF:
        return "elseif";
    case TokenTypeWrapper::Token_EMPTY:
        return "empty";
    case TokenTypeWrapper::Token_ENCAPSED_AND_WHITESPACE:
        return "encapsed and whitespace";
    case TokenTypeWrapper::Token_ENDDECLARE:
        return "enddeclare";
    case TokenTypeWrapper::Token_ENDFOR:
        return "endfor";
    case TokenTypeWrapper::Token_ENDFOREACH:
        return "endforeach";
    case TokenTypeWrapper::Token_ENDIF:
        return "endif";
    case TokenTypeWrapper::Token_ENDSWITCH:
        return "endswitch";
    case TokenTypeWrapper::Token_ENDWHILE:
        return "endwhile";
    case TokenTypeWrapper::Token_END_HEREDOC:
        return "end heredoc";
    case TokenTypeWrapper::Token_END_NOWDOC:
        return "end nowdoc";
    case TokenTypeWrapper::Token_EOF:
        return "end of file";
    case TokenTypeWrapper::Token_EVAL:
        return "eval";
    case TokenTypeWrapper::Token_EXIT:
        return "exit";
    case TokenTypeWrapper::Token_EXTENDS:
        return "extends";
    case TokenTypeWrapper::Token_FILE:
        return "__FILE__";
    case TokenTypeWrapper::Token_FINAL:
        return "final";
    case TokenTypeWrapper::Token_FOR:
        return "for";
    case TokenTypeWrapper::Token_FOREACH:
        return "foreach";
    case TokenTypeWrapper::Token_FUNCTION:
        return "function";
    case TokenTypeWrapper::Token_FUNC_C:
        return "__FUNCTION__";
    case TokenTypeWrapper::Token_GLOBAL:
        return "global";
    case TokenTypeWrapper::Token_GOTO:
        return "goto";
    case TokenTypeWrapper::Token_HALT_COMPILER:
        return "halt compiler";
    case TokenTypeWrapper::Token_IF:
        return "if";
    case TokenTypeWrapper::Token_IMPLEMENTS:
        return "implements";
    case TokenTypeWrapper::Token_INC:
        return "++";
    case TokenTypeWrapper::Token_INCLUDE:
        return "include";
    case TokenTypeWrapper::Token_INCLUDE_ONCE:
        return "include_once";
    case TokenTypeWrapper::Token_INLINE_HTML:
        return "inline html";
    case TokenTypeWrapper::Token_INSTANCEOF:
        return "instanceof";
    case TokenTypeWrapper::Token_INSTEADOF:
        return "insteadof";
    case TokenTypeWrapper::Token_INTERFACE:
        return "interface";
    case TokenTypeWrapper::Token_INT_CAST:
        return "int cast";
    case TokenTypeWrapper::Token_INVALID:
        return "invalid token";
    case TokenTypeWrapper::Token_ISSET:
        return "isset";
    case TokenTypeWrapper::Token_IS_EQUAL:
        return "==";
    case TokenTypeWrapper::Token_IS_GREATER:
        return ">";
    case TokenTypeWrapper::Token_IS_GREATER_OR_EQUAL:
        return ">=";
    case TokenTypeWrapper::Token_IS_IDENTICAL:
        return "===";
    case TokenTypeWrapper::Token_IS_NOT_EQUAL:
        return "!=";
    case TokenTypeWrapper::Token_IS_NOT_IDENTICAL:
        return "!==";
    case TokenTypeWrapper::Token_IS_SMALLER:
        return "<";
    case TokenTypeWrapper::Token_IS_SMALLER_OR_EQUAL:
        return "<=";
    case TokenTypeWrapper::Token_LBRACE:
        return "{";
    case TokenTypeWrapper::Token_LBRACKET:
        return "[";
    case TokenTypeWrapper::Token_LINE:
        return "__LINE__";
    case TokenTypeWrapper::Token_LIST:
        return "list";
    case TokenTypeWrapper::Token_LNUMBER:
        return "long number";
    case TokenTypeWrapper::Token_LOGICAL_AND:
        return "logical and";
    case TokenTypeWrapper::Token_LOGICAL_OR:
        return "logical or";
    case TokenTypeWrapper::Token_LOGICAL_XOR:
        return "logical xor";
    case TokenTypeWrapper::Token_LPAREN:
        return "(";
    case TokenTypeWrapper::Token_METHOD_C:
        return "__METHOD__";
    case TokenTypeWrapper::Token_MINUS:
        return "-";
    case TokenTypeWrapper::Token_MINUS_ASSIGN:
        return "-=";
    case TokenTypeWrapper::Token_MOD:
        return "%";
    case TokenTypeWrapper::Token_MOD_ASSIGN:
        return "%=";
    case TokenTypeWrapper::Token_MUL:
        return "*";
    case TokenTypeWrapper::Token_MUL_ASSIGN:
        return "*=";
    case TokenTypeWrapper::Token_NAMESPACE:
        return "namespace";
    case TokenTypeWrapper::Token_NAMESPACE_C:
        return "__NAMESPACE__";
    case TokenTypeWrapper::Token_NEW:
        return "new";
    case TokenTypeWrapper::Token_NUM_STRING:
        return "num string";
    case TokenTypeWrapper::Token_OBJECT_CAST:
        return "object cast";
    case TokenTypeWrapper::Token_OBJECT_OPERATOR:
        return "->";
    case TokenTypeWrapper::Token_OPEN_TAG:
        return "<?";
    case TokenTypeWrapper::Token_OPEN_TAG_WITH_ECHO:
        return "<?=";
    case TokenTypeWrapper::Token_OR_ASSIGN:
        return "|=";
    case TokenTypeWrapper::Token_PAAMAYIM_NEKUDOTAYIM:
        return "::";
    case TokenTypeWrapper::Token_PLUS:
        return "+";
    case TokenTypeWrapper::Token_PLUS_ASSIGN:
        return "+=";
    case TokenTypeWrapper::Token_PRINT:
        return "print";
    case TokenTypeWrapper::Token_PRIVATE:
        return "private";
    case TokenTypeWrapper::Token_PROTECTED:
        return "protected";
    case TokenTypeWrapper::Token_PUBLIC:
        return "public";
    case TokenTypeWrapper::Token_QUESTION:
        return "?";
    case TokenTypeWrapper::Token_RBRACE:
        return "}";
    case TokenTypeWrapper::Token_RBRACKET:
        return "]";
    case TokenTypeWrapper::Token_REQUIRE:
        return "require";
    case TokenTypeWrapper::Token_REQUIRE_ONCE:
        return "require_once";
    case TokenTypeWrapper::Token_RETURN:
        return "return";
    case TokenTypeWrapper::Token_RPAREN:
        return ")";
    case TokenTypeWrapper::Token_SEMICOLON:
        return ";";
    case TokenTypeWrapper::Token_SL:
        return "<<";
    case TokenTypeWrapper::Token_SL_ASSIGN:
        return "<<=";
    case TokenTypeWrapper::Token_SR:
        return ">>";
    case TokenTypeWrapper::Token_SR_ASSIGN:
        return ">>=";
    case TokenTypeWrapper::Token_START_HEREDOC:
        return "start heredoc";
    case TokenTypeWrapper::Token_START_NOWDOC:
        return "start nowdoc";
    case TokenTypeWrapper::Token_STATIC:
        return "static";
    case TokenTypeWrapper::Token_STRING:
        return "string";
    case TokenTypeWrapper::Token_STRING_CAST:
        return "string cast";
    case TokenTypeWrapper::Token_STRING_VARNAME:
        return "string varname";
    case TokenTypeWrapper::Token_SWITCH:
        return "switch";
    case TokenTypeWrapper::Token_THROW:
        return "throw";
    case TokenTypeWrapper::Token_TILDE:
        return "~";
    case TokenTypeWrapper::Token_TRAIT:
        return "trait";
    case TokenTypeWrapper::Token_TRY:
        return "try";
    case TokenTypeWrapper::Token_UNSET:
        return "unset";
    case TokenTypeWrapper::Token_UNSET_CAST:
        return "unset cast";
    case TokenTypeWrapper::Token_USE:
        return "use";
    case TokenTypeWrapper::Token_VAR:
        return "var ";
    case TokenTypeWrapper::Token_VARIABLE:
        return "variable";
    case TokenTypeWrapper::Token_WHILE:
        return "while";
    case TokenTypeWrapper::Token_WHITESPACE:
        return "whitespace";
    case TokenTypeWrapper::Token_XOR_ASSIGN:
        return "^=";
    default:
        return "unknown token";
    }
}
} // end of namespace Php

#endif

