All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.org.python.indexer.Diagnostic Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.7.4
Show newest version
/**
 * 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 "";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy