Uses of Class
com.google.javascript.jscomp.CompilerOptions
Packages that use CompilerOptions
Package
Description
-
Uses of CompilerOptions in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp with type parameters of type CompilerOptionsModifier and TypeClassDescriptionclass
AbstractCommandLineRunner<A extends Compiler,
B extends CompilerOptions> Implementations of AbstractCommandLineRunner translate flags into Java API calls on the Compiler.Fields in com.google.javascript.jscomp declared as CompilerOptionsMethods in com.google.javascript.jscomp that return CompilerOptionsModifier and TypeMethodDescriptionprotected CompilerOptions
CommandLineRunner.createOptions()
Compiler.getOptions()
protected CompilerOptions
Compiler.newCompilerOptions()
Allow subclasses to override the default CompileOptions object.CompilerOptions.setEmitUseStrict
(boolean emitUseStrict) CompilerOptions.setStrictModeInput
(boolean isStrictModeInput) Methods in com.google.javascript.jscomp that return types with arguments of type CompilerOptionsModifier and TypeMethodDescriptionabstract Function
<CompilerOptions, Boolean> PassFactory.getCondition()
Methods in com.google.javascript.jscomp with parameters of type CompilerOptionsModifier and TypeMethodDescriptionprotected abstract void
AbstractCommandLineRunner.addAllowlistWarningsGuard
(CompilerOptions options, File allowlistFile) protected void
CommandLineRunner.addAllowlistWarningsGuard
(CompilerOptions options, File allowlistFile) static void
TranspilationPasses.addTranspilationPasses
(PassListBuilder passes, CompilerOptions options) Adds transpilation passes.Compiler.compile
(SourceFile extern, SourceFile input, CompilerOptions options) Compiles a single source file and a single externs file.Compiler.compile
(List<SourceFile> externs, List<SourceFile> inputs, CompilerOptions options) Compiles a list of inputs.Compiler.compileChunks
(List<SourceFile> externs, List<JSChunk> chunks, CompilerOptions options) Compiles a list of chunks.static void
AbstractCommandLineRunner.createDefineReplacements
(List<String> definitions, CompilerOptions options) Create a map of constant names to constant values from a textual description of the map.protected List
<SourceFile> AbstractCommandLineRunner.createExterns
(CompilerOptions options) protected List
<SourceFile> CommandLineRunner.createExterns
(CompilerOptions options) final void
Compiler.init
(List<SourceFile> externs, List<SourceFile> sources, CompilerOptions options) Initializes the instance state needed for a compile job.void
Compiler.initChunks
(List<SourceFile> externs, List<JSChunk> chunks, CompilerOptions options) Initializes the instance state needed for a compile job if the sources are in modules.void
Compiler.initChunksWithTypedAstFilesystem
(List<SourceFile> externs, List<JSChunk> chunks, CompilerOptions options, InputStream typedAstListStream) Initializes a compiler with deserialized state from the given TypedAst.Listvoid
Compiler.initOptions
(CompilerOptions options) Initializes the compiler options.final void
Compiler.initWithTypedAstFilesystem
(List<SourceFile> externs, List<SourceFile> sources, CompilerOptions options, InputStream typedAstListStream) Initializes a compiler with deserialized state from the given TypedAst.ListCodePrinter.Builder.setCompilerOptions
(CompilerOptions options) Sets the output options from compiler options.void
CompilationLevel.setDebugOptionsForCompilationLevel
(CompilerOptions options) void
CompilationLevel.setOptionsForCompilationLevel
(CompilerOptions options) void
WarningLevel.setOptionsForWarningLevel
(CompilerOptions options) protected void
AbstractCommandLineRunner.setRunOptions
(CompilerOptions options) Sets options based on the configurations set flags API.void
CompilationLevel.setTypeBasedOptimizationOptions
(CompilerOptions options) Enable additional optimizations that use type information.protected static void
AbstractCommandLineRunner.setWarningGuardOptions
(CompilerOptions options, ArrayList<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards, DiagnosticGroups diagnosticGroups) void
DiagnosticGroups.setWarningLevel
(CompilerOptions options, String name, CheckLevel level) Adds warning levels by name.void
CompilationLevel.setWrappedOutputOptimizations
(CompilerOptions options) Enable additional optimizations that operate on global declarations.Method parameters in com.google.javascript.jscomp with type arguments of type CompilerOptionsModifier and TypeMethodDescriptionabstract PassFactory.Builder
PassFactory.Builder.setCondition
(Function<CompilerOptions, Boolean> cond) Constructors in com.google.javascript.jscomp with parameters of type CompilerOptionsModifierConstructorDescriptionprotected
CodeGenerator
(CodeConsumer consumer, CompilerOptions options) DefaultPassConfig
(CompilerOptions options) JsMessageExtractor
(JsMessage.IdGenerator idGenerator, CompilerOptions options, boolean extractExternalMessages) PassConfig
(CompilerOptions options) PassListBuilder
(CompilerOptions options) -
Uses of CompilerOptions in com.google.javascript.jscomp.bundle
Methods in com.google.javascript.jscomp.bundle that return CompilerOptionsModifier and TypeMethodDescriptionprotected CompilerOptions
CompilerBasedTransformer.CompilerSupplier.options()
Methods in com.google.javascript.jscomp.bundle with parameters of type CompilerOptionsModifier and TypeMethodDescriptionprotected void
CompilerBasedTransformer.CompilerSupplier.setOptions
(CompilerOptions options) protected void
CoverageInstrumenter.CompilerSupplier.setOptions
(CompilerOptions options) -
Uses of CompilerOptions in com.google.javascript.jscomp.transpile
Methods in com.google.javascript.jscomp.transpile that return CompilerOptionsModifier and TypeMethodDescriptionprotected CompilerOptions
BaseTranspiler.CompilerSupplier.options()
Methods in com.google.javascript.jscomp.transpile with parameters of type CompilerOptionsModifier and TypeMethodDescriptionprotected void
BaseTranspiler.CompilerSupplier.setOptions
(CompilerOptions options) -
Uses of CompilerOptions in com.google.javascript.refactoring
Methods in com.google.javascript.refactoring that return CompilerOptionsMethods in com.google.javascript.refactoring with parameters of type CompilerOptionsModifier and TypeMethodDescriptionRefactoringDriver.Builder.withCompilerOptions
(CompilerOptions compilerOptions)