Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast | |
com.github.javaparser.printer.lexicalpreservation | |
com.github.javaparser.utils |
Modifier and Type | Method and Description |
---|---|
<N extends Node> |
JavaParser.parse(ParseStart<N> start,
Provider provider)
Parses source code.
|
Modifier and Type | Method and Description |
---|---|
ParseResult<CompilationUnit> |
CompilationUnit.Storage.reparse(JavaParser javaParser) |
Modifier and Type | Method and Description |
---|---|
static <N extends Node> |
LexicalPreservingPrinter.setup(ParseStart<N> parseStart,
Provider provider)
Deprecated.
just use the other constructor.
|
Modifier and Type | Method and Description |
---|---|
ParseResult<CompilationUnit> |
SourceRoot.tryToParse(String pkg,
String filename)
Tries to parse a .java files under the source root and returns the ParseResult.
|
ParseResult<CompilationUnit> |
SourceRoot.tryToParse(String pkg,
String filename,
JavaParser javaParser)
Tries to parse a .java files under the source root and returns the ParseResult.
|
Modifier and Type | Method and Description |
---|---|
List<ParseResult<CompilationUnit>> |
SourceRoot.getCache()
The Java files that have been parsed by this source root object,
or have been added manually.
|
List<Pair<Path,ParseResult<CompilationUnit>>> |
SourceZip.parse()
Tries to parse all '.java' files in the ZIP located at this SourceZip's path and returns the parse
results in a list.
|
List<ParseResult<CompilationUnit>> |
SourceRoot.tryToParse()
Tries to parse all .java files under the source root recursively, and returns all files ever parsed with this
source root.
|
List<ParseResult<CompilationUnit>> |
SourceRoot.tryToParse(String startPackage)
Tries to parse all .java files in a package recursively, and returns all files ever parsed with this source
root.
|
List<ParseResult<CompilationUnit>> |
SourceRoot.tryToParseParallelized()
Tries to parse all .java files under the source root recursively using multiple threads, and returns all files
ever parsed with this
source root.
|
List<ParseResult<CompilationUnit>> |
SourceRoot.tryToParseParallelized(String startPackage)
Tries to parse all .java files in a package recursively using multiple threads, and returns all files ever
parsed with this source root.
|
Modifier and Type | Method and Description |
---|---|
SourceRoot.Callback.Result |
SourceRoot.Callback.process(Path localPath,
Path absolutePath,
ParseResult<CompilationUnit> result) |
Copyright © 2007–2017. All rights reserved.