|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface CompilerOptions.AliasTransformation
A Role Specific Interface for the JS Compiler to report aliases used to change the code during a compile.
While aliases defined by goog.scope are expected to by only 1 per file, and the only top-level structure in the file, this is not enforced.
| Method Summary | |
|---|---|
void |
addAlias(String alias,
String definition)
Adds an alias definition to the AliasTransformation instance. |
| Method Detail |
|---|
void addAlias(String alias,
String definition)
Last definition for a given alias is kept if an alias is inserted multiple times (since this is generally the behavior in JavaScript code).
alias - the name of the alias.definition - the definition of the alias.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||