antlr4缺少文件Python3LexerBase.go

huangapple go评论94阅读模式
英文:

antlr4 missing file Python3LexerBase.go

问题

抱歉,我无法提供具体的代码文件。你可以尝试在相关的代码库或论坛上搜索Python3LexerBase.go文件,或者尝试联系其他开发者获取该文件。祝你好运!

英文:

guys I need to analysis python by golang with antlr4,I found Python3LexerBase.go is missing,Does anyone have it?danke

答案1

得分: 1

该文件在grammars的Github仓库中没有提供。您需要自己实现该类。您可以查看已提供的Python3LexerBase类的其他实现(如果我没记错的话,提供了C#,Java和Python的实现)。

另请参阅:https://github.com/antlr/grammars-v4/issues/2288

请注意,grammars的Github仓库不是ANTLR的作者/维护者官方维护的存储库。它是其他人的大量(测试不太充分)贡献。不要期望所有文件都在那里,并且在除了您正在进行的小型边缘/个人项目之外的任何其他项目中使用时要小心。

英文:

That file is not provided in the Github repo of grammars. You'll need to implement that class yourself. You can look at the other implementations that are provided of the Python3LexerBase class (C#, Java and Python are provided, if memory serves me well).

Also see: https://github.com/antlr/grammars-v4/issues/2288

Please note that the Github repo of grammars is not an official maintained repository of the authors/maintainers of ANTLR. It is a large amount of (not too well tested) contributions of other people. Do not expect all files to be there, and be cautious when using them in anything other than a small side/pet project you're working on.

huangapple
  • 本文由 发表于 2021年10月22日 17:36:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/69674605.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定