Showing `Error` while parisng
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- javascript
- 领域
- compilers
调研方向
首先使用 npm run parse filename 重现该问题,并比较报告的 ERROR 范围附近的输出。追踪 parser 跳过主要代码部分的原因,然后验证完整的示例代码解析时不会出现 ERROR 节点。
由索引模型根据 Issue 内容生成。
描述
The npm run parse filename is throwing error and not parsing the complete code.
Below is sample output
(array [90, 12] - [90, 14]))))))
(ERROR [91, 12] - [1861, 70]))))))))
(expression_statement [1862, 12] - [1862, 88]
It skipped the major code.
- 主要语言
- JavaScript
- 星标
- 61
- 派生
- 22
- 平均合并
- 3 天 8 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rescript-lang/tree-sitter-rescript 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 48/100
rescript-lang/tree-sitter-rescript#290 · 1 条评论 · 1 个 reaction ·
-
bikeshedding
难度 3/5 1-2 天 新手友好度 35/100
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
rescript-lang/tree-sitter-rescript#202 · 1 个 reaction ·
查看 rescript-lang/tree-sitter-rescript 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
murdos/musicbrainz-userscripts#1150 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
web-scrobbler/web-scrobbler#6266 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
exa-studio/ApiVault#329 ·