Package com.google.gwt.dev.js

Examples of com.google.gwt.dev.js.FreshNameGenerator


    private Map<JsName, JsLiteral> runObfuscateNamer(PermProps props) throws IllegalNameException {
      Map<JsName, JsLiteral> internedLiteralByVariableName =
          JsLiteralInterner.exec(jprogram, jsProgram, (byte) (JsLiteralInterner.INTERN_ALL
              & (byte) (jprogram.typeOracle.isInteropEnabled()
              ? ~JsLiteralInterner.INTERN_STRINGS : ~0)));
      FreshNameGenerator freshNameGenerator = JsObfuscateNamer.exec(jsProgram,
          props.getConfigProps());
      if (options.shouldRemoveDuplicateFunctions()
          && JsStackEmulator.getStackMode(props) == JsStackEmulator.StackMode.STRIP) {
        JsDuplicateFunctionRemover.exec(jsProgram, freshNameGenerator);
      }
View Full Code Here


    }

    private Map<JsName, JsLiteral> runObfuscateNamer(PropertyOracle[] propertyOracles) {
      Map<JsName, JsLiteral> internedLiteralByVariableName =
          JsLiteralInterner.exec(jprogram, jsProgram, JsLiteralInterner.INTERN_ALL);
      FreshNameGenerator freshNameGenerator = JsObfuscateNamer.exec(jsProgram, propertyOracles);
      if (options.shouldRemoveDuplicateFunctions()
          && JsStackEmulator.getStackMode(propertyOracles) == JsStackEmulator.StackMode.STRIP) {
        JsDuplicateFunctionRemover.exec(jsProgram, freshNameGenerator);
      }
      return internedLiteralByVariableName;
View Full Code Here

TOP

Related Classes of com.google.gwt.dev.js.FreshNameGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.