Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DParserConfiguration.java36 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
44 public class ParserConfiguration { class
99 public ParserConfiguration() { in ParserConfiguration() method in ParserConfiguration
140 public ParserConfiguration setAttributeComments(boolean attributeComments) { in setAttributeComments()
149 …public ParserConfiguration setDoNotAssignCommentsPrecedingEmptyLines(boolean doNotAssignCommentsPr… in setDoNotAssignCommentsPrecedingEmptyLines()
158 …public ParserConfiguration setDoNotConsiderAnnotationsAsNodeStartForCodeAttribution(boolean doNotC… in setDoNotConsiderAnnotationsAsNodeStartForCodeAttribution()
163 public ParserConfiguration setStoreTokens(boolean storeTokens) { in setStoreTokens()
183 public ParserConfiguration setTabSize(int tabSize) { in setTabSize()
200 public ParserConfiguration setValidator(Validator validator) { in setValidator()
235 public ParserConfiguration setLexicalPreservationEnabled(boolean lexicalPreservationEnabled) { in setLexicalPreservationEnabled()
[all …]
DJavaParser.java53 private final ParserConfiguration configuration;
56 private static ParserConfiguration staticConfiguration = new ParserConfiguration();
64 this(new ParserConfiguration()); in JavaParser()
71 public JavaParser(ParserConfiguration configuration) { in JavaParser()
79 public static ParserConfiguration getStaticConfiguration() { in getStaticConfiguration()
87 public static void setStaticConfiguration(ParserConfiguration staticConfiguration) { in setStaticConfiguration()
96 public ParserConfiguration getParserConfiguration() { in getParserConfiguration()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/manual/
DBulkParseTest.java3 import com.github.javaparser.ParserConfiguration;
21 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_10;
22 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_9;
52 …ourceZip(openJdkZipPath), "openjdk_src_repo_test_results.txt", new ParserConfiguration().setLangua… in parseOpenJdkLangToolsRepository()
58 …bulkTest(new SourceZip(path), "openjdk_src_zip_test_results.txt", new ParserConfiguration().setLan… in parseJdkSrcZip()
66 new ParserConfiguration().setLanguageLevel(JAVA_9)); in parseOwnSourceCode()
69 …public void bulkTest(SourceRoot sourceRoot, String testResultsFileName, ParserConfiguration config… in bulkTest()
83 …public void bulkTest(SourceZip sourceRoot, String testResultsFileName, ParserConfiguration configu… in bulkTest()
/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()
160 public ParserConfiguration getParserConfiguration() { in getParserConfiguration()
164 public SourceZip setParserConfiguration(ParserConfiguration parserConfiguration) { in setParserConfiguration()
DSourceRoot.java6 import com.github.javaparser.ParserConfiguration;
61 private ParserConfiguration parserConfiguration = new ParserConfiguration();
74 public SourceRoot(Path root, ParserConfiguration parserConfiguration) { in SourceRoot()
102 …<CompilationUnit> tryToParse(String startPackage, String filename, ParserConfiguration configurati… in tryToParse()
269 …public SourceRoot parse(String startPackage, ParserConfiguration configuration, Callback callback)… in parse()
319 …public SourceRoot parseParallelized(String startPackage, ParserConfiguration configuration, Callba… in parseParallelized()
359 return parseParallelized(startPackage, new ParserConfiguration(), callback); in parseParallelized()
370 return parseParallelized("", new ParserConfiguration(), callback); in parseParallelized()
493 public ParserConfiguration getParserConfiguration() { in getParserConfiguration()
500 public SourceRoot setParserConfiguration(ParserConfiguration parserConfiguration) { in setParserConfiguration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
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()
DIssue1364.java6 import com.github.javaparser.ParserConfiguration;
60 ParserConfiguration config = new ParserConfiguration(); in setup()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/type/
DTypeTest.java6 import com.github.javaparser.ParserConfiguration;
14 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
34 ParserConfiguration config = new ParserConfiguration() in primitiveTypeArgumentLenientValidator()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/validator/
DJava11ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
10 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_11_PREVIEW;
15 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
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…
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…
DJava1_4ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
12 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
18 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava5ValidatorTest.java6 import com.github.javaparser.ParserConfiguration;
14 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
21 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava1_0ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
18 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
25 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava10ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
13 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_10;
19 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava7ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
19 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
25 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
DJava1_2ValidatorTest.java5 import com.github.javaparser.ParserConfiguration;
13 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
18 …public static final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLanguageLe…
/external/javaparser/javaparser-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-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-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/utils/
DSymbolSolverQuickSetupTest.java3 import com.github.javaparser.ParserConfiguration;
23 private ParserConfiguration parserConfiguration = new ParserConfiguration();
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/
DCoreGenerator.java3 import com.github.javaparser.ParserConfiguration;
19 private static final ParserConfiguration parserConfiguration = new ParserConfiguration()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/stmt/
DTryStmtTest.java6 import com.github.javaparser.ParserConfiguration;
13 import static com.github.javaparser.ParserConfiguration.LanguageLevel.*;
76 JavaParser parser = new JavaParser(new ParserConfiguration().setLanguageLevel(JAVA_9)); in parse9()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/
DVarTypeTest.java5 import com.github.javaparser.ParserConfiguration;
17 import static com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_10;
23 private final JavaParser javaParser = new JavaParser(new ParserConfiguration()

12