知识卡片
语法分析扩展治理
缺少专门架构测试框架时,可利用语言的词法、语法分析器及linter插件表达结构规则。它们能治理的内容取决于可获得的语法和语义信息;不能把纯文本匹配看成可靠的运行时行为证明。先明确要约束的结构,再选择可支撑该约束的分析层。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 语法分析扩展治理
原书出处 · 1 处
- Automating Architectural Governance · 查看原书依据
A common question we field from salivating architects from platforms other than Java and .NET is whether there is a tool for platform X to ArchUnit that is equivalent. While tools as specific as ArchUnit are rare, most programming languages include a linter, a utility that scans source code to find coding antipatterns and deficiencies. Generally, the linter lexes and parses the source code, providing
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第04章《Automating Architectural Governance》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch04.html;段落定位:Generally, the linter lexes and parses)
- 结论依据:原文对“语法分析扩展治理”的定义或案例,支撑“缺少专门架构测试框架时,可利用语言的词法、语法分析器及linter插件表达结构规则”的归纳。据其上下文,它们能治理的内容取决于可获得的语法和语义信息;不能把纯文本匹配看成可靠的运行时行为证明。
- 原始内容:A common question we field from salivating architects from platforms other than Java and .NET is whether there is a tool for platform X to ArchUnit that is equivalent. While tools as specific as ArchUnit are rare, most programming languages include a linter, a utility that scans source code to find coding antipatterns and deficiencies. Generally, the linter lexes and parses the source code, providing