src.org.python.indexer.Diagnostic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-installer Show documentation
Show all versions of jython-installer Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
/**
* Copyright 2009, Google Inc. All rights reserved.
* Licensed to PSF under a Contributor Agreement.
*/
package org.python.indexer;
public class Diagnostic {
public enum Type {
INFO, WARNING, ERROR
}
public String file;
public Type type;
public int start;
public int end;
public int line;
public int column;
public String msg;
public Diagnostic(String file, Type type, int start, int end, String msg) {
this.type = type;
this.file = file;
this.start = start;
this.end = end;
this.msg = msg;
}
// XXX: support line/column
@Override
public String toString() {
return "";
}
}