Package | Description |
---|---|
com.github.javaparser.ast | |
com.github.javaparser.utils |
Modifier and Type | Method and Description |
---|---|
ParseResult<CompilationUnit> |
CompilationUnit.Storage.reparse(JavaParser javaParser) |
Modifier and Type | Method and Description |
---|---|
JavaParser |
SourceZip.getJavaParser()
Get the parser used for parsing.
|
JavaParser |
SourceRoot.getJavaParser() |
Modifier and Type | Method and Description |
---|---|
SourceRoot |
SourceRoot.parse(String startPackage,
JavaParser javaParser,
SourceRoot.Callback callback)
Tries to parse all .java files in a package recursively and passes them one by one to the callback.
|
SourceRoot |
SourceRoot.parseParallelized(String startPackage,
JavaParser javaParser,
SourceRoot.Callback callback)
Tries to parse all .java files in a package recursively using multiple threads, and passes them one by one to
the callback.
|
SourceZip |
SourceZip.setJavaParser(JavaParser javaParser)
Set the parser that is used for parsing.
|
SourceRoot |
SourceRoot.setJavaParser(JavaParser javaParser)
Set the parser that is used for parsing by default.
|
ParseResult<CompilationUnit> |
SourceRoot.tryToParse(String pkg,
String filename,
JavaParser javaParser)
Tries to parse a .java files under the source root and returns the ParseResult.
|
Copyright © 2007–2017. All rights reserved.