All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.gwt.client.JsRunnerMain.externs.js Maven / Gradle / Ivy

/*
 * Copyright 2019 The Closure Compiler Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @fileoverview Datatypes used by "JsRunnerMain.java" that cross
 * the handwritten/J2CL boundry.
 * @externs
 */

class com_google_javascript_jscomp_gwt_client_JsRunnerMain$Flags {
  constructor() {
    /** @type {boolean|undefined} */ this.angularPass;
    /** @type {boolean|undefined} */ this.applyInputSourceMaps;
    /** @type {boolean|undefined} */ this.assumeFunctionWrapper;
    /** @type {boolean|undefined} */ this.checksOnly;
    /** @type {!Array|undefined} */ this.chunk;
    /** @type {!Array|undefined} */ this.chunkWrapper;
    /** @type {string|undefined} */ this.chunkOutputPathPrefix;
    /** @type {string|undefined} */ this.compilationLevel;
    /** @type {*|undefined} */ this.createSourceMap;
    /** @type {boolean|undefined} */ this.dartPass;
    /** @type {boolean|undefined} */ this.debug;
    /** @type {!Array|undefined} */ this.define;
    /** @type {string|undefined} */ this.dependencyMode;
    /** @type {!Array|undefined} */ this.entryPoint;
    /** @type {string|undefined} */ this.env;
    /** @type {boolean|undefined} */ this.exportLocalPropertyDefinitions;
    /** @type {!Array|undefined} */ this.externs;
    /** @type {!Array|undefined} */ this.extraAnnotationName;
    /** @type {!Array|undefined} */ this.forceInjectLibraries;
    /** @type {!Array|undefined} */ this.formatting;
    /** @type {boolean|undefined} */ this.generateExports;
    /** @type {!Array|undefined} */ this.hideWarningsFor;
    /** @type {boolean|undefined} */ this.injectLibraries;
    /** @type {string|undefined} */ this.isolationMode;
    /** @type {!Array|undefined} */ this.js;
    /** @type {!Array|undefined} */ this.jscompError;
    /** @type {!Array|undefined} */ this.jscompOff;
    /** @type {!Array|undefined} */ this.jscompWarning;
    /** @type {!Array|undefined} */ this.jsModuleRoot;
    /** @type {string|undefined} */ this.jsOutputFile;
    /** @type {string|undefined} */ this.languageIn;
    /** @type {string|undefined} */ this.languageOut;
    /** @type {string|undefined} */ this.moduleResolution;
    /** @deprecated @type {boolean|undefined} */ this.newTypeInf;
    /** @type {string|undefined} */ this.outputWrapper;
    /** @type {string|undefined} */ this.packageJsonEntryNames;
    /** @type {boolean|undefined} */ this.parseInlineSourceMaps;
    /** @deprecated @type {boolean|undefined} */ this.polymerPass;
    /** @type {number|undefined} */ this.polymerVersion;
    /** @type {boolean|undefined} */ this.preserveTypeAnnotations;
    /** @type {boolean|undefined} */ this.processClosurePrimitives;
    /** @type {boolean|undefined} */ this.processCommonJsModules;
    /** @type {boolean|undefined} */ this.renaming;
    /** @type {string|undefined} */ this.renamePrefixNamespace;
    /** @type {string|undefined} */ this.renameVariablePrefix;
    /** @type {boolean|undefined} */ this.rewritePolyfills;
    /** @type {boolean|undefined} */ this.sourceMapIncludeContent;
    /** @type {boolean|undefined} */ this.strictModeInput;
    /** @type {string|undefined} */ this.tracerMode;
    /** @type {boolean|undefined} */ this.useTypesForOptimization;
    /** @type {string|undefined} */ this.warningLevel;

    // These flags do not match the Java compiler JAR.
    /** @deprecated @type {!Array<  File>|undefined} */ this.jsCode;
    /** @type {!Object|undefined} */ this.defines;
  }
}

class com_google_javascript_jscomp_gwt_client_JsRunnerMain$File {
  constructor() {
    /** @type {string|undefined} */ this.path;
    /** @type {string|undefined} */ this.src;
    /** @type {string|undefined} */ this.sourceMap;
    /** @type {string|undefined} */ this.webpackId;
  }
}

class com_google_javascript_jscomp_gwt_client_JsRunnerMain$ChunkOutput {
  constructor() {
    /** @deprecated @type {string|undefined} */ this.compiledCode;
    /** @deprecated @type {string|undefined} */ this.sourceMap;
    /**
     * @type{!Array|undefined}
     */
    this.compiledFiles;
    /** @type{!Array|undefined} */ this.errors;
    /** @type{!Array|undefined} */ this.warnings;
  }
}