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 suiteType extends SimpleNode {
8
public stmtType[] body;
10
public suiteType(stmtType[] body) {
14
public suiteType(stmtType[] body, SimpleNode parent) {
16
this.beginLine = parent.beginLine;
17
this.beginColumn = parent.beginColumn;
20
public String toString() {
21
StringBuffer sb = new StringBuffer("suite[");
23
sb.append(dumpThis(this.body));
28
public void pickle(DataOutputStream ostream) throws IOException {
29
pickleThis(6, ostream);
30
pickleThis(this.body, ostream);
33
public Object accept(VisitorIF visitor) throws Exception {
38
public void traverse(VisitorIF visitor) throws Exception {
40
for (int i = 0; i < body.length; i++) {
42
body[i].accept(visitor);