Class JavaParser
java.lang.Object
net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter<ASTCompilationUnit>
net.sourceforge.pmd.lang.java.ast.JavaParser
- All Implemented Interfaces:
Parser
Adapter for the JavaParser, using the specified grammar version.
- Author:
- Pieter_Van_Raemdonck - Application Engineers NV/SA - www.ae.be, Andreas Dangel
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sourceforge.pmd.lang.ast.Parser
Parser.ParserTask -
Constructor Summary
ConstructorsConstructorDescriptionJavaParser(String suppressMarker, net.sourceforge.pmd.lang.java.internal.JavaLanguageProcessor javaProcessor, boolean postProcess) -
Method Summary
Modifier and TypeMethodDescriptionprotected ASTCompilationUnitparseImpl(CharStream cs, Parser.ParserTask task) Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter
parse, toString
-
Constructor Details
-
JavaParser
public JavaParser(String suppressMarker, net.sourceforge.pmd.lang.java.internal.JavaLanguageProcessor javaProcessor, boolean postProcess)
-
-
Method Details
-
tokenBehavior
- Specified by:
tokenBehaviorin classJjtreeParserAdapter<ASTCompilationUnit>
-
parseImpl
- Specified by:
parseImplin classJjtreeParserAdapter<ASTCompilationUnit>- Throws:
ParseException
-