Searched defs:script (Results 1 - 25 of 50) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/script/
H A DCompilable.java26 package javax.script;
40 * Compiles the script (source represented as a <code>String</code>) for
43 * @param script The source of the script, represented as a <code>String</code>.
53 public CompiledScript compile(String script) throws argument
57 * Compiles the script (source read from <code>Reader</code>) for
62 * @param script The reader from which the script source is obtained.
70 public CompiledScript compile(Reader script) throws argument
H A DCompiledScript.java26 package javax.script;
33 * language opcodes. The script may be executed repeatedly
37 * method of the <code>CompiledScript</code> causes the execution of the script by the
53 * @return The value returned by the script execution, if any. Should return <code>null</code>
54 * if no value is returned by the script execution.
65 * associated <code>ScriptEngine</code> during script execution. If bindings is null,
73 * @return The return value from the script execution
101 * @return The return value from the script execution
H A DInvocable.java26 package javax.script;
38 * Calls a method on a script object compiled during a previous script execution,
44 * defined in the script and thiz is an instance of that class
52 * variable returned by the script method to a Java Object are implementation-specific.
H A DAbstractScriptEngine.java26 package javax.script;
200 * @param reader A <code>Reader</code> containing the source of the script.
202 * while the script executes.
205 * @throws ScriptException if an error occurs in script.
220 * @param script A <code>String</code> containing the source of the script.
223 * while the script executes.
226 * @throws ScriptException if an error occurs in script.
229 public Object eval(String script, Bindings bindings) throws ScriptException { argument
233 return eval(script , ctx
261 eval(String script) argument
[all...]
H A DScriptEngine.java26 package javax.script;
55 * an array of positional arguments to a script.
57 public static final String ARGV="javax.script.argv";
63 public static final String FILENAME = "javax.script.filename";
69 public static final String ENGINE = "javax.script.engine";
75 public static final String ENGINE_VERSION = "javax.script.engine_version";
83 public static final String NAME = "javax.script.name";
89 public static final String LANGUAGE = "javax.script.language";
95 public static final String LANGUAGE_VERSION ="javax.script.language_version";
99 * Causes the immediate execution of the script whos
122 eval(String script, ScriptContext context) argument
151 eval(String script) argument
183 eval(String script, Bindings n) argument
[all...]
H A DBindings.java26 package javax.script;
H A DScriptException.java26 package javax.script;
75 * @param fileName The file or resource name describing the location of a script error
78 * @param lineNumber A line number describing the location of a script error causing
144 * Get the source of the script causing the error.
145 * @return The file name of the script or some other string describing the script
H A DScriptContext.java26 package javax.script;
184 * Returns a <code>Reader</code> to be used by the script to read
H A DScriptEngineFactory.java26 package javax.script;
121 * thread-safe and scripts may execute concurrently although effects of script execution
127 * <li><code>&quot;THREAD-ISOLATED&quot;</code>. In addition, script executions do not alter the
130 * and their associated values are the same before and after the execution of the script.
H A DSimpleBindings.java26 package javax.script;
H A DSimpleScriptContext.java26 package javax.script;
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DRhinoCompiledScript.java26 package com.sun.script.javascript;
27 import javax.script.*;
39 private Script script; field in class:RhinoCompiledScript
42 RhinoCompiledScript(RhinoScriptEngine engine, Script script) { argument
44 this.script = script;
54 Object ret = script.exec(cx, scope);
H A DRhinoClassShutter.java26 package com.sun.script.javascript;
32 * This class prevents script access to certain sensitive classes.
H A DJavaAdapter.java26 package com.sun.script.javascript;
28 import javax.script.Invocable;
34 * Using this JavaAdapter, script author could write:
37 * run: function() { script... }
H A DRhinoTopLevel.java26 package com.sun.script.javascript;
29 import javax.script.*;
50 "com.sun.script.javascript.JSAdapter",
98 * to create a script scope based on arbitrary Bindings instance.
H A DRhinoWrapFactory.java26 package com.sun.script.javascript;
33 * This wrap factory is used for security reasons. JSR 223 script
36 * class loader) uses caller's class loader. This may be exploited by script
H A DRhinoScriptEngineFactory.java26 package com.sun.script.javascript;
27 import javax.script.*;
30 import com.sun.script.util.*;
/openjdk7/jdk/src/share/classes/com/sun/script/util/
H A DScriptEngineFactoryBase.java26 package com.sun.script.util;
27 import javax.script.*;
H A DBindingsImpl.java26 package com.sun.script.util;
28 import javax.script.Bindings;
H A DBindingsBase.java26 package com.sun.script.util;
28 import javax.script.Bindings;
H A DInterfaceImplementor.java26 package com.sun.script.util;
28 import javax.script.*;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DApplicationTool.java49 private TypeScript script; field in class:ApplicationTool
59 this.script = new TypeScript(PROMPT, false); // No implicit echo.
60 this.add(script);
62 script.addActionListener(new ActionListener() {
65 runtime.sendLineToApplication(script.readln());
69 runtime.addApplicationEchoListener(new TypeScriptOutputListener(script));
70 runtime.addApplicationOutputListener(new TypeScriptOutputListener(script));
71 runtime.addApplicationErrorListener(new TypeScriptOutputListener(script));
79 script.setFont(f);
H A DTypeScriptOutputListener.java41 private TypeScript script; field in class:TypeScriptOutputListener
44 public TypeScriptOutputListener(TypeScript script) { argument
45 this(script, false);
48 public TypeScriptOutputListener(TypeScript script, boolean appendNewline) { argument
49 this.script = script;
55 script.append(s);
57 script.newline();
H A DTypeScriptWriter.java41 TypeScript script; field in class:TypeScriptWriter
43 public TypeScriptWriter(TypeScript script) { argument
44 this.script = script;
49 script.append(String.valueOf(cbuf, off, len));
54 script.flush();
59 script.flush();
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontRunIterator.java34 * Iterates over runs of fonts in a CompositeFont, optionally taking script runs into account.
75 * characters that are in the 'common' script become part of the
76 * surrounding script run. we want to fetch these from the same font
83 * 2) get its 'native' script code
84 * 3) determine its 'resolved' script code
85 * 4) if its native script is COMMON, and its resolved script is the same as the previous
88 * 6) break the run when either the physical font or the resolved script changes.
105 * to text runs, however it wishes. we don't necessarily have to provide script info
107 * function that takes script (an
115 next(int script, int lim) argument
[all...]

Completed in 67 milliseconds

12