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