1
// Autogenerated AST node
2
package org.python.pydev.parser.jython.ast;
3
import org.python.pydev.parser.jython.SimpleNode;
4
import java.io.DataOutputStream;
5
import java.io.IOException;
7
public class Raise extends stmtType {
10
public exprType tback;
12
public Raise(exprType type, exprType inst, exprType tback) {
18
public Raise(exprType type, exprType inst, exprType tback, SimpleNode
20
this(type, inst, tback);
21
this.beginLine = parent.beginLine;
22
this.beginColumn = parent.beginColumn;
25
public String toString() {
26
StringBuffer sb = new StringBuffer("Raise[");
28
sb.append(dumpThis(this.type));
31
sb.append(dumpThis(this.inst));
34
sb.append(dumpThis(this.tback));
39
public void pickle(DataOutputStream ostream) throws IOException {
40
pickleThis(18, ostream);
41
pickleThis(this.type, ostream);
42
pickleThis(this.inst, ostream);
43
pickleThis(this.tback, ostream);
46
public Object accept(VisitorIF visitor) throws Exception {
47
return visitor.visitRaise(this);
50
public void traverse(VisitorIF visitor) throws Exception {
56
tback.accept(visitor);