net.sourceforge.pmd.lang.java
Class ParserTst
java.lang.Object
net.sourceforge.pmd.lang.java.ParserTst
- Direct Known Subclasses:
- AcceptanceTest, AccessNodeTest, ASTAnnotationTest, ASTAssignmentOperatorTest, ASTBlockStatementTest, ASTBooleanLiteralTest, ASTFieldDeclarationTest, ASTFormalParameterTest, ASTImportDeclarationTest, ASTInitializerTest, ASTLiteralTest, ASTLocalVariableDeclarationTest, ASTPackageDeclarationTest, ASTPrimarySuffixTest, ASTSwitchLabelTest, ASTThrowStatementTest, ASTVariableDeclaratorIdTest, ClassDeclTest, DAAPathFinderTest, EncodingTest, FieldDeclTest, GeneralFiddlingTest, JDKVersionTest, MethodDeclTest, ParserCornersTest, SimpleNodeTest, StatementAndBraceFinderTest
public abstract class ParserTst
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserTst
public ParserTst()
getNodes
public <E> Set<E> getNodes(Class<E> clazz,
String javaCode)
throws Throwable
- Throws:
Throwable
getNodes
public <E> Set<E> getNodes(LanguageVersion languageVersion,
Class<E> clazz,
String javaCode)
throws Throwable
- Throws:
Throwable
getOrderedNodes
public <E> List<E> getOrderedNodes(Class<E> clazz,
String javaCode)
throws Throwable
- Throws:
Throwable
dumpNodes
public <E> String dumpNodes(List<E> list)
throws Throwable
- Throws:
Throwable
buildDFA
public ASTCompilationUnit buildDFA(String javaCode)
throws Throwable
- Throws:
Throwable
parseJava13
public ASTCompilationUnit parseJava13(String code)
parseJava14
public ASTCompilationUnit parseJava14(String code)
parseJava15
public ASTCompilationUnit parseJava15(String code)
parseJava17
public ASTCompilationUnit parseJava17(String code)
parseJava18
public ASTCompilationUnit parseJava18(String code)
parseJava
public ASTCompilationUnit parseJava(LanguageVersion languageVersion,
String code)
Copyright © 2002–2015 InfoEther. All rights reserved.