//
  // used by the .var directive
  //
  void addVar(String startLab, String endLab, String name, String desc, String sign, int var_num)
      throws jasError {
    if (startLab == null) {
      startLab = BGN_METHOD;
    }

    if (endLab == null) {
      endLab = END_METHOD;
    }
    Label slab, elab;
    slab = getLabel(startLab);
    elab = getLabel(endLab);

    if (var_table == null) {
      var_table = new LocalVarTableAttr();
    }

    var_table.addEntry(new LocalVarEntry(slab, elab, name, desc, var_num));

    if (sign != null) {
      if (vtype_table == null) {
        vtype_table = new LocalVarTypeTableAttr();
      }

      vtype_table.addEntry(new LocalVarEntry(slab, elab, name, sign, var_num));
    }
  }
  void addVar(int startOffset, int endOffset, String name, String desc, String sign, int var_num)
      throws jasError {
    if (var_table == null) {
      var_table = new LocalVarTableAttr();
    }
    var_table.addEntry(new LocalVarEntry(startOffset, endOffset, name, desc, var_num));

    if (sign != null) {
      if (vtype_table == null) {
        vtype_table = new LocalVarTypeTableAttr();
      }

      vtype_table.addEntry(new LocalVarEntry(startOffset, endOffset, name, sign, var_num));
    }
  }