01: package persistence.antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.jGuru.com
05: * Software rights: http://www.antlr.org/license.html
06: *
07: */
08:
09: /** Interface used by BitSet to format elements of the set when
10: * converting to string
11: */
12: public interface CharFormatter {
13:
14: public String escapeChar(int c, boolean forCharLiteral);
15:
16: public String escapeString(String s);
17:
18: public String literalChar(int c);
19:
20: public String literalString(String s);
21: }
|