ErrorStmt.java :  » Scripting » Jython-2.5.1 » org » python » antlr » ast » Java Open Source

Java Open Source » Scripting » Jython 2.5.1 
Jython 2.5.1 » org » python » antlr » ast » ErrorStmt.java
package org.python.antlr.ast;
import org.python.antlr.PythonTree;
import org.python.antlr.base.stmt;
import org.antlr.runtime.CommonToken;
import org.antlr.runtime.Token;
import java.io.DataOutputStream;
import java.io.IOException;

public class ErrorStmt extends stmt {

    public ErrorStmt(PythonTree tree) {
        super(tree);
    }

    public String toString() {
        return "ErrorStmt";
    }

    public String toStringTree() {
        return "ErrorStmt";
    }

    public int getLineno() {
        return getLine();
    }

    public int getCol_offset() {
        return getCharPositionInLine();
    }

    public <R> R accept(VisitorIF<R> visitor) {
        return null;
    }

    public void traverse(VisitorIF visitor) throws Exception {
        //no op.
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.