Uses of Class
com.google.javascript.jscomp.CompilerOptions
-
Packages that use CompilerOptions Package Description com.google.javascript.jscomp 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 that return types with arguments of type CompilerOptions Modifier and Type Method Description abstract java.util.function.Function<CompilerOptions,java.lang.Boolean>PassFactory. getCondition()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. addEarlyOptimizationTranspilationPasses(PassListBuilder passes, CompilerOptions options)Adds transpilation passes that should run at the beginning of the optimization phaseResultCompiler. compile(SourceFile extern, SourceFile input, CompilerOptions options)Compiles a single source file and a single externs file.ResultCompiler. compile(java.util.List<SourceFile> externs, java.util.List<SourceFile> inputs, CompilerOptions options)Compiles a list of inputs.ResultCompiler. compileModules(java.util.List<SourceFile> externs, java.util.List<JSChunk> modules, CompilerOptions options)Compiles a list of modules.static voidAbstractCommandLineRunner. createDefineReplacements(java.util.List<java.lang.String> definitions, CompilerOptions options)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)voidCompiler. init(java.util.List<SourceFile> externs, java.util.List<SourceFile> sources, CompilerOptions options)Initializes the instance state needed for a compile job.voidCompiler. initModules(java.util.List<SourceFile> externs, java.util.List<JSChunk> modules, CompilerOptions options)Initializes the instance state needed for a compile job if the sources are in modules.voidCompiler. initModulesWithTypedAstFilesystem(java.util.List<SourceFile> externs, java.util.List<JSChunk> modules, CompilerOptions options, java.io.InputStream typedAstListStream)Initializes a compiler that will use pre-compiled TypedAst files instead of reading the source from diskvoidCompiler. initOptions(CompilerOptions options)Initializes the compiler options.voidCompiler. initWithTypedAstFilesystem(java.util.List<SourceFile> externs, java.util.List<SourceFile> sources, CompilerOptions options, java.io.InputStream typedAstListStream)Initializes a compiler that will use pre-compiled TypedAst files instead of reading the source from diskCodePrinter.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.Method parameters in com.google.javascript.jscomp with type arguments of type CompilerOptions Modifier and Type Method Description abstract PassFactory.BuilderPassFactory.Builder. setCondition(java.util.function.Function<CompilerOptions,java.lang.Boolean> cond)Constructors in com.google.javascript.jscomp with parameters of type CompilerOptions Constructor Description CheckExtraRequiresPassConfig(CompilerOptions options)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 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)
-