All files / test/Slice/escape Clash.js

45.5% Statements 81/178
100% Branches 1/1
0% Functions 0/13
45.5% Lines 81/178

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 1791x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                       1x 1x                                     1x 1x                                     1x 1x 1x 1x 1x 1x 1x 1x               1x 1x               1x 1x               1x 1x     1x 1x 1x 1x 1x 1x           1x 1x     1x 1x     1x 1x     1x 1x         1x 1x         1x 1x 1x  
// Copyright (c) ZeroC, Inc.
 
// slice2js version 3.9.0-alpha.0
// <auto-generated>Generated from Slice file 'Clash.ice'.</auto-generated>
 
/* eslint-disable */
/* jshint ignore: start */
 
import { Ice } from "@zeroc/ice";
 
export const Clash = {};
 
const iceC_Clash_Intf_ids = [
    "::Clash::Intf",
    "::Ice::Object"
];
 
Clash.Intf = class extends Ice.Object {};
 
Clash.IntfPrx = class extends Ice.ObjectPrx {};
 
Ice.TypeRegistry.declareProxyType("Clash.IntfPrx", Clash.IntfPrx);
 
Ice.defineOperations(
    Clash.Intf,
    Clash.IntfPrx,
    iceC_Clash_Intf_ids,
    "::Clash::Intf", {
        "context": [, 0, , , , , , , , ],
        "current": [, 0, , , , , , , , ],
        "response": [, 0, , , , , , , , ],
        "typeId": [, 0, , , , , , , , ],
        "del": [, 0, , , , , , , , ],
        "cookie": [, 0, , , , , , , , ],
        "sync": [, 0, , , , , , , , ],
        "inS": [, 0, , , , , , , , ],
        "istr": [, 0, , , , , , , , ],
        "obj": [, 0, , , , , , , , ],
        "op": [, 0, , , [[7], [7], [7], [7], [7], [7], [7], [7], [7], [7], [7, , 1], [3, , 2]], , , , , ],
        "opOut": [, 0, , , , [[7], [7], [7], [7], [7], [7], [7], [7], [7], [7], [7, , 1], [3, , 2]], , , , ]
    });
 
Clash.Cls = class extends Ice.Value {
    constructor(s = null, context = "", current = 0, response = 0, typeId = 0, del = 0, cookie = undefined, ex = "", result = 0, istr = "", ostr = "", inS = "", _in = "", proxy = "", obj = 0, getCookie = 0, _clone = "") {
        super();
        this.s = s;
        this.context = context;
        this.current = current;
        this.response = response;
        this.typeId = typeId;
        this.del = del;
        this.cookie = cookie;
        this.ex = ex;
        this.result = result;
        this.istr = istr;
        this.ostr = ostr;
        this.inS = inS;
        this._in = _in;
        this.proxy = proxy;
        this.obj = obj;
        this.getCookie = getCookie;
        this._clone = _clone;
    }
 
    _iceWriteMemberImpl(ostr) {
        ostr.writeProxy(this.s);
        ostr.writeString(this.context);
        ostr.writeInt(this.current);
        ostr.writeShort(this.response);
        ostr.writeInt(this.typeId);
        ostr.writeShort(this.del);
        ostr.writeString(this.ex);
        ostr.writeInt(this.result);
        ostr.writeString(this.istr);
        ostr.writeString(this.ostr);
        ostr.writeString(this.inS);
        ostr.writeString(this._in);
        ostr.writeString(this.proxy);
        ostr.writeInt(this.obj);
        ostr.writeInt(this.getCookie);
        ostr.writeString(this._clone);
        Ice.ShortHelper.writeOptional(ostr, 1, this.cookie);
    }
 
    _iceReadMemberImpl(istr) {
        this.s = istr.readProxy();
        this.context = istr.readString();
        this.current = istr.readInt();
        this.response = istr.readShort();
        this.typeId = istr.readInt();
        this.del = istr.readShort();
        this.ex = istr.readString();
        this.result = istr.readInt();
        this.istr = istr.readString();
        this.ostr = istr.readString();
        this.inS = istr.readString();
        this._in = istr.readString();
        this.proxy = istr.readString();
        this.obj = istr.readInt();
        this.getCookie = istr.readInt();
        this._clone = istr.readString();
        this.cookie = Ice.ShortHelper.readOptional(istr, 1);
    }
};
 
Ice.defineClass(Clash.Cls, "::Clash::Cls");
 
Ice.TypeRegistry.declareValueType("Clash.Cls", Clash.Cls);
 
Clash.St = class {
    constructor(v = "", istr = 0, ostr = 0, rhs = 0, _hashCode = "", _clone = 0) {
        this.v = v;
        this.istr = istr;
        this.ostr = ostr;
        this.rhs = rhs;
        this._hashCode = _hashCode;
        this._clone = _clone;
    }
 
    _write(ostr) {
        ostr.writeString(this.v);
        ostr.writeShort(this.istr);
        ostr.writeInt(this.ostr);
        ostr.writeInt(this.rhs);
        ostr.writeString(this._hashCode);
        ostr.writeInt(this._clone);
    }
 
    _read(istr) {
        this.v = istr.readString();
        this.istr = istr.readShort();
        this.ostr = istr.readInt();
        this.rhs = istr.readInt();
        this._hashCode = istr.readString();
        this._clone = istr.readInt();
    }
 
    static get minWireSize() {
        return  16;
    }
};
 
Ice.defineStruct(Clash.St, true, true);
 
Clash.Ex = class extends Ice.UserException {
    constructor(istr = 0, ostr = 0, cause = "") {
        super();
        this.istr = istr;
        this.ostr = ostr;
        this.cause = cause;
    }
 
    static get _parent() {
        return Ice.UserException;
    }
 
    static get _ice_id() {
        return "::Clash::Ex";
    }
 
    _mostDerivedType() {
        return Clash.Ex;
    }
 
    _writeMemberImpl(ostr) {
        ostr.writeShort(this.istr);
        ostr.writeInt(this.ostr);
        ostr.writeString(this.cause);
    }
 
    _readMemberImpl(istr) {
        this.istr = istr.readShort();
        this.ostr = istr.readInt();
        this.cause = istr.readString();
    }
};
 
Ice.defineClass(Clash.Ex, "::Clash::Ex");