1 package org.python.parser.ast; 3 import org.python.parser.SimpleNode; 4 import java.io.DataOutputStream ; 5 import java.io.IOException ; 6 7 public class Pass extends stmtType { 8 9 public Pass() { 10 } 11 12 public Pass(SimpleNode parent) { 13 this(); 14 this.beginLine = parent.beginLine; 15 this.beginColumn = parent.beginColumn; 16 } 17 18 public String toString() { 19 StringBuffer sb = new StringBuffer ("Pass["); 20 sb.append("]"); 21 return sb.toString(); 22 } 23 24 public void pickle(DataOutputStream ostream) throws IOException { 25 pickleThis(25, ostream); 26 } 27 28 public Object accept(VisitorIF visitor) throws Exception { 29 return visitor.visitPass(this); 30 } 31 32 public void traverse(VisitorIF visitor) throws Exception { 33 } 34 35 } 36 | Popular Tags |