摘要:
1.使用语法树 当我们要编写一个规则,例如 检测正值表达式的时候,如何编写有效的规则呢 这里我们可以借助分析工具 Roslyn Syntax Visualizer,在 视图>其他窗口>Syntax Visualizer 当我们在ConsoleApp项目中编写如下代码 发现 SyntaxTree (以 阅读全文
posted @ 2017-11-21 19:35
fishpro
阅读(1323)
评论(0)
推荐(0)
摘要:
1.下载Roslyn的Visual Studio分析器模板插件(VS2015 或VS2017) https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.NETCompilerPlatformSDK 我后来 阅读全文
posted @ 2017-11-21 18:22
fishpro
阅读(2007)
评论(0)
推荐(0)

浙公网安备 33010602011771号