home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 August / PCO0897.ISO / filesbbs / os2 / fp1os2.arj / OS2 / DATA / 49 / C / 0 / F_26836 / JScriptRuntimeParam.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-05-15  |  1.5 KB  |  45 lines

  1. class JScriptRuntimeParam {
  2.    private JScriptRuntimeInstance rRuntimeInst;
  3.  
  4.    public JScriptRuntimeInstance GetRuntimeInst() {
  5.       return this.rRuntimeInst;
  6.    }
  7.  
  8.    public JScriptCallLevelInstance GetCallLevelInst() {
  9.       return this.rRuntimeInst.GetActualCallLevelInst();
  10.    }
  11.  
  12.    public JSbxValue GetReturnValue() {
  13.       return this.rRuntimeInst.GetReturnValue();
  14.    }
  15.  
  16.    public void SetReturnValue(JSbxValue var1) {
  17.       this.rRuntimeInst.SetReturnValue(var1);
  18.    }
  19.  
  20.    public JScriptDebugInterface GetDebugInterface() {
  21.       return this.rRuntimeInst.GetDebugInterface();
  22.    }
  23.  
  24.    JScriptExpressionStack GetStack() {
  25.       return this.rRuntimeInst.GetExpressionStack();
  26.    }
  27.  
  28.    public JSbxObject GetLocalVarObject() {
  29.       return this.rRuntimeInst.GetActualCallLevelInst().GetLocalVarObject();
  30.    }
  31.  
  32.    JSbxProperty CreateGlobalVar(String var1) throws JSbxException {
  33.       JScriptCallLevelInstance var2 = this.rRuntimeInst.GetActualCallLevelInst();
  34.       JSbxObject var3 = var2.GetActualRootObject(this.rRuntimeInst);
  35.       JSbxValueProperty var4 = new JSbxValueProperty(var1, var3);
  36.       ((JSbxBase)var4).SetFlag(4);
  37.       var3.Put(var4);
  38.       return var4;
  39.    }
  40.  
  41.    public JScriptRuntimeParam(JScriptRuntimeInstance var1) {
  42.       this.rRuntimeInst = var1;
  43.    }
  44. }
  45.