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

📄 sequencialastiteratorvisitor.java

📁 Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
💻 JAVA
字号:
package org.python.pydev.parser.visitors.scope;

import org.python.pydev.parser.jython.SimpleNode;

public class SequencialASTIteratorVisitor extends EasyAstIteratorBase{

    protected Object unhandled_node(SimpleNode node) throws Exception {
    	atomic(node);
    	super.unhandled_node(node);
    	return null;
    }
    
    /**
     * Creates the iterator and transverses the passed root so that the results can be gotten.
     */
    public static SequencialASTIteratorVisitor create(SimpleNode root){
        SequencialASTIteratorVisitor visitor = new SequencialASTIteratorVisitor();
        try {
            root.accept(visitor);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return visitor;
    }
    

}

⌨️ 快捷键说明

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