tree grammar 中文意思是什麼
tree grammar
解釋
樹文法-
Regular tree grammar
正則樹文法 -
It takes a plain javacc grammar file as input and automatically generates the following : a set of syntax tree classes based on the productions in the grammar using the visitor design pattern ; two interfaces visitor and objectvisitor ; two depth - first visitors depthfirstvisitor and objectdepthfirst ; and a javacc grammar with the proper annotations to build the syntax tree during parsing
它把普通的javacc語法文件作為輸入並自動生成下列各項:基於語法中的生成的一組語法樹類(使用visitor設計模式) ;兩個介面( visitor和objectvisitor ) ;兩個深度優先訪問器( depthfirstvisitor和objectdepthfirst ) ;和一個帶正確注釋的javacc語法(用於在解析期間構建語法樹) 。 -
Tree adjoining grammar
樹形加接語法 -
If you are designing a gui like this, you can easily translate menu commands into grammar rules, especially since menus already have a tree - like structure that makes sure there are no overlapping commands
如果您設計象這樣的gui ,則可以方便地將菜單命令轉化成文法規則,尤其是因為菜單已經具有了樹狀結構,這可以確保沒有重疊命令。
分享友人