⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 visitor.java

📁 无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上.
💻 JAVA
字号:
package org.python.parser;import org.python.parser.ast.*;public class Visitor extends VisitorBase {    /**     * Visit each of the children one by one.     * @args node The node whose children will be visited.     */    public void traverse(SimpleNode node) throws Exception {        node.traverse(this);    }    public void visit(SimpleNode[] nodes) throws Exception {        for (int i = 0; i < nodes.length; i++) {            visit(nodes[i]);        }    }    /**     * Visit the node by calling a visitXXX method.     */    public Object visit(SimpleNode node) throws Exception {        open_level(node);        Object ret = node.accept(this);        close_level(node);        return ret;    }    protected Object unhandled_node(SimpleNode node) throws Exception {        return this;    }    protected void open_level(SimpleNode node) throws Exception {    }    protected void close_level(SimpleNode node) throws Exception {    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -