Package net.sourceforge.pmd.lang.cpp.cpd
Class CppEscapeTranslator
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.javacc.EscapeTranslator
-
- net.sourceforge.pmd.lang.ast.impl.javacc.BackslashEscapeTranslator
-
- net.sourceforge.pmd.lang.cpp.cpd.CppEscapeTranslator
-
public class CppEscapeTranslator extends BackslashEscapeTranslator
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.EscapeTranslator
bufpos, input
-
-
Constructor Summary
Constructors Constructor Description CppEscapeTranslator(TextDocument input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
handleBackslash(int maxOff, int backSlashOff)
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.BackslashEscapeTranslator
abortEscape, gobbleMaxWithoutEscape, recordEscape
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.EscapeTranslator
ensureOpen, locationAt, translateDocument
-
-
-
-
Constructor Detail
-
CppEscapeTranslator
public CppEscapeTranslator(TextDocument input)
-
-
Method Detail
-
handleBackslash
protected int handleBackslash(int maxOff, int backSlashOff)
- Specified by:
handleBackslash
in classBackslashEscapeTranslator
-
-