Web/common/Code/C_Cpp.js
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*************************************
* C/C++ Syntax Definition
*************************************/
FCSyntaxDef ["CPP"] = {
name : "C/C++",
delimiters : "~!%^&*()-+=|\\/{}[]:;\"'<>,.?",
comments : "//",
cmtcolor : "#008080",
blocks : {
String : {
name : "字符串",
color : "#ff00ff",
begin : "\"",
end : "\"",
escape : "\\"
},
Char : {
name : "字符",
color : "#4080ff",
begin : "'",
end : "'",
escape : "\\"
},
BlockComment : {
name : "块注释",
color : "#008080",
begin : "/*",
end : "*/",
lines : true
}
},
keywords : {
Operator : {
name : "运算符",
color : "#0000ff",
list : "+ - = / % & > < ^ ! | : [ ] { } ( ) , ; . ~ * ?"
},
Keyword : {
name : "语法关键字",
color : "#800000",
style : "b",
list : "auto break class catch case continue const default do delete else extern "
+ "for friend goto inline if new namespace operator private protected public "
+ "return sizeof switch static this try template throw typedef virtual while "
},
VarType : {
name : "变量类型关键字",
color : "#ff8000",
style : "b",
list : "char double enum float int long register short signed struct "
+ "union unsigned void volatile "
},
Compiler : {
name : "编译关键字",
color : "#008000",
style : "b",
list : "#define #error #include #elif #if #line #else #ifdef #pragma #endif #ifndef "
+ "#undef defined __asm __fastcall __self __segment __based __segname __fortran "
+ "__cdecl __huge __far __saveregs __export __pascal __near __loadds __interrupt "
+ "__inline __multiple_inheritance __single_inheritance __virtual_inheritance "
后面还有 5 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
