sdr 0.6

net.cscott.sdr
Class PMSD.State

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by net.cscott.sdr.PMSD.State
All Implemented Interfaces:
Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable
Enclosing class:
PMSD

public static class PMSD.State
extends org.mozilla.javascript.ScriptableObject

Class holding properties accessible from the PMSD front-end.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
PMSD.State()
           
 
Method Summary
 String getClassName()
           
 String jsFunction_listTests(String basedir)
           
 String jsFunction_parse(String calltext)
          Helper to write parsing tests.
 String jsFunction_runAllTests()
          Runs each test in its own javascript context, to ensure independence between tests.
 String jsFunction_runTest(String testName)
          Runs the test in this same context, so that we can (for example) set /errorDetails=true and then run the test to get more information about the failure.
 String jsFunction_setFormation(Object val)
           
 String jsFunction_setFormationWithDancers(Object formation, Object dancer1, Object dancer2, Object dancer3, Object dancer4)
           
 Object jsGet_ds()
           
 boolean jsGet_errorDetails()
           
 Object jsGet_exit()
           
 boolean jsGet_formationDetails()
           
 String jsGet_printFormation()
           
 String jsGet_printFormationDetails()
           
 Object jsGet_program()
           
 Object jsGet_reload()
          Reload call definitions from resource files.
 Object jsGet_reset()
           
 String jsGet_resolveStep()
          Prints out one step of a resolve from here.
 void jsSet_errorDetails(Object val)
           
 void jsSet_formation(Object val)
           
 void jsSet_formationDetails(Object val)
           
 void jsSet_program(Object val)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMSD.State

public PMSD.State()
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

jsGet_ds

public Object jsGet_ds()

jsGet_reset

public Object jsGet_reset()

jsGet_exit

public Object jsGet_exit()

jsGet_program

public Object jsGet_program()

jsSet_program

public void jsSet_program(Object val)

jsGet_errorDetails

public boolean jsGet_errorDetails()

jsSet_errorDetails

public void jsSet_errorDetails(Object val)

jsGet_formationDetails

public boolean jsGet_formationDetails()

jsSet_formationDetails

public void jsSet_formationDetails(Object val)

jsSet_formation

public void jsSet_formation(Object val)

jsFunction_setFormation

public String jsFunction_setFormation(Object val)

jsFunction_setFormationWithDancers

public String jsFunction_setFormationWithDancers(Object formation,
                                                 Object dancer1,
                                                 Object dancer2,
                                                 Object dancer3,
                                                 Object dancer4)

jsGet_printFormation

public String jsGet_printFormation()

jsGet_printFormationDetails

public String jsGet_printFormationDetails()

jsGet_resolveStep

public String jsGet_resolveStep()
Prints out one step of a resolve from here. Currently uses Dave Wilson's ocean wave resolution method.

See Also:
DWResolver

jsFunction_parse

public String jsFunction_parse(String calltext)
Helper to write parsing tests.

See Also:
CallDB.parse(Program,String)

jsGet_reload

public Object jsGet_reload()
Reload call definitions from resource files.


jsFunction_runTest

public String jsFunction_runTest(String testName)
                          throws IOException
Runs the test in this same context, so that we can (for example) set /errorDetails=true and then run the test to get more information about the failure.

Throws:
IOException

jsFunction_runAllTests

public String jsFunction_runAllTests()
Runs each test in its own javascript context, to ensure independence between tests.


jsFunction_listTests

public String jsFunction_listTests(String basedir)

sdr 0.6

Copyright © 2006-2009 C. Scott Ananian