软件工程

262 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
262
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

软件工程

  1. 1. 软件架构设计  前端  界面,实现Visitor接口,实现画图。  后端  分析,分析输入生成语法树 接口:Visitor 前端 后端
  2. 2. 架构特点 使用访问者模式   模块独立性高,耦合度低 Visitor Execute Drawing Board Statement Tree Command Area Analysis Command String
  3. 3. Analysis Data Methods (Resource & Product) (Machine) Command fd 10 String Scan Token fd 10 Queue Statement fd 10 Tree Generate Tree
  4. 4. Execute & Draw Command Execute(Command, Visitor) Analysis Command and get statement tree st. Drawing Board db For each element E in st: (Realization of Visitor) Execute E.accept(db)
  5. 5. 访问者模式

×