Package net.sourceforge.pmd.lang.ast.impl.javacc
Support classes for language implementations based on JavaCC.
-
Interface Summary Interface Description JjtreeNode<N extends JjtreeNode<N>> Base interface for nodes that are produced by a JJTree parser. -
Class Summary Class Description AbstractJjtreeNode<B extends AbstractJjtreeNode<B,N>,N extends JjtreeNode<N>> Base class for node produced by JJTree.AbstractTokenManager A base class for the token managers generated by JavaCC.BackslashEscapeTranslator A base class for readers that handle escapes starting with a backslash.CharStream PMD flavour of character streams used by JavaCC parsers.EscapeTranslator An object that can translate an input document into an output document, typically by replacing escape sequences with the character they represent.JavaccToken A generic token implementation for JavaCC parsers.JavaccTokenDocument Token document for Javacc implementations.JavaccTokenDocument.TokenDocumentBehavior Overridable configuration of a token document.JavaEscapeTranslator An implementation ofEscapeTranslator
that translates Java unicode escapes.JjtreeBuilder<N extends AbstractJjtreeNode<N,?>> Shared implementation of the tree builder generated by JJTree.JjtreeParserAdapter<R extends RootNode> Base implementation of theParser
interface for JavaCC language implementations. -
Exception Summary Exception Description MalformedSourceException AFileAnalysisException
thrown when the source format is invalid, for example if some unicode escapes cannot be translated.