antlr

Interface CharFormatter

Known Implementing Classes:
CppCharFormatter, CSharpCharFormatter, JavaCharFormatter

public interface CharFormatter

Interface used by BitSet to format elements of the set when converting to string

Method Summary

String
escapeChar(int c, boolean forCharLiteral)
String
escapeString(String s)
String
literalChar(int c)
String
literalString(String s)

Method Details

escapeChar

public String escapeChar(int c,
                         boolean forCharLiteral)

escapeString

public String escapeString(String s)

literalChar

public String literalChar(int c)

literalString

public String literalString(String s)