Elysia Tools
导航
代码处理
代码注释测试文件:JavaScript、Python、CSS、HTML 与 C++
下载含多种注释与字符串边界的代码文件,测试注释识别或移除。
案例
这个案例集合中的条目
JavaScript混合注释
包含单行、多行注释、URL和shebang的JavaScript文件
难度
4/10
预计时间
2分钟
标签
javascript, comments, single-line, multi-line, urls, shebang
- fileSize
- 1611 B
- lineCount
- 66
- commentTypes
- ["//","/* */"]
- hasUrls
- true
- hasShebang
- true
Python注释
包含井号注释、文档字符串和三引号字符串表达式的Python文件
难度
3/10
预计时间
2分钟
标签
python, comments, hash, triple-quoted, docstrings
- fileSize
- 1929 B
- lineCount
- 83
- commentTypes
- ["#"]
- hasDocstrings
- true
CSS注释
包含多行注释和样式规则的CSS文件
难度
2/10
预计时间
1分钟
标签
css, comments, multi-line, styles
- fileSize
- 1881 B
- lineCount
- 114
- commentTypes
- ["/* */"]
- hasStyleRules
- true
HTML注释
包含HTML样式注释和混合内容的HTML文件
难度
2/10
预计时间
1分钟
标签
html, comments, mixed-content
- fileSize
- 1.3 KB
- lineCount
- 38
- commentTypes
- ["<!-- -->"]
- hasMixedContent
- true
C++注释
包含单行和多行注释以及函数文档的C++文件
难度
3/10
预计时间
2分钟
标签
cpp, c++, comments, documentation, functions
- fileSize
- 2834 B
- lineCount
- 112
- commentTypes
- ["//","/* */"]
- hasDocumentation
- true
工具
经常与该案例搭配使用的工具
相关内容
相关案例集合
相关内容