01: package org.python.parser;
02:
03: /**
04: *
05: * literal creation callbacks from the parser to the its host
06: *
07: **/
08:
09: public interface IParserHost {
10:
11: public Object newLong(String s);
12:
13: public Object newLong(java.math.BigInteger i);
14:
15: public Object newFloat(double v);
16:
17: public Object newImaginary(double v);
18:
19: public Object newInteger(int i);
20:
21: public String decode_UnicodeEscape(String str, int start, int end,
22: String errors, boolean unicode);
23: }
|