rt/vm/src/main/java/org/apidesign/vm4brwsr/ObfuscationLevel.java
author Lubomir Nerad <lubomir.nerad@oracle.com>
Tue, 19 Mar 2013 13:08:44 +0100
branchclosure
changeset 860 35507d1a5069
parent 850 3af0747dc94f
child 869 151f4ccd7673
permissions -rw-r--r--
Added since tags
lubomir@850
     1
/**
lubomir@850
     2
 * Back 2 Browser Bytecode Translator
lubomir@850
     3
 * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
lubomir@850
     4
 *
lubomir@850
     5
 * This program is free software: you can redistribute it and/or modify
lubomir@850
     6
 * it under the terms of the GNU General Public License as published by
lubomir@850
     7
 * the Free Software Foundation, version 2 of the License.
lubomir@850
     8
 *
lubomir@850
     9
 * This program is distributed in the hope that it will be useful,
lubomir@850
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
lubomir@850
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
lubomir@850
    12
 * GNU General Public License for more details.
lubomir@850
    13
 *
lubomir@850
    14
 * You should have received a copy of the GNU General Public License
lubomir@850
    15
 * along with this program. Look for COPYING file in the top folder.
lubomir@850
    16
 * If not, see http://opensource.org/licenses/GPL-2.0.
lubomir@850
    17
 */
lubomir@850
    18
package org.apidesign.vm4brwsr;
lubomir@850
    19
lubomir@850
    20
/**
lubomir@850
    21
 * Defines obfuscation level of produced JavaScript files. Corresponds to the
lubomir@850
    22
 * closure compiler compilation level.
lubomir@860
    23
 *
lubomir@860
    24
 * @since 0.5
lubomir@850
    25
 */
lubomir@850
    26
public enum ObfuscationLevel {
lubomir@850
    27
    NONE,
lubomir@850
    28
    WHITESPACE_ONLY,
lubomir@850
    29
    SIMPLE_OPTIMIZATIONS,
lubomir@850
    30
    ADVANCED_OPTIMIZATIONS
lubomir@850
    31
}