fork
This commit is contained in:
23
langs/c++/c++.txt
Normal file
23
langs/c++/c++.txt
Normal file
@ -0,0 +1,23 @@
|
||||
### C++ LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME C++
|
||||
VERSION 1.8.1
|
||||
|
||||
COMMENT (?default)
|
||||
PREPROCESSOR (?default)
|
||||
STRING (?default)
|
||||
|
||||
STATEMENT (?default)|\b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
MODIFIER (?default)|\b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY (?default)
|
||||
# TODO: the use of priorities would be suitable here, last check for &*** vars might match entity
|
||||
VARIABLE (?default)|(?default:identifier)(?=::)|\b(?<=\-\>)\s*[A-Za-z_]\w*|&(?default:identifier)\s*(?!\()
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
30
langs/c++/modifier.txt
Normal file
30
langs/c++/modifier.txt
Normal file
@ -0,0 +1,30 @@
|
||||
__forceinline
|
||||
__attribute__
|
||||
__extension__
|
||||
thread_local
|
||||
__volatile__
|
||||
__complex__
|
||||
__abstract
|
||||
__declspec
|
||||
__property
|
||||
__inline__
|
||||
__restrict
|
||||
selectany
|
||||
__const__
|
||||
__label__
|
||||
volatile
|
||||
register
|
||||
__inline
|
||||
noinline
|
||||
property
|
||||
register
|
||||
__imag__
|
||||
__real__
|
||||
restrict
|
||||
mutable
|
||||
virtual
|
||||
__cdecl
|
||||
extern
|
||||
inline
|
||||
__pin
|
||||
ref
|
57
langs/c++/reserved.txt
Normal file
57
langs/c++/reserved.txt
Normal file
@ -0,0 +1,57 @@
|
||||
__multiple_inheritance
|
||||
__virtual_inheritance
|
||||
__single_inheritance
|
||||
reinterpret_cast
|
||||
dynamic_cast
|
||||
__identifier
|
||||
static_cast
|
||||
__unaligned
|
||||
__alignof__
|
||||
const_cast
|
||||
__delegate
|
||||
deprecated
|
||||
__fastcall
|
||||
__alignof
|
||||
dllexport
|
||||
dllimport
|
||||
__stdcall
|
||||
alignas
|
||||
explicit
|
||||
noexcept
|
||||
typename
|
||||
__assume
|
||||
delegate
|
||||
__except
|
||||
initonly
|
||||
ifstream
|
||||
ofstream
|
||||
noreturn
|
||||
novtable
|
||||
safecast
|
||||
__sealed
|
||||
__unhook
|
||||
__uuidof
|
||||
alignof
|
||||
__based
|
||||
__event
|
||||
nothrow
|
||||
__raise
|
||||
__super
|
||||
__align
|
||||
__asm__
|
||||
sizeof
|
||||
export
|
||||
typeid
|
||||
__hook
|
||||
__noop
|
||||
sealed
|
||||
compl
|
||||
using
|
||||
__asm
|
||||
__box
|
||||
event
|
||||
naked
|
||||
__asm
|
||||
cout
|
||||
uuid
|
||||
asm
|
16
langs/c++/statement.txt
Normal file
16
langs/c++/statement.txt
Normal file
@ -0,0 +1,16 @@
|
||||
__if_not_exists
|
||||
static_assert
|
||||
__if_exists
|
||||
__try_cast
|
||||
__finally
|
||||
__finally
|
||||
__except
|
||||
__leave
|
||||
and_eq
|
||||
bitand
|
||||
not_eq
|
||||
xor_eq
|
||||
bitor
|
||||
or_eq
|
||||
__try
|
||||
__try
|
42
langs/c++/type.txt
Normal file
42
langs/c++/type.txt
Normal file
@ -0,0 +1,42 @@
|
||||
uint_least16_t
|
||||
uint_least32_t
|
||||
interior_ptr
|
||||
__interface
|
||||
__signed__
|
||||
_Imaginary
|
||||
constexpr
|
||||
friend_as
|
||||
__wchar_t
|
||||
decltype
|
||||
char16_t
|
||||
char32_t
|
||||
operator
|
||||
template
|
||||
template
|
||||
_Complex
|
||||
nullptr
|
||||
wchar_t
|
||||
generic
|
||||
__int16
|
||||
__int32
|
||||
__int64
|
||||
literal
|
||||
__m128d
|
||||
__m128i
|
||||
nullptr
|
||||
__value
|
||||
wchar_t
|
||||
friend
|
||||
struct
|
||||
__int8
|
||||
__m128
|
||||
__nogc
|
||||
thread
|
||||
union
|
||||
gcnew
|
||||
__m64
|
||||
value
|
||||
__w64
|
||||
_Bool
|
||||
enum
|
||||
__gc
|
Reference in New Issue
Block a user