sequencialastiteratorvisitor.java
来自「Python Development Environment (Python I」· Java 代码 · 共 28 行
JAVA
28 行
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 + =
减小字号Ctrl + -
显示快捷键?