MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / constructor

Method constructor

projects/JavaScript/proto/test.js:10959–10974  ·  view source on GitHub ↗

* Initialize struct * @param {!StructOptional=} parent * @param {!EnumSimple=} f1000 * @param {EnumSimple=} f1001 * @param {!EnumTyped=} f1002 * @param {EnumTyped=} f1003 * @param {!FlagsSimple=} f1004 * @param {FlagsSimple=} f1005 * @param {!FlagsTyped=} f1006 * @param {F

(parent = new StructOptional(), argf1000 = new EnumSimple(), argf1001 = undefined, argf1002 = new EnumTyped(EnumTyped.ENUM_VALUE_2), argf1003 = undefined, argf1004 = new FlagsSimple(), argf1005 = undefined, argf1006 = new FlagsTyped(FlagsTyped.FLAG_VALUE_2 | FlagsTyped.FLAG_VALUE_4 | FlagsTyped.FLAG_VALUE_6), argf1007 = undefined, argf1008 = new StructSimple(), argf1009 = undefined, argf1010 = new StructOptional(), argf1011 = undefined)

Source from the content-addressed store, hash-verified

10957 * @constructor
10958 */
10959 constructor (parent = new StructOptional(), argf1000 = new EnumSimple(), argf1001 = undefined, argf1002 = new EnumTyped(EnumTyped.ENUM_VALUE_2), argf1003 = undefined, argf1004 = new FlagsSimple(), argf1005 = undefined, argf1006 = new FlagsTyped(FlagsTyped.FLAG_VALUE_2 | FlagsTyped.FLAG_VALUE_4 | FlagsTyped.FLAG_VALUE_6), argf1007 = undefined, argf1008 = new StructSimple(), argf1009 = undefined, argf1010 = new StructOptional(), argf1011 = undefined) {
10960 super()
10961 super.copy(parent)
10962 this.f1000 = argf1000
10963 this.f1001 = argf1001
10964 this.f1002 = argf1002
10965 this.f1003 = argf1003
10966 this.f1004 = argf1004
10967 this.f1005 = argf1005
10968 this.f1006 = argf1006
10969 this.f1007 = argf1007
10970 this.f1008 = argf1008
10971 this.f1009 = argf1009
10972 this.f1010 = argf1010
10973 this.f1011 = argf1011
10974 }
10975
10976 /**
10977 * Copy struct (shallow copy)

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected