com.google.javascript.jscomp.CompilerOptions.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes
what's left. It also checks syntax, variable references, and types, and
warns about common JavaScript pitfalls. It is used in many of Google's
JavaScript apps, including Gmail, Google Web Search, Google Maps, and
Google Docs.
The newest version!
???? 7 ,com/google/javascript/jscomp/CompilerOptions %ANGULAR_PROPERTY_RESERVED_FIRST_CHARS [C
"com/google/common/primitives/Chars asList ([C)Ljava/util/List;
&com/google/common/collect/ImmutableSet copyOf @(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet; crossChunkCodeMotion Z crossChunkMethodMotion sourceMapOutputPath Ljava/lang/String; shouldAlwaysGatherSourceMapInfo
" # $ % & com/google/common/base/Strings
isNullOrEmpty (Ljava/lang/String;)Z ( ) * browserFeaturesetYear DLcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear;
, - . / 0 Bcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear from G(I)Lcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear;
2 3 4 setBrowserFeaturesetYear G(Lcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear;)V
, 6 7 8 setDependentValuesFromYear 1(Lcom/google/javascript/jscomp/CompilerOptions;)V : ; instrumentForCoverageOnly = > ? typedAstOutputFile Ljava/nio/file/Path; A B mergedPrecompiledLibraries D E F inputSourceMaps (Lcom/google/common/collect/ImmutableMap; H I inferConsts K L M incrementalCheckMode CLcom/google/javascript/jscomp/CompilerOptions$IncrementalCheckMode; O P Q R S .com/google/javascript/jscomp/CompilerOptions$1 L$SwitchMap$com$google$javascript$jscomp$CompilerOptions$IncrementalCheckMode [I
U V W X Y Acom/google/javascript/jscomp/CompilerOptions$IncrementalCheckMode ordinal ()I
[ \ ] setPreserveTypeAnnotations (Z)V _ ` a b c 5com/google/javascript/jscomp/CompilerOptions$OutputJs NORMAL 7Lcom/google/javascript/jscomp/CompilerOptions$OutputJs;
e f g setOutputJs :(Lcom/google/javascript/jscomp/CompilerOptions$OutputJs;)V U i j M GENERATE_IJS U l m M RUN_IJS_CHECKS_LATE o p printExterns r s t numParallelThreads I v w *renamePrefixNamespaceAssumeCrossChunkNames y z { collapsePropertiesLevel DLcom/google/javascript/jscomp/CompilerOptions$PropertyCollapseLevel; } ~ ? { Bcom/google/javascript/jscomp/CompilerOptions$PropertyCollapseLevel NONE ? ? collapseObjectLiterals ? ? ?
nameGenerator ,Lcom/google/javascript/jscomp/NameGenerator; ? ? ?
messageBundle ,Lcom/google/javascript/jscomp/MessageBundle; ? /com/google/javascript/jscomp/EmptyMessageBundle ? java/lang/RuntimeException ? ^When replacing messages with chrome.i18n.getMessage, a message bundle should not be specified.
? ? ? ? (Ljava/lang/String;)V ? ? replaceMessagesWithChromeI18n ? ? tcProjectId
? ? ? ? ? $com/google/common/base/Preconditions
checkState (ZLjava/lang/Object;)V ? ? doLateLocalization ? =Late localization is not supported for chrome.i18n.getMessage ? ? $assumeForwardDeclaredForMissingTypes ? ? preferSingleQuotes ? ? trustedStrings ? ? printSourceAfterEachPass ? ? ? "filesToPrintAfterEachPassRegexList Ljava/util/List; ? ? ? #chunksToPrintAfterEachPassRegexList ? ? ? !qnameUsesToPrintAfterEachPassList ? ? ? tracer 9Lcom/google/javascript/jscomp/CompilerOptions$TracerMode; ? ? ? tracerOutput ? ? ? extraReportGenerators ? ? ? ? ? java/util/List add (Ljava/lang/Object;)Z ? ? protectHiddenSideEffects ? ?
checksOnly
? ? ? getTypedAstOutputFile ()Ljava/nio/file/Path; ? ? assumeGettersArePure ? ? assumeStaticInheritanceIsNotUsed ? ? ? conformanceRemoveRegexFromPath !Lcom/google/common/base/Optional; ? ? wrapGoogModulesForWhitespaceOnly ? ? rewriteModulesBeforeTypechecking ? ? enableModuleRewriting ? ? processCommonJSModules ? ? printConfig ? ? allowDynamicImport ? ? dynamicImportAlias
? ? ? ? ? java/lang/Object ()V
? ? ? ? com/google/common/base/Optional absent #()Lcom/google/common/base/Optional; ?
emitUseStrict ? outputFeatureSet
'com/google/common/collect/ImmutableList of +()Lcom/google/common/collect/ImmutableList; experimentalForceTranspiles )Lcom/google/common/collect/ImmutableList; ? languageOutIsDefaultStrict preserveDetailedSourceInfo preserveNonJSDocComments continueAfterErrors U M OFF !"#$% 8com/google/javascript/jscomp/parsing/Config$JsDocParsing
TYPES_ONLY :Lcom/google/javascript/jscomp/parsing/Config$JsDocParsing; '(% parseJsDocDocumentation
*+,-. .com/google/javascript/jscomp/DependencyOptions none 2()Lcom/google/javascript/jscomp/DependencyOptions; 012 dependencyOptions 0Lcom/google/javascript/jscomp/DependencyOptions; 45 &useSizeHeuristicToStopOptimizationLoop 78 j2clMinifierEnabled :; j2clMinifierPruningManifest => removeJ2clAsserts @A replaceIdGeneratorsC .com/google/javascript/jscomp/deps/ModuleLoaderE ./
GH =(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; JK ? moduleRoots MN rewritePolyfills PQ isolatePolyfills ST instrumentAsyncContext VW ? forceLibraryInjection YZ preventLibraryInjection\ // Input %num% ^_ inputDelimitera 1com/google/javascript/jscomp/ComposeWarningsGuardc *com/google/javascript/jscomp/WarningsGuard
`e ?f 0([Lcom/google/javascript/jscomp/WarningsGuard;)V hij
warningsGuard 3Lcom/google/javascript/jscomp/ComposeWarningsGuard; lm t summaryDetailLevel op t lineLengthThreshold rs useOriginalNamesInOutputu java/util/ArrayList
t ? xyz{| 2com/google/javascript/jscomp/SourceMap$DetailLevel ALL 4Lcom/google/javascript/jscomp/SourceMap$DetailLevel; ~| sourceMapDetailLevel ????? -com/google/javascript/jscomp/SourceMap$Format DEFAULT /Lcom/google/javascript/jscomp/SourceMap$Format; ??? sourceMapFormat ?? parseInlineSourceMaps ?? applyInputSourceMaps ?? resolveSourceMapAnnotations ?? ? sourceMapLocationMappings ?? sourceMapIncludeSourcesContent ?? conformanceConfigs? C^((.*/)?google3/)?(/?(blaze|bazel)-out/[^/]+/(bin/|(?=genfiles/)))?
????? java/util/regex/Pattern compile -(Ljava/lang/String;)Ljava/util/regex/Pattern;
??? 5(Ljava/lang/Object;)Lcom/google/common/base/Optional; ?? ? isStrictModeInput ????? Ccom/google/javascript/jscomp/CompilerOptions$Es6ModuleTranspilation COMPILE ELcom/google/javascript/jscomp/CompilerOptions$Es6ModuleTranspilation; ??? es6ModuleTranspilation ????? 9com/google/javascript/jscomp/CompilerOptions$LanguageMode STABLE_IN ;Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode; ???
languageIn ????? 8com/google/javascript/jscomp/CompilerOptions$Environment BROWSER :Lcom/google/javascript/jscomp/CompilerOptions$Environment; ??? environment
???? &com/google/common/collect/ImmutableMap *()Lcom/google/common/collect/ImmutableMap; ?? F !browserResolverPrefixReplacements ????? =com/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode ?Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode; ??? moduleResolutionMode? browser? module? main
?? a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; ?? ? packageJsonEntryNames ????? :com/google/javascript/jscomp/deps/ModuleLoader$PathEscaper ESCAPE