Package antlr
Class PythonCharFormatter
- java.lang.Object
-
- antlr.PythonCharFormatter
-
- All Implemented Interfaces:
CharFormatter
public class PythonCharFormatter extends Object implements CharFormatter
-
-
Constructor Summary
Constructors Constructor Description PythonCharFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String_escapeChar(int c, boolean forCharLiteral)StringescapeChar(int c, boolean forCharLiteral)StringescapeString(String s)StringliteralChar(int c)StringliteralString(String s)
-
-
-
Method Detail
-
escapeChar
public String escapeChar(int c, boolean forCharLiteral)
- Specified by:
escapeCharin interfaceCharFormatter
-
_escapeChar
public String _escapeChar(int c, boolean forCharLiteral)
-
escapeString
public String escapeString(String s)
- Specified by:
escapeStringin interfaceCharFormatter
-
literalChar
public String literalChar(int c)
- Specified by:
literalCharin interfaceCharFormatter
-
literalString
public String literalString(String s)
- Specified by:
literalStringin interfaceCharFormatter
-
-