public final class DefaultExterns
extends java.lang.Object
prepareExterns(com.google.javascript.jscomp.CompilerOptions.Environment, java.util.Map<java.lang.String, com.google.javascript.jscomp.SourceFile>)
to
filter externs source files.Modifier and Type | Method and Description |
---|---|
static java.util.List<SourceFile> |
prepareExterns(CompilerOptions.Environment env,
java.util.Map<java.lang.String,SourceFile> externs)
Filters and orders the passed externs for the specified environment.
|
public static java.util.List<SourceFile> prepareExterns(CompilerOptions.Environment env, java.util.Map<java.lang.String,SourceFile> externs)
env
- The environment being used.externs
- Flat tilename to source externs map. Must be mutable and will be modified.Copyright © 2009-2020 Google. All Rights Reserved.