org.python.parser.IParserHost 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.
package org.python.parser;
/**
*
* literal creation callbacks from the parser to the its host
*
**/
public interface IParserHost {
public Object newLong(String s);
public Object newLong(java.math.BigInteger i);
public Object newFloat(double v);
public Object newImaginary(double v);
public Object newInteger(int i);
public String decode_UnicodeEscape(String str, int start, int end,
String errors, boolean unicode);
}