src.org.python.antlr.adapter.AstAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone 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.
package org.python.antlr.adapter;
import org.python.core.PyObject;
import java.util.List;
/**
* AstAdapters turn Objects into Ast nodes.
*/
public interface AstAdapter {
PyObject ast2py(Object o);
Object py2ast(PyObject o);
List iter2ast(PyObject o);
}