The matched function is like our prior visitor functions but takes a node type to search for at the beginning.
所匹配的函数类似于我们之前的访问者函数,但在开始时会获取一个要搜索的节点类型。
Allows you to search for books and return title, author, book type, and description.
允许您搜索图书,并返回标题、作者、图书类型、图书描述。
For this type of search, giving meaningful names to individual mappings makes searching for mappings easier.
对于这类搜索,为映射起一个有意义的名字将令搜索变得更简单。
应用推荐