Home
last modified time | relevance | path

Searched refs:ParserConfiguration (Results 1 – 25 of 72) sorted by relevance

123

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DParserConfiguration.java24 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
63 public class ParserConfiguration { class
157 public ParserConfiguration() { in ParserConfiguration() method in ParserConfiguration
172 ParserConfiguration configuration) { in ParserConfiguration()
228 public ParserConfiguration setAttributeComments(boolean attributeComments) { in setAttributeComments()
237 …public ParserConfiguration setDoNotAssignCommentsPrecedingEmptyLines(boolean doNotAssignCommentsPr… in setDoNotAssignCommentsPrecedingEmptyLines()
246 …public ParserConfiguration setIgnoreAnnotationsWhenAttributingComments(boolean ignoreAnnotationsWh… in setIgnoreAnnotationsWhenAttributingComments()
251 public ParserConfiguration setStoreTokens(boolean storeTokens) { in setStoreTokens()
271 public ParserConfiguration setTabSize(int tabSize) { in setTabSize()
281 public ParserConfiguration setLexicalPreservationEnabled(boolean lexicalPreservationEnabled) { in setLexicalPreservationEnabled()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSourceZip.java26 import com.github.javaparser.ParserConfiguration;
50 private ParserConfiguration parserConfiguration;
59 this(zipPath, new ParserConfiguration()); in SourceZip()
69 public SourceZip(Path zipPath, ParserConfiguration configuration) { in SourceZip()
140 public ParserConfiguration getParserConfiguration() { in getParserConfiguration()
144 public SourceZip setParserConfiguration(ParserConfiguration parserConfiguration) { in setParserConfiguration()
DProjectRoot.java3 import com.github.javaparser.ParserConfiguration;
23 private final ParserConfiguration parserConfiguration;
26 this(root, new ParserConfiguration()); in ProjectRoot()
29 public ProjectRoot(Path root, ParserConfiguration parserConfiguration) { in ProjectRoot()
DParserCollectionStrategy.java3 import com.github.javaparser.ParserConfiguration;
21 private final ParserConfiguration parserConfiguration;
24 this(new ParserConfiguration()); in ParserCollectionStrategy()
27 public ParserCollectionStrategy(ParserConfiguration parserConfiguration) { in ParserCollectionStrategy()
DSourceRoot.java6 import com.github.javaparser.ParserConfiguration;
60 private ParserConfiguration parserConfiguration = new ParserConfiguration();
81 public SourceRoot(Path root, ParserConfiguration parserConfiguration) { in SourceRoot()
94 …<CompilationUnit> tryToParse(String startPackage, String filename, ParserConfiguration configurati… in tryToParse()
246 …private FileVisitResult callback(Path absolutePath, ParserConfiguration configuration, Callback ca… in callback()
270 …public SourceRoot parse(String startPackage, String filename, ParserConfiguration configuration, C… in parse()
295 …public SourceRoot parse(String startPackage, ParserConfiguration configuration, Callback callback)… in parse()
342 …public SourceRoot parseParallelized(String startPackage, ParserConfiguration configuration, Callba… in parseParallelized()
375 return parseParallelized(startPackage, new ParserConfiguration(), callback); in parseParallelized()
386 return parseParallelized("", new ParserConfiguration(), callback); in parseParallelized()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue1491Test.java3 import com.github.javaparser.ParserConfiguration;
36ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in verifyIssue1491SolvingClassInSameFile()
60ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in verifyIssue1491ResolvingStaticMethodCalls()
84ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in verifyIssue1491Combined()
DJavaParserAPIIntegrationTest.java5 import com.github.javaparser.ParserConfiguration;
60 ParserConfiguration parserConfiguration = new ParserConfiguration(); in annotationMemberDeclarationResolve()
88 ParserConfiguration parserConfiguration = new ParserConfiguration(); in parseWithSymbolResolution()
148 ParserConfiguration parserConfiguration = new ParserConfiguration(); in parameterDeclarationResolve()
DSolveMethodDeclaredInEnumTest.java26 import com.github.javaparser.ParserConfiguration;
51 ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver( in methodDeclaredInEnum_enumFromJar()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DEnumLiteralsInAnnotatedClassTest.java5 import com.github.javaparser.ParserConfiguration;
35ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfClassUnqualifiedSamePackage()
58ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfClassQualifiedSamePackage()
81ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfClassUnqualifiedDifferentPackage()
104ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfClassQualifiedDifferentPackage()
DInternalClassInInterfaceTest.java5 import com.github.javaparser.ParserConfiguration;
35ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfInterfaceUnqualifiedSamePackage()
58ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfInterfaceQualifiedSamePackage()
81ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfInterfaceUnqualifiedDifferentPackage()
104ParserConfiguration parserConfiguration = new ParserConfiguration().setSymbolResolver(new JavaSymb… in resolveFieldOfEnumAsInternalClassOfInterfaceQualifiedDifferentPackage()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/manual/
DBulkParseTest.java3 import com.github.javaparser.ParserConfiguration;
23 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
54 …ourceZip(openJdkZipPath), "openjdk_src_repo_test_results.txt", new ParserConfiguration().setLangua… in parseOpenJdkLangToolsRepository()
60 …bulkTest(new SourceZip(path), "openjdk_src_zip_test_results.txt", new ParserConfiguration().setLan… in parseJdkSrcZip()
89 new ParserConfiguration().setLanguageLevel(BLEEDING_EDGE)); in parseOwnSourceCode()
93 …public void bulkTest(SourceRoot sourceRoot, String testResultsFileName, ParserConfiguration config… in bulkTest()
107 …public void bulkTest(SourceZip sourceRoot, String testResultsFileName, ParserConfiguration configu… in bulkTest()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/utils/
DLeanParserConfiguration.java3 import com.github.javaparser.ParserConfiguration;
5 public class LeanParserConfiguration extends ParserConfiguration {
7 setLanguageLevel(ParserConfiguration.LanguageLevel.RAW); in LeanParserConfiguration()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/type/
DTypeTest.java6 import com.github.javaparser.ParserConfiguration;
12 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
35 ParserConfiguration config = new ParserConfiguration() in primitiveTypeArgumentLenientValidator()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/validator/
DJava1_3ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
10 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
15 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava6ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
12 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
17 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava12ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
10 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_12;
15 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava11ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
10 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_11;
16 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava9ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
12 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
19 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava8ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
12 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
19 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/
DCoreGenerator.java3 import com.github.javaparser.ParserConfiguration;
14 import static com.github.javaparser.ParserConfiguration.LanguageLevel.RAW;
22 private static final ParserConfiguration parserConfiguration = new ParserConfiguration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/utils/
DSymbolSolverCollectionStrategy.java3 import com.github.javaparser.ParserConfiguration;
26 private final ParserConfiguration parserConfiguration;
30 this(new ParserConfiguration()); in SymbolSolverCollectionStrategy()
33 public SymbolSolverCollectionStrategy(ParserConfiguration parserConfiguration) { in SymbolSolverCollectionStrategy()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/version/
DJava10PostProcessorTest.java5 import com.github.javaparser.ParserConfiguration;
13 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_10;
18 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DParserConfigurationTest.java9 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
18 …ParseResult<CompilationUnit> result = new JavaParser(new ParserConfiguration().setStoreTokens(fals… in storeNoTokens()
27 new JavaParser(new ParserConfiguration().setLanguageLevel(RAW)) in noProblemsHere()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DTestParser.java5 import com.github.javaparser.ParserConfiguration;
11 import static com.github.javaparser.ParserConfiguration.LanguageLevel.BLEEDING_EDGE;
16 …private static final JavaParser parser = new JavaParser(new ParserConfiguration().setLanguageLevel…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJavaParserTypeSolver.java20 import com.github.javaparser.ParserConfiguration;
42 import static com.github.javaparser.ParserConfiguration.LanguageLevel.BLEEDING_EDGE;
70 public JavaParserTypeSolver(File srcDir, ParserConfiguration parserConfiguration) { in JavaParserTypeSolver()
74 public JavaParserTypeSolver(String srcDir, ParserConfiguration parserConfiguration) { in JavaParserTypeSolver()
78 public JavaParserTypeSolver(Path srcDir, ParserConfiguration parserConfiguration) { in JavaParserTypeSolver()
88 new ParserConfiguration() in JavaParserTypeSolver()

123