antlr
Class PythonCharFormatter
java.lang.Object
antlr.PythonCharFormatter
- All Implemented Interfaces:
- CharFormatter
public class PythonCharFormatter
- extends Object
- implements CharFormatter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PythonCharFormatter
public PythonCharFormatter()
escapeChar
public String escapeChar(int c,
boolean forCharLiteral)
- Specified by:
escapeChar
in interface CharFormatter
_escapeChar
public String _escapeChar(int c,
boolean forCharLiteral)
escapeString
public String escapeString(String s)
- Specified by:
escapeString
in interface CharFormatter
literalChar
public String literalChar(int c)
- Specified by:
literalChar
in interface CharFormatter
literalString
public String literalString(String s)
- Specified by:
literalString
in interface CharFormatter