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