diff --git a/build/index.js.map b/build/index.js.map index 3f5db87..ff3fa28 100644 --- a/build/index.js.map +++ b/build/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,+CAA0C;AAC1C,2CAAsC;AACtC,kFAA+G;AAG/G,4EAAuE;AACvE,4EAAuE;AACvE,+CAA4C;AAE5C,iBAAO,CAAC,YAAY,CAAC,CAAC,SAAiB,EAAE,EAAE;IAEvC,IAAI;QACA,IAAI,cAAc,GAAG,IAAI,UAAU,CAAE,SAAiB,CAAC,MAAM,CAAC,CAAC;QAC/D,sCAAsC;QACtC,cAAc,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAE9B,IAAI,cAAc,GAAG,gCAAoB,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;QAC5E,IAAI,eAAe,GAAG,IAAI,iCAAqB,EAAE,CAAC;QAClD,IAAI,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;QAChC,IAAI,oBAAoB,GAA2C,EAAE,CAAC;QAEtE,cAAc,CAAC,gBAAgB,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAAE;YAC5D,oBAAoB,CAAC,mBAAmB,CAAC,OAAO,EAAE,CAAC,GAAG,mBAAmB,CAAC;YAC1E,SAAS,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QAEH,cAAc,CAAC,qBAAqB,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YACtD,eAAe;YACf,IAAI,WAAW,GAAG,iBAAO,CAAC,2BAA2B,CAAC,QAAQ,CAAC,CAAC;YAChE,IAAI,UAAU,GAAG,IAAI,iCAAqB,CAAC,IAAI,EAAE,CAAC;YAClD,UAAU,CAAC,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC,CAAC;YAC1C,MAAM,QAAQ,GAAG,2CAAoB,CAAC,MAAM,CAAC,oBAAo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,CAAC,CAAC;YACjG,EAAE,CAAC,CAAC,mBAAmB,IAAI,IAAI,CAAC,CAAC,CAAC;gBAC9B,IAAI,WAAW,GAAG,iBAAO,CAAC,8BAA8B,CAAC,QAAQ,CAAC,CAAC;gBACnE,IAAI,UAAU,GAAG,IAAI,iCAAqB,CAAC,IAAI,EAAE,CAAC;gBAClD,UAAU,CAAC,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC,CAAC;gBAC1C,UAAU,CAAC,UAAU,CAAC,qBAAS,CAAC,MAAM,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;gBACxE,eAAe,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YACxC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,eAAe,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;IACxE,CAAC;IAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,uBAAuB,GAAG,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;QAC1D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AAEL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/build/lib/Debug.js.map b/build/lib/Debug.js.map index 3030a73..c7ebb0d 100644 --- a/build/lib/Debug.js.map +++ b/build/lib/Debug.js.map @@ -1 +1 @@ -{"version":3,"file":"Debug.js","sourceRoot":"","sources":["../../src/lib/Debug.ts"],"names":[],"mappings":";;AAAA,gCAAgC;AAChC,4BAA4B;AAE5B,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEhD,IAAiB,KAAK,CAMrB;AAND,WAAiB,KAAK;IAElB,SAAgB,GAAG,CAAC,IAAS;QACzB,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAC,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAClG,CAAC;IAFe,SAAG,MAElB,CAAA;AAEL,CAAC,EANgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAMrB"} \ No newline at end of file +{"version":3,"file":"Debug.js","sourceRoot":"","sources":["../../src/lib/Debug.ts"],"names":[],"mappings":";;AAAA,gCAAgC;AAChC,4BAA4B;AAE5B,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEhD,IAAiB,KAAK,CAMrB;AAND,WAAiB,KAAK;IAElB,aAAoB,IAAS;QACzB,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAC,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAClG,CAAC;IAFe,SAAG,MAElB,CAAA;AAEL,CAAC,EANgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAMrB"} \ No newline at end of file diff --git a/build/lib/ExportMap.js.map b/build/lib/ExportMap.js.map index d4249bd..9676b38 100644 --- a/build/lib/ExportMap.js.map +++ b/build/lib/ExportMap.js.map @@ -1 +1 @@ -{"version":3,"file":"ExportMap.js","sourceRoot":"","sources":["../../src/lib/ExportMap.ts"],"names":[],"mappings":";;AA0BA,MAAa,SAAS;IAAtB;QACI,eAAU,GAA0C,EAAE,CAAC;QACvD,YAAO,GAAuC,EAAE,CAAC;IAqDrD,CAAC;IAnDG,YAAY,CAAC,KAAa,EAAE,cAAmC,EAAE,OAAwB;QACrF,MAAM,YAAY,GAAuB;YACrC,GAAG,EAAE,cAAc,CAAC,UAAU,EAAE;YAChC,QAAQ,EAAE,cAAc,CAAC,OAAO,EAAE;YAClC,cAAc,EAAE,OAAO,CAAC,UAAU,EAAE;YACpC,eAAe,EAAE,OAAO,CAAC,UAAU,EAAE,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC,WAAW,EAAE,CAAC,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AED,iBAAiB,CAAC,cAAmC;QACjD,MAAM,KAAK,GAAG,cAAc,CAAC,UAAU,EAAE,CAAC;QAC1C,cAAc,CAAC,kBAAkB,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;YACtD,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;QAC1D,CAAC,CAAC,CAAC;QAEH,cAAc,CAAC,eAAe,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YAChD,MAAM,SAAS,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC;YACrE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG;gBACtB,GAAG,EAAE,cAAc,CAAC,UAAU,EAAE;gBAChC,QAAQ,EAAE,cAAc,CAAC,OAAO,EAAE;gBAClC,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE;aACrC,CAAC;QACN,CAAC,CAAC,CAAC;IACP,CAAC;IAED,UAAU,CAAC,GAAW;QAClB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,CAAC,GAAW;QACf,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7B,CAAC;CACJ;AAvDD,8BAuDC"} \ No newline at end of file diff --git a/build/lib/TplEngine.js.map b/build/lib/TplEngine.js.map index 9455b19..774e98a 100644 --- a/build/lib/TplEngine.js.map +++ b/build/lib/TplEngine.js.map @@ -1 +1 @@ -{"version":3,"file":"TplEngine.js","sourceRoot":"","sources":["../../src/lib/TplEngine.ts"],"names":[],"mappings":";;AAAA,4BAA4B;AAC5B,gCAAgC;AAChC,yCAAyC;AACzC,8CAA8C;AAE9C,OAAO,CAAC,EAAC,UAAU,EAAE,UAAU,EAAC,CAAC,CAAC;AAClC,UAAU,CA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,CAAC;IACN,CAAC;IAJe,iBAAO,UAItB,CAAA;AAEL,CAAC,EAlBgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAkBzB"} \ No newline at end of file diff --git a/build/lib/Utility.js.map b/build/lib/Utility.js.map index 5e54090..3d6897d 100644 --- a/build/lib/Utility.js.map +++ b/build/lib/Utility.js.map @@ -1 +1 @@ -{"version":3,"file":"Utility.js","sourceRoot":"","sources":["../../src/lib/Utility.ts"],"names":[],"mappings":";;AAGA,MAAM,aAAa,GAAG,QAAQ,CAAC;AAE/B,IAAiB,OAAO,CA6IvB;AA7ID,WAAiB,OAAO;IAEpB,SAAgB,yBAAyB,CAAC,QAAgB;QACtD,OAAO,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC;IAC7G,CAAC;IAFe,iCAAyB,4BAExC,CAAA;IAED,SAAgB,YAAY,CAAC,GAAW;QACpC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,CAAC;YACpC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9B,CAAC,CAAC,CAAC;IACP,CAAC;IAJe,oBAAY,eAI3B,CAAA;IAED,SAAgB,cAAc,CAAC,GAAW;QACtC,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACtD,CAAC;IAFe,sBAAc,iBAE7B,CAAA;IAED,SAAgB,QAAQ,CAAC,cAAmC;QACxD,kCAAkC;QAClC,OAAO,CAAC,cAAc,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,cAAc,CAAC,SAAS,EAAE,KAAK,aAAa,CAAC,CAAC;IAC/F,CAA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O;QACP,KAAK;QACL,UAAU;QACV,MAAM;QACN,IAAI;QACJ,YAAY;QACZ,QAAQ;QACR,IAAI;QACJ,YAAY;QACZ,KAAK;QACL,WAAW;QACX,MAAM;QACN,QAAQ;QACR,KAAK;QACL,MAAM;QACN,SAAS;QACT,SAAS;QACT,WAAW;QACX,QAAQ;QACR,QAAQ;QACR,OAAO;QACP,QAAQ;QACR,OAAO;QACP,QAAQ;QACR,cAAc;QACd,MAAM;QACN,OAAO;QACP,QAAQ;QACR,WAAW;QACX,KAAK;QACL,QAAQ;QACR,KAAK;QACL,MAAM;QACN,UAAU;QACV,OAAO;QACP,MAAM;KACT,CAAC;AACN,CAAC,EA7IgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA6IvB"} \ No newline at end of file +{"version":3,"file":"Utility.js","sourceRoot":"","sources":["../../src/lib/Utility.ts"],"names":[],"mappings":";;AAGA,MAAM,aAAa,GAAG,QAAQ,CAAC;AAE/B,IAAiB,OAAO,CA6IvB;AA7ID,WAAiB,OAAO;IAEpB,mCAA0C,QAAgB;QACtD,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC;IAC7G,CAAC;IAFe,iCAAyB,4BAExC,CAAA;IAED,sBAA6B,GAAW;QACpC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,CAAC;YACpC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9B,CAAC,CAAC,CAAC;IACP,CAAC;IAJe,oBAAY,eAI3B,CAAA;IAED,wBAA+B,GAAW;QACtC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC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gE;IAChE,iJAAiJ;IACjJ,MAAM,gBAAgB,GAAG;QACrB,UAAU;QACV,SAAS;QACT,OAAO;QACP,MAAM;QACN,MAAM;QACN,OAAO;QACP,MAAM;QACN,OAAO;QACP,OAAO;QACP,UAAU;QACV,UAAU;QACV,SAAS;QACT,QAAQ;QACR,IAAI;QACJ,QAAQ;QACR,MAAM;QACN,MAAM;QACN,QAAQ;QACR,SAAS;QACT,OAAO;QACP,OAAO;QACP,SAAS;QACT,OAAO;QACP,KAAK;QACL,UAAU;QACV,MAAM;QACN,IAAI;QACJ,YAAY;QACZ,QAAQ;QACR,IAAI;QACJ,YAAY;QACZ,KAAK;QACL,WAAW;QACX,MAAM;QACN,QAAQ;QACR,KAAK;QACL,MAAM;QACN,SAAS;QACT,SAAS;QACT,WAAW;QACX,QAAQ;QACR,QAAQ;QACR,OAAO;QACP,QAAQ;QACR,OAAO;QACP,QAAQ;QACR,cAAc;QACd,MAAM;QACN,OAAO;QACP,QAAQ;QACR,WAAW;QACX,KAAK;QACL,QAAQ;QACR,KAAK;QACL,MAAM;QACN,UAAU;QACV,OAAO;QACP,MAAM;KACT,CAAC;AACN,CAAC,EA7IgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA6IvB"} \ No newline at end of file diff --git a/build/lib/format/ProtoMsgTsdFormatter.js.map b/build/lib/format/ProtoMsgTsdFormatter.js.map index 551f645..b20cde2 100644 --- a/build/lib/format/ProtoMsgTsdFormatter.js.map +++ b/build/lib/format/ProtoMsgTsdFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"ProtoMsgTsdFormatter.js","sourceRoot":"","sources":["../../../src/lib/format/ProtoMsgTsdFormatter.ts"],"names":[],"mappings":";;AAEA,wCAAmC;AACnC,4CAA+C;AAE/C,iEAA4D;AAC5D,qEAAgE;AAChE,2DAAsD;AACtD,0DAAqD;AAErD,IAAiB,oBAAoB,CAwDpC;AAxDD,WAAiB,oBAAoB;IAWjC,SAAgB,MAAM,CAAC,UAA+B,EAAE,SA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AE,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YAC5C,KAAK,CAAC,IAAI,CAAC,6BAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;QACnD,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC;YACH,WAAW,EAAE,WAAW;YACxB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,OAAO;YAChB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,KAAK;SACf,CAAC;IACN,CAAC;IA3Ce,2BAAM,SA2CrB,CAAA;AAEL,CAAC,EAxDgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAwDpC"} \ No newline at end of file diff --git a/build/lib/format/ProtoSvcTsdFormatter.js.map b/build/lib/format/ProtoSvcTsdFormatter.js.map index 3196b90..bf81e73 100644 --- a/build/lib/format/ProtoSvcTsdFormatter.js.map +++ b/build/lib/format/ProtoSvcTsdFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"ProtoSvcTsdFormatter.js","sourceRoot":"","sources":["../../../src/lib/format/ProtoSvcTsdFormatter.ts"],"names":[],"mappings":";;AAEA,wCAAmC;AACnC,4CAAuC;AACvC,4CAA+C;AAC/C,0DAAqD;AACrD,uEAAgF;AAEhF,IAAiB,oBAAoB,CAmHpC;AAnHD,WAAiB,oBAAoB;IAOpB,uCAAkB,GAAG,IAAI,CAAC,SAAS,CAAC;QAC7C,WAAW,EAAE,EAAE;QACf,OAAO,EAAE,EAAE;KACC,CAAC,CAAC;IAaL,6CAAwB,GAAG,IAAI,CAAC,SAAS,CAAC;QACnD,WAAW,EAAE,EAAE;QACf,WAAW,EAAE,EAAE;QACf,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,KAAK;QACrB,eAAe,EAAE,EAAE;QACnB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,EAAE;KACU,CAAC,CAAC;IASxB,SAAgB,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AAC,EAnHgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAmHpC"} \ No newline at end of file diff --git a/build/lib/format/partial/EnumFormatter.js.map b/build/lib/format/partial/EnumFormatter.js.map index 1bdbf87..017d8b4 100644 --- a/build/lib/format/partial/EnumFormatter.js.map +++ b/build/lib/format/partial/EnumFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"EnumFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/EnumFormatter.ts"],"names":[],"mappings":";;AAIA,IAAiB,aAAa,CAsB7B;AAtBD,WAAiB,aAAa;IAQ1B,SAAgB,MAAM,CAAC,cAAmC,EAAE,MAAc;QACtE,IAAI,QAAQ,GAAG,cAAc,CAAC,OAAO,EAAE,CAAC;QACxC,IAAI,MAAM,GAA8B,EAAE,CAAC;QAC3C,cAAc,CAAC,YAAY,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YAC1C,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9D,CAAC,CAAC,CAAC;QAEH,OAAO;YACH,MAAM;YACN,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,MAAM;SACjB,CAAC;IACN,CAAC;IAZe,oBAAM,SAYrB,CAAA;AAEL,CAAC,EAtBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAsB7B"} \ No newline at end of file +{"version":3,"file":"EnumFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/EnumFormatter.ts"],"names":[],"mappings":";;AAIA,IAAiB,aAAa,CAsB7B;AAtBD,WAAiB,aAAa;IAQ1B,gBAAuB,cAAmC,EAAE,MAAc;QACtE,IAAI,QAAQ,GAAG,cAAc,CAAC,OAAO,EAAE,CAAC;QACxC,IAAI,MAAM,GAA8B,EAAE,CAAC;QAC3C,cAAc,CAAC,YAAY,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YAC1C,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9D,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC;YACH,MAAM;YACN,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,MAAM;SACjB,CAAC;IACN,CAAC;IAZe,oBAAM,SAYrB,CAAA;AAEL,CAAC,EAtBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAsB7B"} \ No newline at end of file diff --git a/build/lib/format/partial/ExtensionFormatter.js.map b/build/lib/format/partial/ExtensionFormatter.js.map index aa532e5..651ac85 100644 --- a/build/lib/format/partial/ExtensionFormatter.js.map +++ b/build/lib/format/partial/ExtensionFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"ExtensionFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/ExtensionFormatter.ts"],"names":[],"mappings":";;AAEA,2CAAsC;AAEtC,+DAA0D;AAE1D,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IAQ/B,SAAgB,MAAM,CAAC,QAAgB,EAChB,SAAoB,EACpB,SAA+B,EAC/B,MAAc;QAEjC,IAAI,aAAa,GAAG,iBAAO,CAAC,YAAY,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;QAC9D,IAAI,iBAAO,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE;YACnC,aAAa,GAAG,MAAM,aAAa,EAAE,CAAC;SACzC;QAED,IAAI,SAAS,GAAG,yCAAmB,CAAC,YAAY,CAC5C,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,SAAS,CAC7E,CAAC;QAEF,OAAO;YACH,MAAM;YACN,aAAa,EAAE,aAAa;YAC5B,SAAS,EAAE,SAAS;SACvB,CAAC;IACN,CAAC;IAnBe,yBAAM,SAmBrB,CAAA;AAEL,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"} \ No newline at end of file +{"version":3,"file":"ExtensionFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/ExtensionFormatter.ts"],"names":[],"mappings":";;AAEA,2CAAsC;AAEtC,+DAA0D;AAE1D,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IAQ/B,gBAAuB,QAAgB,EAChB,SAAoB,EACpB,SAA+B,EAC/B,MAAc;QAEjC,IAAI,aAAa,GAAG,iBAAO,CAAC,YAAY,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;QAC9D,EAAE,CAAC,CAAC,iBAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YACpC,aAAa,GAAG,MAAM,aAAa,EAAE,CAAC;QAC1C,CAAC;QAED,IAAI,SAAS,GAAG,yCAAmB,CAAC,YAAY,CAC5C,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,SAAS,CAC7E,CAAC;QAEF,MAAM,CAAC;YACH,MAAM;YACN,aAAa,EAAE,aAAa;YAC5B,SAAS,EAAE,SAAS;SACvB,CAAC;IACN,CAAC;IAnBe,yBAAM,SAmBrB,CAAA;AAEL,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"} \ No newline at end of file diff --git a/build/lib/format/partial/FieldTypesFormatter.js.map b/build/lib/format/partial/FieldTypesFormatter.js.map index 77c12e1..aaf6476 100644 --- a/build/lib/format/partial/FieldTypesFormatter.js.map +++ b/build/lib/format/partial/FieldTypesFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"FieldTypesFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/FieldTypesFormatter.ts"],"names":[],"mappings":";;AAEA,2CAAsC;AAEzB,QAAA,YAAY,GAAG,EAAE,CAAC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AAK,eAAe,EAAE;oBACzC,SAAS,GAAG,eAAe,CAAC;iBAC/B;qBAAM;oBACH,SAAS,GAAG,iBAAO,CAAC,yBAAyB,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,eAAe,CAAC;iBAC9F;gBACD,MAAM;YAEV,KAAK,iBAAS;gBACV,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBACzC,IAAI,CAAC,UAAU,EAAE;oBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,QAAQ,CAAC,CAAC;iBACnE;gBACD,eAAe,GAAG,iBAAO,CAAC,8BAA8B,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;gBAC/E,IAAI,UAAU,CAAC,QAAQ,KAAK,eAAe,EAAE;oBACzC,SAAS,GAAG,eAAe,CAAC;iBAC/B;qBAAM;oBACH,SAAS,GAAG,iBAAO,CAAC,yBAAyB,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,eAAe,CAAC;iBAC9F;gBACD,MAAM;YAEV;gBACI,SAAS,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;gBACtC,MAAM;SACb;QAED,OAAO,SAAS,CAAC;IAErB,CAAC;IA3Ce,gCAAY,eA2C3B,CAAA;AAEL,CAAC,EAvDgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAuDnC"} \ No newline at end of file +{"version":3,"file":"FieldTypesFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/FieldTypesFormatter.ts"],"names":[],"mappings":";;AAEA,2CAAsC;AAEzB,QAAA,YAAY,GAAG,EAAE,CAAC;AAClB,QAAA,UAAU,GAAG,EAAE,CAAC;AAChB,QAAA,SAAS,GAAG,EAAE,CAAC;AAE5B,yGAAyG;AAC5F,QAAA,SAAS,GAAG,CAAC,CAAC;AACd,QAAA,SAAS,GAAG,CAAC,CAAC;AACd,QAAA,SAAS,GAAG,CAAC,CAAC;AAM3B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,QAAQ,CAAC,GAAG,GAAG,GAAG,eAAe,CAAC;gBAC/F,CAAC;gBACD,KAAK,CAAC;YAEV,KAAK,iBAAS;gBACV,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBACzC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;oBACd,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,QAAQ,CAAC,CAAC;gBACpE,CAAC;gBACD,eAAe,GAAG,iBAAO,CAAC,8BAA8B,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;gBAC/E,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,KAAK,eAAe,CAAC,CAAC,CAAC;oBAC1C,SAAS,GAAG,eAAe,CAAC;gBAChC,CAAC;gBAAC,IAAI,CAAC,CAAC;oBACJ,SAAS,GAAG,iBAAO,CAAC,yBAAyB,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,eAAe,CAAC;gBAC/F,CAAC;gBACD,KAAK,CAAC;YAEV;gBACI,SAAS,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;gBACtC,KAAK,CAAC;QACd,CAAC;QAED,MAAM,CAAC,SAAS,CAAC;IAErB,CAAC;IA3Ce,gCAAY,eA2C3B,CAAA;AAEL,CAAC,EAvDgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAuDnC"} \ No newline at end of file diff --git a/build/lib/format/partial/MessageFormatter.js.map b/build/lib/format/partial/MessageFormatter.js.map index a7be9ad..a008c78 100644 --- a/build/lib/format/partial/MessageFormatter.js.map +++ b/build/lib/format/partial/MessageFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"MessageFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/MessageFormatter.ts"],"names":[],"mappings":";;AAAA,iFAKuD;AAEvD,2CAAsC;AACtC,+DAA+F;AAC/F,mDAA8C;AAC9C,6DAAwD;AACxD,qDAAgD;AAChD,+CAA0C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AAC,CAAC,CAAC;QAChH,CAAC,CAAC,CAAC;QAEH,qBAAS,CAAC,cAAc,CAAC,wBAAwB,EAAE,UAAU,SAA2B;YACpF,IAAI,CAAC,SAAS,CAAC,qBAAqB,EAAE;gBAClC,SAAS,CAAC,qBAAqB,GAAG,IAAI,CAAC;gBACvC,OAAO,QAAQ,SAAS,CAAC,cAAc,GAAG,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC;aAC9F;QACL,CAAC,CAAC,CAAC;QACH,qBAAS,CAAC,cAAc,CAAC,wBAAwB,EAAE,UAAU,SAA2B,EAAE,SAAiB;YACvG,OAAO,MAAM,SAAS,CAAC,cAAc,SAAS,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,SAAS,sBAAsB,SAAS,GAAG,CAAC;QACvI,CAAC,CAAC,CAAC;QACH,qBAAS,CAAC,cAAc,CAAC,WAAW,EAAE,UAAU,SAA+B;YAC3E,OAAO,iBAAO,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,OAAO;YACH,MAAM;YACN,cAAc,EAAE,wBAAgB;YAChC,UAAU,EAAE,gCAAU;YACtB,YAAY,EAAE,kCAAY;YAC1B,OAAO,EAAE,WAAW;SACvB,CAAC;IACN,CAAC;IAjLe,uBAAM,SAiLrB,CAAA;AAEL,CAAC,EA1QgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA0QhC"} \ No newline at end of file +{"version":3,"file":"MessageFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/MessageFormatter.ts"],"names":[],"mappings":";;AAAA,iFAKuD;AAEvD,2CAAsC;AACtC,+DAA+F;AAC/F,mDAA8C;AAC9C,6DAAwD;AACxD,qDAAgD;AAChD,+CAA0C;AAE7B,QAAA,gBAAgB,GAAG,UAAU,CAAC;AAE3C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AAc,SAAS,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,SAAS,sBAAsB,SAAS,GAAG,CAAC;QACvI,CAAC,CAAC,CAAC;QACH,qBAAS,CAAC,cAAc,CAAC,WAAW,EAAE,UAAU,SAA+B;YAC3E,MAAM,CAAC,iBAAO,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC;YACH,MAAM;YACN,cAAc,EAAE,wBAAgB;YAChC,UAAU,EAAE,gCAAU;YACtB,YAAY,EAAE,kCAAY;YAC1B,OAAO,EAAE,WAAW;SACvB,CAAC;IACN,CAAC;IAjLe,uBAAM,SAiLrB,CAAA;AAEL,CAAC,EA1QgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA0QhC"} \ No newline at end of file diff --git a/build/lib/format/partial/OneofFormatter.js b/build/lib/format/partial/OneofFormatter.js index facc038..58d6101 100644 --- a/build/lib/format/partial/OneofFormatter.js +++ b/build/lib/format/partial/OneofFormatter.js @@ -5,7 +5,7 @@ var OneofFormatter; (function (OneofFormatter) { function format(oneofDecl, oneofFields, indent) { let oneofName = Utility_1.Utility.oneOfName(oneofDecl.getName()); - let oneofNameUpper = oneofName.toUpperCase(); + let oneofNameUpper = oneofDecl.getName().toUpperCase(); let fields = {}; oneofFields.forEach(field => { fields[field.getName().toUpperCase()] = field.getNumber(); diff --git a/build/lib/format/partial/OneofFormatter.js.map b/build/lib/format/partial/OneofFormatter.js.map index 5bf352d..d62c3c6 100644 --- a/build/lib/format/partial/OneofFormatter.js.map +++ b/build/lib/format/partial/OneofFormatter.js.map @@ -1 +1 @@ -{"version":3,"file":"OneofFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/OneofFormatter.ts"],"names":[],"mappings":";;AAEA,2CAAsC;AAEtC,IAAiB,cAAc,CA8B9B;AA9BD,WAAiB,cAAc;IAS3B,SAAgB,MAAM,CAAC,SAA+B,EAC/B,WAAwC,EACxC,MAAc;QAEjC,IAAI,SAAS,GAAG,iBAAO,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;QACvD,IAAI,cAAc,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC;QAC7C,IAAI,MAAM,GAA8B,EAAE,CAAC;QAE3C,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACxB,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9D,CAAC,CAAC,CAAC;QAEH,OAAO;YACH,MAAM;YACN,SAAS,EAAE,SAAS;YACpB,cAAc,EAAE,cAAc;YAC9B,MAAM,EAAE,MAAM;SACjB,CAAC;IAEN,CAAC;IAnBe,qBAAM,SAmBrB,CAAA;AAEL,CAAC,EA9BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA8B9B"} \ No newline at end of file +{"version":3,"file":"OneofFormatter.js","sourceRoot":"","sources":["../../../../src/lib/format/partial/OneofFormatter.ts"],"names":[],"mappings":";;AAEA,2CAAsC;AAEtC,IAAiB,cAAc,CA8B9B;AA9BD,WAAiB,cAAc;IAS3B,gBAAuB,SAA+B,EAC/B,WAAwC,EACxC,MAAc;QAEjC,IAAI,SAAS,GAAG,iBAAO,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;QACvD,IAAI,cAAc,GAAG,SAAS,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC;QACvD,IAAI,MAAM,GAA8B,EAAE,CAAC;QAE3C,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACxB,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9D,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC;YACH,MAAM;YACN,SAAS,EAAE,SAAS;YACpB,cAAc,EAAE,cAAc;YAC9B,MAAM,EAAE,MAAM;SACjB,CAAC;IAEN,CAAC;IAnBe,qBAAM,SAmBrB,CAAA;AAEL,CAAC,EA9BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA8B9B"} \ No newline at end of file diff --git a/examples/build/client.js b/examples/build/client.js index e1a3940..b604011 100644 --- a/examples/build/client.js +++ b/examples/build/client.js @@ -1,11 +1,10 @@ #!/usr/bin/env node "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; @@ -16,7 +15,7 @@ const book_grpc_pb_1 = require("./proto/book_grpc_pb"); const book_pb_1 = require("./proto/book_pb"); const log = debug("SampleClient"); const client = new book_grpc_pb_1.BookServiceClient("127.0.0.1:50051", grpc.credentials.createInsecure()); -const getBook = (isbn) => __awaiter(void 0, void 0, void 0, function* () { +const getBook = (isbn) => __awaiter(this, void 0, void 0, function* () { return new Promise((resolve, reject) => { const request = new book_pb_1.GetBookRequest(); request.setIsbn(isbn); diff --git a/examples/build/client.js.map b/examples/build/client.js.map index 7c92fab..2ada4fb 100644 --- a/examples/build/client.js.map +++ b/examples/build/client.js.map @@ -1 +1 @@ -{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,+BAA+B;AAC/B,6BAA6B;AAE7B,uDAAyD;AACzD,6CAAyE;AAEzE,MAAM,GAAG,GAAG,KAAK,CAA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M,GAAG,GAAG,IAAI,wBAAc,EAAE,CAAC;YACjC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YACf,GAAG,CAAC,8BAA8B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;YACpE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACpB,CAAC;QACD,MAAM,CAAC,GAAG,EAAE,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF;;QACE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;QACjB,MAAM,QAAQ,EAAE,CAAC;QACjB,MAAM,iBAAiB,CAAC,eAAe,CAAC,CAAC;QACzC,MAAM,eAAe,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AAEtB,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,GAAG,EAAE,EAAE;IACtC,GAAG,CAAC,uCAAuC,GAAG,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,GAAG,EAAE,EAAE;IACvC,GAAG,CAAC,wCAAwC,GAAG,EAAE,CAAC,CAAC;AACrD,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/examples/build/proto/book_pb.d.ts b/examples/build/proto/book_pb.d.ts index 67e8d06..7fcf383 100644 --- a/examples/build/proto/book_pb.d.ts +++ b/examples/build/proto/book_pb.d.ts @@ -137,6 +137,73 @@ export namespace SpecialCases { } } +export class OneOfSample extends jspb.Message { + + hasA1(): boolean; + clearA1(): void; + getA1(): boolean; + setA1(value: boolean): void; + + + hasB1(): boolean; + clearB1(): void; + getB1(): boolean; + setB1(value: boolean): void; + + + hasA2(): boolean; + clearA2(): void; + getA2(): boolean; + setA2(value: boolean): void; + + + hasB2(): boolean; + clearB2(): void; + getB2(): boolean; + setB2(value: boolean): void; + + + getSinglewordCase(): OneOfSample.SinglewordCase; + getTwoWordsCase(): OneOfSample.TwoWordsCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OneOfSample.AsObject; + static toObject(includeInstance: boolean, msg: OneOfSample): OneOfSample.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OneOfSample, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OneOfSample; + static deserializeBinaryFromReader(message: OneOfSample, reader: jspb.BinaryReader): OneOfSample; +} + +export namespace OneOfSample { + export type AsObject = { + a1: boolean, + b1: boolean, + a2: boolean, + b2: boolean, + } + + export enum SinglewordCase { + SINGLEWORD_NOT_SET = 0, + + A1 = 1, + + B1 = 2, + + } + + export enum TwoWordsCase { + TWO_WORDS_NOT_SET = 0, + + A_2 = 3, + + B_2 = 4, + + } + +} + export enum EnumSample { UNKNOWN = 0, STARTED = 1, diff --git a/examples/build/proto/book_pb.js b/examples/build/proto/book_pb.js index eb3e92b..6952b08 100644 --- a/examples/build/proto/book_pb.js +++ b/examples/build/proto/book_pb.js @@ -16,6 +16,7 @@ goog.exportSymbol('proto.com.book.BookStore', null, global); goog.exportSymbol('proto.com.book.EnumSample', null, global); goog.exportSymbol('proto.com.book.GetBookRequest', null, global); goog.exportSymbol('proto.com.book.GetBookViaAuthor', null, global); +goog.exportSymbol('proto.com.book.OneOfSample', null, global); goog.exportSymbol('proto.com.book.SpecialCases', null, global); /** @@ -891,6 +892,335 @@ proto.com.book.SpecialCases.prototype.setVar = function(value) { }; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.com.book.OneOfSample = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.com.book.OneOfSample.oneofGroups_); +}; +goog.inherits(proto.com.book.OneOfSample, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.com.book.OneOfSample.displayName = 'proto.com.book.OneOfSample'; +} +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.com.book.OneOfSample.oneofGroups_ = [[1,2],[3,4]]; + +/** + * @enum {number} + */ +proto.com.book.OneOfSample.SinglewordCase = { + SINGLEWORD_NOT_SET: 0, + A1: 1, + B1: 2 +}; + +/** + * @return {proto.com.book.OneOfSample.SinglewordCase} + */ +proto.com.book.OneOfSample.prototype.getSinglewordCase = function() { + return /** @type {proto.com.book.OneOfSample.SinglewordCase} */(jspb.Message.computeOneofCase(this, proto.com.book.OneOfSample.oneofGroups_[0])); +}; + +/** + * @enum {number} + */ +proto.com.book.OneOfSample.TwoWordsCase = { + TWO_WORDS_NOT_SET: 0, + A_2: 3, + B_2: 4 +}; + +/** + * @return {proto.com.book.OneOfSample.TwoWordsCase} + */ +proto.com.book.OneOfSample.prototype.getTwoWordsCase = function() { + return /** @type {proto.com.book.OneOfSample.TwoWordsCase} */(jspb.Message.computeOneofCase(this, proto.com.book.OneOfSample.oneofGroups_[1])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto suitable for use in Soy templates. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration + * @return {!Object} + */ +proto.com.book.OneOfSample.prototype.toObject = function(opt_includeInstance) { + return proto.com.book.OneOfSample.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.com.book.OneOfSample} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.com.book.OneOfSample.toObject = function(includeInstance, msg) { + var f, obj = { + a1: jspb.Message.getFieldWithDefault(msg, 1, false), + b1: jspb.Message.getFieldWithDefault(msg, 2, false), + a2: jspb.Message.getFieldWithDefault(msg, 3, false), + b2: jspb.Message.getFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.com.book.OneOfSample} + */ +proto.com.book.OneOfSample.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.com.book.OneOfSample; + return proto.com.book.OneOfSample.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.com.book.OneOfSample} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.com.book.OneOfSample} + */ +proto.com.book.OneOfSample.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setA1(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setB1(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setA2(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setB2(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.com.book.OneOfSample.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.com.book.OneOfSample.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.com.book.OneOfSample} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.com.book.OneOfSample.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional bool a1 = 1; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getA1 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setA1 = function(value) { + jspb.Message.setOneofField(this, 1, proto.com.book.OneOfSample.oneofGroups_[0], value); +}; + + +proto.com.book.OneOfSample.prototype.clearA1 = function() { + jspb.Message.setOneofField(this, 1, proto.com.book.OneOfSample.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasA1 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool b1 = 2; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getB1 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setB1 = function(value) { + jspb.Message.setOneofField(this, 2, proto.com.book.OneOfSample.oneofGroups_[0], value); +}; + + +proto.com.book.OneOfSample.prototype.clearB1 = function() { + jspb.Message.setOneofField(this, 2, proto.com.book.OneOfSample.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasB1 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool a_2 = 3; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getA2 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 3, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setA2 = function(value) { + jspb.Message.setOneofField(this, 3, proto.com.book.OneOfSample.oneofGroups_[1], value); +}; + + +proto.com.book.OneOfSample.prototype.clearA2 = function() { + jspb.Message.setOneofField(this, 3, proto.com.book.OneOfSample.oneofGroups_[1], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasA2 = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool b_2 = 4; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getB2 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 4, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setB2 = function(value) { + jspb.Message.setOneofField(this, 4, proto.com.book.OneOfSample.oneofGroups_[1], value); +}; + + +proto.com.book.OneOfSample.prototype.clearB2 = function() { + jspb.Message.setOneofField(this, 4, proto.com.book.OneOfSample.oneofGroups_[1], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasB2 = function() { + return jspb.Message.getField(this, 4) != null; +}; + + /** * @enum {number} */ diff --git a/examples/build/server.js.map b/examples/build/server.js.map index ed2a020..5b8e57d 100644 --- a/examples/build/server.js.map +++ b/examples/build/server.js.map @@ -1 +1 @@ -{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;;AAEA,+BAA+B;AAC/B,6BAA6B;AAE7B,uDAA8E;AAC9E,6CAAyE;AAEzE,MAAM,GAAG,GAAG,KAAK,CAAC,cAAc,CAAC,CAAC;AAElC,MAAM,UAAU;IACZ,OAAO,CAAC,IAA0C,EAAE,QAAkC;QAClF,MAAM,IAAI,GAAG,IAAI,cAAI,EAAE,CAAC;QAExB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC7B,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;QAEhC,GAAG,CAAC,mBAAmB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;QAC1D,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACzB,CAAC;IAAA,CAAC;IAEF,QAAQ,CAAC,IAAmD;QACxD,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,OAAuB,EAAE,EAAE;YACxC,MAAM,KAAK,GAAG,IAAI,cAAI,EAAE,CAAC;YACzB,KAAK,CAAC,QAAQ,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC3C,KAAK,CAAC,SAAS,CAAC,SAAS,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC9C,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;YACjC,GAAG,CAAC,qBAAqB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;YAC7D,IAAI,CAAC,KAAK,CAAC,K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C,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;YACnE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC1B,CAAC,CAAC,CAAC;IACP,CAAC;IAAA,CAAC;CACL;AAED;IACE,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;IAEjC,MAAM,CAAC,UAAU,CAAC,iCAAkB,EAAE,IAAI,UAAU,EAAE,CAAC,CAAC;IACxD,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE,CAAC,CAAC;IACxE,MAAM,CAAC,KAAK,EAAE,CAAC;IAEf,GAAG,CAAC,4CAA4C,CAAC,CAAC;AACpD,CAAC;AAED,WAAW,EAAE,CAAC;AAEd,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,GAAG,EAAE,EAAE;IACtC,GAAG,CAAC,uCAAuC,GAAG,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,GAAG,EAAE,EAAE;IACvC,GAAG,CAAC,wCAAwC,GAAG,EAAE,CAAC,CAAC;AACrD,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/examples/proto/book.proto b/examples/proto/book.proto index 84b68c6..f09e1b1 100644 --- a/examples/proto/book.proto +++ b/examples/proto/book.proto @@ -47,3 +47,15 @@ message SpecialCases { string function = 3; string var = 4; } + +message OneOfSample { + oneof singleword { + bool a1 = 1; + bool b1 = 2; + } + + oneof two_words { + bool a_2 = 3; + bool b_2 = 4; + } +} diff --git a/examples/src/proto/book_pb.d.ts b/examples/src/proto/book_pb.d.ts index 67e8d06..7fcf383 100644 --- a/examples/src/proto/book_pb.d.ts +++ b/examples/src/proto/book_pb.d.ts @@ -137,6 +137,73 @@ export namespace SpecialCases { } } +export class OneOfSample extends jspb.Message { + + hasA1(): boolean; + clearA1(): void; + getA1(): boolean; + setA1(value: boolean): void; + + + hasB1(): boolean; + clearB1(): void; + getB1(): boolean; + setB1(value: boolean): void; + + + hasA2(): boolean; + clearA2(): void; + getA2(): boolean; + setA2(value: boolean): void; + + + hasB2(): boolean; + clearB2(): void; + getB2(): boolean; + setB2(value: boolean): void; + + + getSinglewordCase(): OneOfSample.SinglewordCase; + getTwoWordsCase(): OneOfSample.TwoWordsCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OneOfSample.AsObject; + static toObject(includeInstance: boolean, msg: OneOfSample): OneOfSample.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OneOfSample, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OneOfSample; + static deserializeBinaryFromReader(message: OneOfSample, reader: jspb.BinaryReader): OneOfSample; +} + +export namespace OneOfSample { + export type AsObject = { + a1: boolean, + b1: boolean, + a2: boolean, + b2: boolean, + } + + export enum SinglewordCase { + SINGLEWORD_NOT_SET = 0, + + A1 = 1, + + B1 = 2, + + } + + export enum TwoWordsCase { + TWO_WORDS_NOT_SET = 0, + + A_2 = 3, + + B_2 = 4, + + } + +} + export enum EnumSample { UNKNOWN = 0, STARTED = 1, diff --git a/examples/src/proto/book_pb.js b/examples/src/proto/book_pb.js index eb3e92b..6952b08 100644 --- a/examples/src/proto/book_pb.js +++ b/examples/src/proto/book_pb.js @@ -16,6 +16,7 @@ goog.exportSymbol('proto.com.book.BookStore', null, global); goog.exportSymbol('proto.com.book.EnumSample', null, global); goog.exportSymbol('proto.com.book.GetBookRequest', null, global); goog.exportSymbol('proto.com.book.GetBookViaAuthor', null, global); +goog.exportSymbol('proto.com.book.OneOfSample', null, global); goog.exportSymbol('proto.com.book.SpecialCases', null, global); /** @@ -891,6 +892,335 @@ proto.com.book.SpecialCases.prototype.setVar = function(value) { }; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.com.book.OneOfSample = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.com.book.OneOfSample.oneofGroups_); +}; +goog.inherits(proto.com.book.OneOfSample, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.com.book.OneOfSample.displayName = 'proto.com.book.OneOfSample'; +} +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.com.book.OneOfSample.oneofGroups_ = [[1,2],[3,4]]; + +/** + * @enum {number} + */ +proto.com.book.OneOfSample.SinglewordCase = { + SINGLEWORD_NOT_SET: 0, + A1: 1, + B1: 2 +}; + +/** + * @return {proto.com.book.OneOfSample.SinglewordCase} + */ +proto.com.book.OneOfSample.prototype.getSinglewordCase = function() { + return /** @type {proto.com.book.OneOfSample.SinglewordCase} */(jspb.Message.computeOneofCase(this, proto.com.book.OneOfSample.oneofGroups_[0])); +}; + +/** + * @enum {number} + */ +proto.com.book.OneOfSample.TwoWordsCase = { + TWO_WORDS_NOT_SET: 0, + A_2: 3, + B_2: 4 +}; + +/** + * @return {proto.com.book.OneOfSample.TwoWordsCase} + */ +proto.com.book.OneOfSample.prototype.getTwoWordsCase = function() { + return /** @type {proto.com.book.OneOfSample.TwoWordsCase} */(jspb.Message.computeOneofCase(this, proto.com.book.OneOfSample.oneofGroups_[1])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto suitable for use in Soy templates. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration + * @return {!Object} + */ +proto.com.book.OneOfSample.prototype.toObject = function(opt_includeInstance) { + return proto.com.book.OneOfSample.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.com.book.OneOfSample} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.com.book.OneOfSample.toObject = function(includeInstance, msg) { + var f, obj = { + a1: jspb.Message.getFieldWithDefault(msg, 1, false), + b1: jspb.Message.getFieldWithDefault(msg, 2, false), + a2: jspb.Message.getFieldWithDefault(msg, 3, false), + b2: jspb.Message.getFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.com.book.OneOfSample} + */ +proto.com.book.OneOfSample.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.com.book.OneOfSample; + return proto.com.book.OneOfSample.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.com.book.OneOfSample} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.com.book.OneOfSample} + */ +proto.com.book.OneOfSample.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setA1(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setB1(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setA2(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setB2(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.com.book.OneOfSample.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.com.book.OneOfSample.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.com.book.OneOfSample} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.com.book.OneOfSample.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional bool a1 = 1; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getA1 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setA1 = function(value) { + jspb.Message.setOneofField(this, 1, proto.com.book.OneOfSample.oneofGroups_[0], value); +}; + + +proto.com.book.OneOfSample.prototype.clearA1 = function() { + jspb.Message.setOneofField(this, 1, proto.com.book.OneOfSample.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasA1 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool b1 = 2; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getB1 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setB1 = function(value) { + jspb.Message.setOneofField(this, 2, proto.com.book.OneOfSample.oneofGroups_[0], value); +}; + + +proto.com.book.OneOfSample.prototype.clearB1 = function() { + jspb.Message.setOneofField(this, 2, proto.com.book.OneOfSample.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasB1 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool a_2 = 3; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getA2 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 3, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setA2 = function(value) { + jspb.Message.setOneofField(this, 3, proto.com.book.OneOfSample.oneofGroups_[1], value); +}; + + +proto.com.book.OneOfSample.prototype.clearA2 = function() { + jspb.Message.setOneofField(this, 3, proto.com.book.OneOfSample.oneofGroups_[1], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasA2 = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool b_2 = 4; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.getB2 = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 4, false)); +}; + + +/** @param {boolean} value */ +proto.com.book.OneOfSample.prototype.setB2 = function(value) { + jspb.Message.setOneofField(this, 4, proto.com.book.OneOfSample.oneofGroups_[1], value); +}; + + +proto.com.book.OneOfSample.prototype.clearB2 = function() { + jspb.Message.setOneofField(this, 4, proto.com.book.OneOfSample.oneofGroups_[1], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.com.book.OneOfSample.prototype.hasB2 = function() { + return jspb.Message.getField(this, 4) != null; +}; + + /** * @enum {number} */ diff --git a/package-lock.json b/package-lock.json index 2264b96..cc5f755 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1057,7 +1057,7 @@ }, "is-accessor-descriptor": { "version": "0.1.6", - "resolved": "http://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { "kind-of": "^3.0.2" @@ -1070,7 +1070,7 @@ }, "is-data-descriptor": { "version": "0.1.4", - "resolved": "http://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { "kind-of": "^3.0.2" diff --git a/src/lib/format/partial/OneofFormatter.ts b/src/lib/format/partial/OneofFormatter.ts index 4468438..a91986a 100644 --- a/src/lib/format/partial/OneofFormatter.ts +++ b/src/lib/format/partial/OneofFormatter.ts @@ -16,7 +16,7 @@ export namespace OneofFormatter { indent: string): OneofModel { let oneofName = Utility.oneOfName(oneofDecl.getName()); - let oneofNameUpper = oneofName.toUpperCase(); + let oneofNameUpper = oneofDecl.getName().toUpperCase(); let fields: { [key: string]: number } = {}; oneofFields.forEach(field => { @@ -32,4 +32,4 @@ export namespace OneofFormatter { } -} \ No newline at end of file +}