java确实在IntelliJ中存在类似于ASTNode标识符的东西 1 周,3 日 Questions & Answers 374 我正在为IntelliJ Idea编写一个插件,现在我需要一个类似于ASTNode标识符的东西,它必须对AST中的每个节点都是唯一的 我应该用什么
# 1 楼答案 如果您正在为自定义语言编写插件,我会参考以下内容: http://confluence.jetbrains.com/display/IDEADEV/Developing+Custom+Language+Plugins+for+IntelliJ+IDEA#DevelopingCustomLanguagePluginsforIntelliJIDEA-ImplementingaParserandPSI 也可以考虑使用:开发语言插件 https://github.com/JetBrains/Grammar-Kit
# 1 楼答案
如果您正在为自定义语言编写插件,我会参考以下内容:
http://confluence.jetbrains.com/display/IDEADEV/Developing+Custom+Language+Plugins+for+IntelliJ+IDEA#DevelopingCustomLanguagePluginsforIntelliJIDEA-ImplementingaParserandPSI
也可以考虑使用:
开发语言插件https://github.com/JetBrains/Grammar-Kit