Skip to content

Commit 4201382

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
Add numParallelThreads to CompilerOptions#toString and sort.
PiperOrigin-RevId: 555534262
1 parent b18ce5e commit 4201382

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

src/com/google/javascript/jscomp/CompilerOptions.java

+18-17
Original file line numberDiff line numberDiff line change
@@ -2760,19 +2760,20 @@ public boolean getStrictMessageReplacement() {
27602760
public String toString() {
27612761
return MoreObjects.toStringHelper(this)
27622762
.omitNullValues()
2763-
.add("aliasStringsMode", getAliasStringsMode())
27642763
.add("aliasHandler", getAliasTransformationHandler())
2764+
.add("aliasStringsMode", getAliasStringsMode())
27652765
.add("ambiguateProperties", ambiguateProperties)
27662766
.add("angularPass", angularPass)
27672767
.add("assumeClosuresOnlyCaptureReferences", assumeClosuresOnlyCaptureReferences)
27682768
.add("assumeGettersArePure", assumeGettersArePure)
27692769
.add("assumeStrictThis", assumeStrictThis())
27702770
.add("browserResolverPrefixReplacements", browserResolverPrefixReplacements)
27712771
.add("checkDeterminism", getCheckDeterminism())
2772-
.add("checksOnly", checksOnly)
27732772
.add("checkSuspiciousCode", checkSuspiciousCode)
27742773
.add("checkSymbols", checkSymbols)
27752774
.add("checkTypes", checkTypes)
2775+
.add("checksOnly", checksOnly)
2776+
.add("chunksToPrintAfterEachPassRegexList", chunksToPrintAfterEachPassRegexList)
27762777
.add("closurePass", closurePass)
27772778
.add("coalesceVariableNames", coalesceVariableNames)
27782779
.add("codingConvention", getCodingConvention())
@@ -2796,9 +2797,10 @@ public String toString() {
27962797
.add("debugLogDirectory", debugLogDirectory)
27972798
.add("defineReplacements", getDefineReplacements())
27982799
.add("dependencyOptions", getDependencyOptions())
2799-
.add("devirtualizeMethods", devirtualizeMethods)
28002800
.add("devMode", devMode)
2801+
.add("devirtualizeMethods", devirtualizeMethods)
28012802
.add("disambiguateProperties", disambiguateProperties)
2803+
.add("emitUseStrict", emitUseStrict)
28022804
.add("enableModuleRewriting", enableModuleRewriting)
28032805
.add("environment", getEnvironment())
28042806
.add("errorFormat", errorFormat)
@@ -2834,7 +2836,6 @@ public String toString() {
28342836
.add("inputVariableMap", inputVariableMap)
28352837
.add("instrumentForCoverageOnly", instrumentForCoverageOnly)
28362838
.add("instrumentForCoverageOption", instrumentForCoverageOption.toString())
2837-
.add("productionInstrumentationArrayName", productionInstrumentationArrayName)
28382839
.add("isolatePolyfills", isolatePolyfills)
28392840
.add("j2clMinifierEnabled", j2clMinifierEnabled)
28402841
.add("j2clMinifierPruningManifest", j2clMinifierPruningManifest)
@@ -2849,12 +2850,8 @@ public String toString() {
28492850
.add("maxFunctionSizeAfterInlining", maxFunctionSizeAfterInlining)
28502851
.add("messageBundle", messageBundle)
28512852
.add("moduleRoots", moduleRoots)
2852-
.add("chunksToPrintAfterEachPassRegexList", chunksToPrintAfterEachPassRegexList)
2853-
.add("qnameUsesToPrintAfterEachPassRegexList", qnameUsesToPrintAfterEachPassList)
2854-
.add(
2855-
"rewriteGlobalDeclarationsForTryCatchWrapping",
2856-
rewriteGlobalDeclarationsForTryCatchWrapping)
28572853
.add("nameGenerator", nameGenerator)
2854+
.add("numParallelThreads", numParallelThreads)
28582855
.add("optimizeArgumentsArray", optimizeArgumentsArray)
28592856
.add("optimizeCalls", optimizeCalls)
28602857
.add("optimizeESClassConstructors", optimizeESClassConstructors)
@@ -2867,47 +2864,52 @@ public String toString() {
28672864
parentChunkCanSeeSymbolsDeclaredInChildren)
28682865
.add("parseJsDocDocumentation", isParseJsDocDocumentation())
28692866
.add("pathEscaper", pathEscaper)
2870-
.add("polymerVersion", polymerVersion)
28712867
.add("polymerExportPolicy", polymerExportPolicy)
2868+
.add("polymerVersion", polymerVersion)
28722869
.add("preferSingleQuotes", preferSingleQuotes)
28732870
.add("preferStableNames", preferStableNames)
28742871
.add("preserveDetailedSourceInfo", preservesDetailedSourceInfo())
2875-
.add("preserveNonJSDocComments", getPreserveNonJSDocComments())
28762872
.add("preserveGoogProvidesAndRequires", preserveClosurePrimitives)
2873+
.add("preserveNonJSDocComments", getPreserveNonJSDocComments())
28772874
.add("preserveTypeAnnotations", preserveTypeAnnotations)
28782875
.add("prettyPrint", prettyPrint)
28792876
.add("preventLibraryInjection", preventLibraryInjection)
28802877
.add("printConfig", printConfig)
28812878
.add("printInputDelimiter", printInputDelimiter)
28822879
.add("printSourceAfterEachPass", printSourceAfterEachPass)
28832880
.add("processCommonJSModules", processCommonJSModules)
2881+
.add("productionInstrumentationArrayName", productionInstrumentationArrayName)
28842882
.add("propertiesThatMustDisambiguate", propertiesThatMustDisambiguate)
28852883
.add("propertyRenaming", propertyRenaming)
28862884
.add("propertyRenamingOnlyCompilationMode", propertyRenamingOnlyCompilationMode)
28872885
.add("protectHiddenSideEffects", protectHiddenSideEffects)
2886+
.add("qnameUsesToPrintAfterEachPassRegexList", qnameUsesToPrintAfterEachPassList)
28882887
.add("quoteKeywordProperties", quoteKeywordProperties)
28892888
.add("removeAbstractMethods", removeAbstractMethods)
28902889
.add("removeClosureAsserts", removeClosureAsserts)
2891-
.add("removeJ2clAsserts", removeJ2clAsserts)
28922890
.add("removeDeadCode", removeDeadCode)
2891+
.add("removeJ2clAsserts", removeJ2clAsserts)
28932892
.add("removeUnusedClassProperties", removeUnusedClassProperties)
28942893
.add("removeUnusedConstructorProperties", removeUnusedConstructorProperties)
28952894
.add("removeUnusedLocalVars", removeUnusedLocalVars)
28962895
.add("removeUnusedPrototypeProperties", removeUnusedPrototypeProperties)
28972896
.add("removeUnusedVars", removeUnusedVars)
2897+
.add("renamePrefix", renamePrefix)
2898+
.add("renamePrefixNamespace", renamePrefixNamespace)
28982899
.add(
28992900
"renamePrefixNamespaceAssumeCrossChunkNames",
29002901
renamePrefixNamespaceAssumeCrossChunkNames)
2901-
.add("renamePrefixNamespace", renamePrefixNamespace)
2902-
.add("renamePrefix", renamePrefix)
29032902
.add("replaceIdGenerators", replaceIdGenerators)
29042903
.add("replaceMessagesWithChromeI18n", replaceMessagesWithChromeI18n)
29052904
.add("replaceStringsFunctionDescriptions", replaceStringsFunctionDescriptions)
29062905
.add("replaceStringsPlaceholderToken", replaceStringsPlaceholderToken)
29072906
.add("reserveRawExports", reserveRawExports)
29082907
.add("rewriteFunctionExpressions", rewriteFunctionExpressions)
2909-
.add("rewritePolyfills", rewritePolyfills)
2908+
.add(
2909+
"rewriteGlobalDeclarationsForTryCatchWrapping",
2910+
rewriteGlobalDeclarationsForTryCatchWrapping)
29102911
.add("rewriteModulesBeforeTypechecking", rewriteModulesBeforeTypechecking)
2912+
.add("rewritePolyfills", rewritePolyfills)
29112913
.add("skipNonTranspilationPasses", skipNonTranspilationPasses)
29122914
.add("smartNameRemoval", smartNameRemoval)
29132915
.add("sourceMapDetailLevel", sourceMapDetailLevel)
@@ -2925,9 +2927,8 @@ public String toString() {
29252927
.add("tracer", tracer)
29262928
.add("trustedStrings", trustedStrings)
29272929
.add("tweakProcessing", getTweakProcessing())
2928-
.add("emitUseStrict", emitUseStrict)
2929-
.add("useTypesForLocalOptimization", useTypesForLocalOptimization)
29302930
.add("unusedImportsToRemove", unusedImportsToRemove)
2931+
.add("useTypesForLocalOptimization", useTypesForLocalOptimization)
29312932
.add("variableRenaming", variableRenaming)
29322933
.add("warningsGuard", getWarningsGuard())
29332934
.add("wrapGoogModulesForWhitespaceOnly", wrapGoogModulesForWhitespaceOnly)

0 commit comments

Comments
 (0)