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