Uses of Class
net.sourceforge.pmd.lang.ast.impl.javacc.MalformedSourceException
Packages that use MalformedSourceException
Package
Description
Support classes for language implementations based on JavaCC.
-
Uses of MalformedSourceException in net.sourceforge.pmd.lang.ast.impl.javacc
Methods in net.sourceforge.pmd.lang.ast.impl.javacc that throw MalformedSourceExceptionModifier and TypeMethodDescriptionstatic CharStreamCharStream.create(TextDocument doc) Create a new char stream for the given document with the default token document behavior.static CharStreamCharStream.create(TextDocument doc, JavaccTokenDocument.TokenDocumentBehavior behavior) Create a new char stream for the given document.protected intBackslashEscapeTranslator.gobbleMaxWithoutEscape(int maxOff) protected intEscapeTranslator.gobbleMaxWithoutEscape(int maxOff) Returns the max offset, EXclusive, up to which we can cut the input array from the bufpos to dump it into the output array.protected abstract intBackslashEscapeTranslator.handleBackslash(int maxOff, int firstBackslashOff) protected intJavaEscapeTranslator.handleBackslash(int maxOff, int firstBackslashOff) JavaccTokenDocument.TokenDocumentBehavior.translate(TextDocument text) Translate the escapes of the source document.EscapeTranslator.translateDocument()Translate all the input in the buffer.