📄 import.java
字号:
// Autogenerated AST nodepackage org.python.parser.ast;import org.python.parser.SimpleNode;import java.io.DataOutputStream;import java.io.IOException;public class Import extends stmtType { public aliasType[] names; public Import(aliasType[] names) { this.names = names; } public Import(aliasType[] names, SimpleNode parent) { this(names); this.beginLine = parent.beginLine; this.beginColumn = parent.beginColumn; } public String toString() { StringBuffer sb = new StringBuffer("Import["); sb.append("names="); sb.append(dumpThis(this.names)); sb.append("]"); return sb.toString(); } public void pickle(DataOutputStream ostream) throws IOException { pickleThis(20, ostream); pickleThis(this.names, ostream); } public Object accept(VisitorIF visitor) throws Exception { return visitor.visitImport(this); } public void traverse(VisitorIF visitor) throws Exception { if (names != null) { for (int i = 0; i < names.length; i++) { if (names[i] != null) names[i].accept(visitor); } } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -