61 CLINIT("<clinit>"), 62 63 /** eval name */ 64 EVAL("eval"), 65 66 /** source name and class */ 67 SOURCE("source", Source.class), 68 69 /** constants name and class */ 70 CONSTANTS("constants", Object[].class), 71 72 /** strict mode field name and type */ 73 STRICT_MODE("strictMode", boolean.class), 74 75 /** default script name */ 76 DEFAULT_SCRIPT_NAME("Script"), 77 78 /** function prefix for anonymous functions */ 79 ANON_FUNCTION_PREFIX("L:"), 80 81 /** method name for Java method that is the program entry point */ 82 PROGRAM(":program"), 83 84 /** method name for Java method that creates the script function for the program */ 85 CREATE_PROGRAM_FUNCTION(":createProgramFunction"), 86 87 /** 88 * "this" name symbol for a parameter representing ECMAScript "this" in static methods that are compiled 89 * representations of ECMAScript functions. It is not assigned a slot, as its position in the method signature is 90 * dependent on other factors (most notably, callee can precede it). 91 */ 92 THIS("this", Object.class), 93 94 /** this debugger symbol */ 95 THIS_DEBUGGER(":this"), 96 97 /** scope name, type and slot */ 98 SCOPE(":scope", ScriptObject.class, 2), 99 100 /** the return value variable name were intermediate results are stored for scripts */ | 61 CLINIT("<clinit>"), 62 63 /** eval name */ 64 EVAL("eval"), 65 66 /** source name and class */ 67 SOURCE("source", Source.class), 68 69 /** constants name and class */ 70 CONSTANTS("constants", Object[].class), 71 72 /** strict mode field name and type */ 73 STRICT_MODE("strictMode", boolean.class), 74 75 /** default script name */ 76 DEFAULT_SCRIPT_NAME("Script"), 77 78 /** function prefix for anonymous functions */ 79 ANON_FUNCTION_PREFIX("L:"), 80 81 /** separator for method names of nested functions */ 82 NESTED_FUNCTION_SEPARATOR("#"), 83 84 /** separator for making method names unique by appending numeric ids */ 85 ID_FUNCTION_SEPARATOR("-"), 86 87 /** method name for Java method that is the program entry point */ 88 PROGRAM(":program"), 89 90 /** method name for Java method that creates the script function for the program */ 91 CREATE_PROGRAM_FUNCTION(":createProgramFunction"), 92 93 /** 94 * "this" name symbol for a parameter representing ECMAScript "this" in static methods that are compiled 95 * representations of ECMAScript functions. It is not assigned a slot, as its position in the method signature is 96 * dependent on other factors (most notably, callee can precede it). 97 */ 98 THIS("this", Object.class), 99 100 /** this debugger symbol */ 101 THIS_DEBUGGER(":this"), 102 103 /** scope name, type and slot */ 104 SCOPE(":scope", ScriptObject.class, 2), 105 106 /** the return value variable name were intermediate results are stored for scripts */ |