如何使用 SonarSource 语言识别器显示 AST?
How to display the AST with SonarSource Language Recognizer?
我想为我的 AST 获得相同的显示,这里似乎是可能的:https://docs.sonarqube.org/latest/extend/adding-coding-rules/
但是,我不知道该怎么做。
使用 SSLR 构建语法后,您可以插入 "toolkit" 和 运行 以显示 AST。看看它是如何完成的 in sonar-python.
我想为我的 AST 获得相同的显示,这里似乎是可能的:https://docs.sonarqube.org/latest/extend/adding-coding-rules/
但是,我不知道该怎么做。
使用 SSLR 构建语法后,您可以插入 "toolkit" 和 运行 以显示 AST。看看它是如何完成的 in sonar-python.