Class GenerateExports

  • All Implemented Interfaces:
    CompilerPass

    public class GenerateExports
    extends java.lang.Object
    implements CompilerPass
    Generates goog.exportSymbol/goog.exportProperty for the @export annotation.
    • 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 interface CompilerPass
        Parameters:
        externs - Top of external JS tree
        root - Top of JS tree