org.python.core.TraceFunction 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.
// Copyright (c) Corporation for National Research Initiatives
package org.python.core;
public abstract class TraceFunction {
public abstract TraceFunction traceCall(PyFrame frame);
public abstract TraceFunction traceReturn(PyFrame frame, PyObject ret);
public abstract TraceFunction traceLine(PyFrame frame, int line);
public abstract TraceFunction traceException(PyFrame frame, PyException exc);
}