Package com.google.javascript.jscomp
Class GenerateExports
- java.lang.Object
-
- com.google.javascript.jscomp.GenerateExports
-
- All Implemented Interfaces:
CompilerPass
public class GenerateExports extends java.lang.Object implements CompilerPass
Generates goog.exportSymbol/goog.exportProperty for the @export annotation.
-
-
Field Summary
Fields Modifier and Type Field Description static DiagnosticType
MISSING_GOOG_FOR_EXPORT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(Node externs, Node root)
Process the JS with root node root.
-
-
-
Field Detail
-
MISSING_GOOG_FOR_EXPORT
public static final DiagnosticType MISSING_GOOG_FOR_EXPORT
-
-
Method Detail
-
process
public void process(Node externs, Node root)
Description copied from interface:CompilerPass
Process the JS with root node root. Can modify the contents of each Node tree- Specified by:
process
in interfaceCompilerPass
- Parameters:
externs
- Top of external JS treeroot
- Top of JS tree
-
-