org.xwt.js
Class JS.Callable

java.lang.Object
  extended byorg.xwt.js.JS
      extended byorg.xwt.js.JS.Obj
          extended byorg.xwt.js.JS.Callable
Enclosing class:
JS

public abstract static class JS.Callable
extends JS.Obj

anything that is callable with the () operator and wasn't compiled from JS code


Nested Class Summary
 
Nested classes inherited from class org.xwt.js.JS
JS.Array, JS.Callable, JS.Context, JS.Exn, JS.GlobalScope, JS.Graft, JS.Obj, JS.Scope, JS.TailCall
 
Constructor Summary
JS.Callable()
           
 
Method Summary
abstract  java.lang.Object call(JS.Array args)
           
 
Methods inherited from class org.xwt.js.JS.Obj
get, get, keys, put, put2, setSeal
 
Methods inherited from class org.xwt.js.JS
callMethod, coerceToBoolean, coerceToNumber, coerceToString, parse, toBoolean, toDouble, toInt, toLong, toNumber, toString, typeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JS.Callable

public JS.Callable()
Method Detail

call

public abstract java.lang.Object call(JS.Array args)
                               throws JS.Exn
Throws:
JS.Exn