Skip to content

Commit e5b69e7

Browse files
committed
Interpreter Pattern
1 parent 9452133 commit e5b69e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,8 @@
137137

138138
> [解释器模式(Interpreter Pattern)](/Example/Iterator-Pattern.js)
139139
140+
定义:提供了评估语言的语法或表达式的方式。
141+
目的:对于一些固定文法构建一个解释句子的解释器。
142+
场景:编译器、运算表达式计算。
143+
140144
> [访问者模式(Visitor Pattern)](/Example/Visitor-Pattern.js)

0 commit comments

Comments
 (0)