package chameleon.core;

public class Config {

	/**************************
	 * OPTIMISATION CONSTANTS *
	 **************************/
	
	public final static boolean DEBUG=true;
	
	public final static boolean CACHE_ALL_TYPE_NAMES = true;
	
	public static boolean CACHE_DECLARATIONS = true;

	/**
	 * Turn cache of element references on and off. Default is on.
	 */
	public static boolean CACHE_ELEMENT_REFERENCES = true;
	
	/**
	 * Turn cache of expression types on and off. Default is on.
	 */
	public static boolean CACHE_EXPRESSION_TYPES = true;

	/**
	 * Turn cache of language on and off. Default is on.
	 */
	public static boolean CACHE_LANGUAGE = true;
}

@@ -131,38 +131,32 @@
 ****/%0A%09%0A%09public 
-final 
 static boolean D
@@ -180,14 +180,8 @@
 lic 
-final 
 stat
@@ -210,27 +210,28 @@
 YPE_NAMES = 
-tru
+fals
 e;%0A%09%0A%09public
@@ -263,27 +263,28 @@
 LARATIONS = 
-tru
+fals
 e;%0A%0A%09/**%0A%09 *
@@ -399,19 +399,20 @@
 ENCES = 
-tru
+fals
 e;%0A%09%0A%09/*
@@ -528,19 +528,20 @@
 TYPES = 
-tru
+fals
 e;%0A%0A%09/**
@@ -640,16 +640,188 @@
 GUAGE = 
-true;
+false;%0A%0A%09public static void setCaching(boolean bool) %7B%0A%09%09CACHE_ALL_TYPE_NAMES = bool;%0A%09%09CACHE_DECLARATIONS = bool;%0A%09%09CACHE_ELEMENT_REFERENCES = bool;%0A%09%09CACHE_LANGUAGE = bool;%0A%09%7D
 %0A%7D%0A

disable caching by default. that does not work if the editor reparses elements!