Uses of Class
com.google.javascript.jscomp.CompilerOptions
-
Packages that use CompilerOptions Package Description com.google.javascript.jscomp Provides the core compiler and its public API.com.google.javascript.jscomp.bundle com.google.javascript.jscomp.transpile com.google.javascript.refactoring -
-
Uses of CompilerOptions in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp with type parameters of type CompilerOptions Modifier and Type Class Description classAbstractCommandLineRunner<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 CompilerOptions Modifier and Type Field Description protected CompilerOptionsPassConfig. optionsMethods in com.google.javascript.jscomp that return CompilerOptions Modifier and Type Method Description protected CompilerOptionsCommandLineRunner. createOptions()static CompilerOptionsCompilerOptions. deserialize(java.io.InputStream objectInputStream)Deserializes compiler options from a stream.CompilerOptionsCompiler. getOptions()protected CompilerOptionsCompiler. newCompilerOptions()Allow subclasses to override the default CompileOptions object.CompilerOptionsCompilerOptions. setEmitUseStrict(boolean emitUseStrict)CompilerOptionsCompilerOptions. setStrictModeInput(boolean isStrictModeInput)Methods in com.google.javascript.jscomp with parameters of type CompilerOptions Modifier and Type Method Description protected abstract voidAbstractCommandLineRunner. addAllowlistWarningsGuard(CompilerOptions options, java.io.File allowlistFile)protected voidCommandLineRunner. addAllowlistWarningsGuard(CompilerOptions options, java.io.File allowlistFile)static voidTranspilationPasses. addPostCheckTranspilationPasses(java.util.List<PassFactory> passes, CompilerOptions options)Adds transpilation passes that should run after all checks are done.static voidTranspilationPasses. addTranspilationRuntimeLibraries(java.util.List<PassFactory> passes, CompilerOptions options)ResultCompiler. compile(SourceFile extern, SourceFile input, CompilerOptions options)Compiles a single source file and a single externs file.<T1 extends SourceFile,T2 extends SourceFile>
ResultCompiler. compile(java.util.List<T1> externs, java.util.List<T2> inputs, CompilerOptions options)Compiles a list of inputs.<T extends SourceFile>
ResultCompiler. compileModules(java.util.List<T> externs, java.util.List<JSModule> modules, CompilerOptions options)Compiles a list of modules.static voidAbstractCommandLineRunner. createDefineOrTweakReplacements(java.util.List<java.lang.String> definitions, CompilerOptions options, boolean tweaks)Create a map of constant names to constant values from a textual description of the map.protected java.util.List<SourceFile>AbstractCommandLineRunner. createExterns(CompilerOptions options)protected java.util.List<SourceFile>CommandLineRunner. createExterns(CompilerOptions options)<T1 extends SourceFile,T2 extends SourceFile>
voidCompiler. init(java.util.List<T1> externs, java.util.List<T2> sources, CompilerOptions options)Initializes the instance state needed for a compile job.<T extends SourceFile>
voidCompiler. initModules(java.util.List<T> externs, java.util.List<JSModule> modules, CompilerOptions options)Initializes the instance state needed for a compile job if the sources are in modules.voidCompiler. initOptions(CompilerOptions options)Initializes the compiler options.CodePrinter.BuilderCodePrinter.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, java.util.ArrayList<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards, DiagnosticGroups diagnosticGroups)voidDiagnosticGroups. setWarningLevel(CompilerOptions options, java.lang.String name, CheckLevel level)Adds warning levels by name.voidCompilationLevel. setWrappedOutputOptimizations(CompilerOptions options)Enable additional optimizations that operate on global declarations.Constructors in com.google.javascript.jscomp with parameters of type CompilerOptions Constructor Description CodeGenerator(CodeConsumer consumer, CompilerOptions options)DefaultPassConfig(CompilerOptions options)JsMessageExtractor(JsMessage.IdGenerator idGenerator, JsMessage.Style style, CompilerOptions options, boolean extractExternalMessages)PassConfig(CompilerOptions options) -
Uses of CompilerOptions in com.google.javascript.jscomp.bundle
Methods in com.google.javascript.jscomp.bundle that return CompilerOptions Modifier and Type Method Description protected CompilerOptionsCompilerBasedTransformer.CompilerSupplier. options()Methods in com.google.javascript.jscomp.bundle with parameters of type CompilerOptions Modifier and Type Method Description protected 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 CompilerOptions Modifier and Type Method Description protected CompilerOptionsBaseTranspiler.CompilerSupplier. options()Methods in com.google.javascript.jscomp.transpile with parameters of type CompilerOptions Modifier and Type Method Description protected voidBaseTranspiler.CompilerSupplier. setOptions(CompilerOptions options) -
Uses of CompilerOptions in com.google.javascript.refactoring
Methods in com.google.javascript.refactoring that return CompilerOptions Modifier and Type Method Description static CompilerOptionsRefactoringDriver. getCompilerOptions()Methods in com.google.javascript.refactoring with parameters of type CompilerOptions Modifier and Type Method Description RefactoringDriver.BuilderRefactoringDriver.Builder. withCompilerOptions(CompilerOptions compilerOptions)
-