2017-07-24 22:28:13 +03:00
|
|
|
// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com>
|
|
|
|
|
//
|
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
|
|
|
// in the Software without restriction, including without limitation the rights
|
|
|
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
|
//
|
|
|
|
|
// The above copyright notice and this permission notice shall be included in
|
|
|
|
|
// all copies or substantial portions of the Software.
|
|
|
|
|
//
|
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
|
// THE SOFTWARE.
|
2010-02-06 11:05:43 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2010-02-06 11:05:43 +01:00
|
|
|
|
|
|
|
|
#include "CPlusPlusForwardDeclarations.h"
|
|
|
|
|
|
|
|
|
|
namespace CPlusPlus {
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
|
Token_not_Qt_context_keyword = 0,
|
|
|
|
|
Token_READ,
|
|
|
|
|
Token_USER,
|
|
|
|
|
Token_FINAL,
|
|
|
|
|
Token_RESET,
|
|
|
|
|
Token_WRITE,
|
|
|
|
|
Token_NOTIFY,
|
|
|
|
|
Token_STORED,
|
|
|
|
|
Token_CONSTANT,
|
|
|
|
|
Token_DESIGNABLE,
|
2011-10-25 13:42:07 +02:00
|
|
|
Token_SCRIPTABLE,
|
2013-10-08 13:42:39 +02:00
|
|
|
Token_REVISION,
|
2020-12-24 01:42:10 +01:00
|
|
|
Token_MEMBER,
|
|
|
|
|
Token_BINDABLE
|
2010-02-06 11:05:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
CPLUSPLUS_EXPORT int classifyQtContextKeyword(const char *s, int n);
|
|
|
|
|
} // namespace CPlusPlus;
|