public class JavascriptFunction extends JavascriptObject
Modifier and Type | Field and Description |
---|---|
protected List<String> |
args |
protected List<JavascriptFunctionLine> |
functionLines |
protected String |
functionName
Attempt to create a function as an object
var myCallback = function( argX ) { someVariable.someMethod( argX );
someOtherVariable.someOtherMethod(); }
|
jsObject, objectCounter, peerRegistry, runtime, variableName
Constructor and Description |
---|
JavascriptFunction(String functionName,
List<String> args,
List<JavascriptFunctionLine> functionLines) |
Modifier and Type | Method and Description |
---|---|
String |
getFunctionAsString() |
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
protected String functionName
protected List<JavascriptFunctionLine> functionLines
public JavascriptFunction(String functionName, List<String> args, List<JavascriptFunctionLine> functionLines)
public String getFunctionAsString()
Copyright © 2016. All Rights Reserved.