Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast | |
com.github.javaparser.utils | |
com.github.javaparser.version |
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 |
---|---|
void |
ParseResult.PostProcessor.process(ParseResult<? extends Node> result,
ParserConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
ParseResult<CompilationUnit> |
CompilationUnit.Storage.reparse(JavaParser javaParser) |
Modifier and Type | Method and Description |
---|---|
ParseResult<CompilationUnit> |
SourceRoot.tryToParse(String startPackage,
String filename)
Tries to parse a .java files under the source root and returns the ParseResult.
|
ParseResult<CompilationUnit> |
SourceRoot.tryToParse(String startPackage,
String filename,
ParserConfiguration configuration)
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 |
---|---|
void |
SourceZip.Callback.process(Path relativeZipEntryPath,
ParseResult<CompilationUnit> result)
Process the given parse result.
|
SourceRoot.Callback.Result |
SourceRoot.Callback.process(Path localPath,
Path absolutePath,
ParseResult<CompilationUnit> result) |
Modifier and Type | Method and Description |
---|---|
void |
PostProcessors.process(ParseResult<? extends Node> result,
ParserConfiguration configuration) |
Copyright © 2007–2019. All rights reserved.