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
public class JavaParser extends JjtreeParserAdapter<ASTCompilationUnit>
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
Constructors Constructor Description JavaParser(String suppressMarker, net.sourceforge.pmd.lang.java.internal.JavaLanguageProcessor javaProcessor, boolean postProcess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ASTCompilationUnit
parseImpl(CharStream cs, Parser.ParserTask task)
protected JavaccTokenDocument.TokenDocumentBehavior
tokenBehavior()
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter
parse, toString
-
-
-
-
Constructor Detail
-
JavaParser
public JavaParser(String suppressMarker, net.sourceforge.pmd.lang.java.internal.JavaLanguageProcessor javaProcessor, boolean postProcess)
-
-
Method Detail
-
tokenBehavior
protected JavaccTokenDocument.TokenDocumentBehavior tokenBehavior()
- Specified by:
tokenBehavior
in classJjtreeParserAdapter<ASTCompilationUnit>
-
parseImpl
protected ASTCompilationUnit parseImpl(CharStream cs, Parser.ParserTask task) throws ParseException
- Specified by:
parseImpl
in classJjtreeParserAdapter<ASTCompilationUnit>
- Throws:
ParseException
-
-