• Visit-node takes a list of visitor functions, each with a signature (fn [node state]) that returns a context map, which can contain the keys: node, : state, : stop, or: jump.

    visit - node获取访问者函数列表,其中每个函数都一个返回上下文映射签名(fn [nodestate]),上下文映射可能包含:node、: state、:stop:jump。

    youdao

  • PROCESS_ABORT — The visitor isn't interested in visiting at all, so accept returns false.

    PROCESS_ABORT——访问程序对访问根本兴趣,所以accept返回false。

    youdao

  • It returns one of the FileVisitResult's enum values to tell the file visitor API what to do next.

    返回一个filevisitresult枚举告诉文件访问程序api下一步什么

    youdao

  • This function returns an anonymous visitor function that will jump to the next node if the node is not of the correct type.

    函数返回匿名访问者函数,如果节点类型正确,则该函数跳转一个节点。

    youdao

  • If the visitor is interested, the node calls the visitor's visit method, which returns one of three values.

    如果感兴趣节点调用访问程序的visit方法方法返回下列三个中的一个

    youdao

  • PROCESS_SKIP — the visitor isn't interested in the node's children, so accept returns true.

    PROCESS_SKIP——访问程序对节点子节点兴趣,所以accept返回true。

    youdao

  • The string-visitor function looks for a string node and returns an updated state that captures the node.

    string-visitor函数查找字符串节点返回捕捉节点的更新后状态

    youdao

  • The primary difference in tree-visitor is that the visit-node function returns several items: a new-node, a new-state, and a stop flag.

    tree-visitor中的主要差别在于,visit-node函数返回多个项目个 new-node、一个new-state一个 stop 标记。

    youdao

  • If the Boolean field is false or visit returns PROCESS_CONTINUE, accept calls the accept method of each of its children and passes the visitor as its argument.

    如果Boolean字段falsevisit返回PROCESS_CONTINUE,accept调用每个子节点accept方法访问程序当作参数

    youdao

  • The string-finder calls the tree-visitor with string-visitor and returns the final state.

    string - finder调用tree - visitorstring -visitor返回最终状态。

    youdao

  • The string-finder calls the tree-visitor with string-visitor and returns the final state.

    string - finder调用tree - visitorstring -visitor返回最终状态。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定