KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > python > parser > IParserHost


1 package org.python.parser;
2
3 /**
4  *
5  * literal creation callbacks from the parser to the its host
6  *
7  **/

8
9 public interface IParserHost {
10
11        public Object JavaDoc newLong(String JavaDoc s);
12
13        public Object JavaDoc newLong(java.math.BigInteger JavaDoc i);
14
15        public Object JavaDoc newFloat(double v);
16        
17        public Object JavaDoc newImaginary(double v);
18        
19        public Object JavaDoc newInteger(int i);
20        
21        public String JavaDoc decode_UnicodeEscape(String JavaDoc str, int start, int end,
22                String JavaDoc errors, boolean unicode);
23 }
24
Popular Tags