rt/vm/src/main/java/org/apidesign/vm4brwsr/ObfuscationLevel.java
author Lubomir Nerad <lubomir.nerad@oracle.com>
Thu, 21 Mar 2013 18:48:46 +0100
branchclosure
changeset 869 151f4ccd7673
parent 860 35507d1a5069
child 882 60d9ea48ec99
permissions -rw-r--r--
Initial attempt for advanced obfuscation
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@869
    21
 * Defines obfuscation level of produced JavaScript files.
lubomir@860
    22
 *
lubomir@860
    23
 * @since 0.5
lubomir@850
    24
 */
lubomir@850
    25
public enum ObfuscationLevel {
lubomir@850
    26
    NONE,
lubomir@869
    27
    MINIMAL,
lubomir@869
    28
    MEDIUM,
lubomir@869
    29
    FULL
lubomir@850
    30
}