public final class DefaultExterns extends 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 List<SourceFile> |
prepareExterns(CompilerOptions.Environment env,
Map<String,SourceFile> externs)
Filters and orders the passed externs for the specified environment.
|
public static List<SourceFile> prepareExterns(CompilerOptions.Environment env, Map<String,SourceFile> externs)
env
- The environment being used.externs
- Flat tilename to source externs map. Must be mutable and will be modified.Copyright © 2009-2016 Google. All Rights Reserved.