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 TypeClassDescriptionclassAbstractCommandLineRunner<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 CompilerOptionsCommandLineRunner.createOptions()Compiler.getOptions()protected CompilerOptionsCompiler.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 voidAbstractCommandLineRunner.addAllowlistWarningsGuard(CompilerOptions options, File allowlistFile) protected voidCommandLineRunner.addAllowlistWarningsGuard(CompilerOptions options, File allowlistFile) static voidTranspilationPasses.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 voidAbstractCommandLineRunner.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 voidCompiler.init(List<SourceFile> externs, List<SourceFile> sources, CompilerOptions options) Initializes the instance state needed for a compile job.voidCompiler.initChunks(List<SourceFile> externs, List<JSChunk> chunks, CompilerOptions options) Initializes the instance state needed for a compile job if the sources are in modules.voidCompiler.initChunksWithTypedAstFilesystem(List<SourceFile> externs, List<JSChunk> chunks, CompilerOptions options, InputStream typedAstListStream) Initializes a compiler with deserialized state from the given TypedAst.ListvoidCompiler.initOptions(CompilerOptions options) Initializes the compiler options.final voidCompiler.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.voidCompilationLevel.setDebugOptionsForCompilationLevel(CompilerOptions options) voidCompilationLevel.setOptionsForCompilationLevel(CompilerOptions options) voidWarningLevel.setOptionsForWarningLevel(CompilerOptions options) protected voidAbstractCommandLineRunner.setRunOptions(CompilerOptions options) Sets options based on the configurations set flags API.voidCompilationLevel.setTypeBasedOptimizationOptions(CompilerOptions options) Enable additional optimizations that use type information.protected static voidAbstractCommandLineRunner.setWarningGuardOptions(CompilerOptions options, ArrayList<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards, DiagnosticGroups diagnosticGroups) voidDiagnosticGroups.setWarningLevel(CompilerOptions options, String name, CheckLevel level) Adds warning levels by name.voidCompilationLevel.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.BuilderPassFactory.Builder.setCondition(Function<CompilerOptions, Boolean> cond) Constructors in com.google.javascript.jscomp with parameters of type CompilerOptionsModifierConstructorDescriptionprotectedCodeGenerator(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 CompilerOptionsCompilerBasedTransformer.CompilerSupplier.options()Methods in com.google.javascript.jscomp.bundle with parameters of type CompilerOptionsModifier and TypeMethodDescriptionprotected voidCompilerBasedTransformer.CompilerSupplier.setOptions(CompilerOptions options) protected voidCoverageInstrumenter.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 CompilerOptionsBaseTranspiler.CompilerSupplier.options()Methods in com.google.javascript.jscomp.transpile with parameters of type CompilerOptionsModifier and TypeMethodDescriptionprotected voidBaseTranspiler.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)