59
60 /** static initializer name */
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 FUNCTION_PREFIX(":function$"),
80
81 /** method name for Java method that is script entry point */
82 RUN_SCRIPT("runScript"),
83
84 /**
85 * "this" name symbol for a parameter representing ECMAScript "this" in static methods that are compiled
86 * representations of ECMAScript functions. It is not assigned a slot, as its position in the method signature is
87 * dependent on other factors (most notably, callee can precede it).
88 */
89 THIS("this"),
90
91 /** this debugger symbol */
92 THIS_DEBUGGER(":this"),
93
94 /** scope name, type and slot */
95 SCOPE(":scope", ScriptObject.class, 2),
96
97 /** the return value variable name were intermediate results are stored for scripts */
98 RETURN(":return"),
99
|
59
60 /** static initializer name */
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 script entry point */
82 RUN_SCRIPT("runScript"),
83
84 /**
85 * "this" name symbol for a parameter representing ECMAScript "this" in static methods that are compiled
86 * representations of ECMAScript functions. It is not assigned a slot, as its position in the method signature is
87 * dependent on other factors (most notably, callee can precede it).
88 */
89 THIS("this"),
90
91 /** this debugger symbol */
92 THIS_DEBUGGER(":this"),
93
94 /** scope name, type and slot */
95 SCOPE(":scope", ScriptObject.class, 2),
96
97 /** the return value variable name were intermediate results are stored for scripts */
98 RETURN(":return"),
99
|