Lines Matching refs:extendable

570     var extendable = new proto.jspb.test.HasExtensions(['v1', 'v2', 'v3']);
571 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
572 extendable.setExtension(proto.jspb.test.IndirectExtension.simple,
574 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
575 extendable.setExtension(proto.jspb.test.IndirectExtension.repeatedStrList,
579 extendable.setExtension(
583 extendable.getExtension(proto.jspb.test.IsExtension.extField));
585 extendable.getExtension(proto.jspb.test.IndirectExtension.simple));
587 extendable.getExtension(proto.jspb.test.IndirectExtension.str));
588 assertObjectEquals(['a', 'b'], extendable.getExtension(
590 assertObjectEquals([s1, s2], extendable.getExtension(
593 extendable.setExtension(proto.jspb.test.IndirectExtension.simple, null);
595 extendable.getExtension(proto.jspb.test.IndirectExtension.simple));
596 extendable.setExtension(proto.jspb.test.IndirectExtension.str, null);
597 assertNull(extendable.getExtension(proto.jspb.test.IndirectExtension.str));
607 var extendable = new proto.jspb.test.HasExtensions(['v1', 'v2', 'v3']);
609 extendable.setExtension(proto.jspb.test.simple1, extension);
611 extendable.getExtension(proto.jspb.test.simple1));
615 extendable = new proto.jspb.test.TestExtensionsMessage([16]);
616 extendable.setExtension(proto.jspb.test.floatingMsgField, extension);
617 extendable.setExtension(proto.jspb.test.floatingStrField, 's2');
619 extendable.getExtension(proto.jspb.test.floatingMsgField));
621 extendable.getExtension(proto.jspb.test.floatingStrField));
630 var extendable = new proto.jspb.test.HasExtensions(['v1', 'v2', 'v3']);
631 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
632 extendable.setExtension(proto.jspb.test.IndirectExtension.simple,
634 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
635 extendable.setExtension(proto.jspb.test.IndirectExtension.repeatedStrList,
639 extendable.setExtension(
654 }, extendable.toObject());
662 extendable.getExtension(proto.jspb.test.IsExtension.extField)
669 extendable.getExtension(proto.jspb.test.IndirectExtension.simple)
684 $jspbMessageInstance: extendable
685 }, extendable.toObject(true /* opt_includeInstance */));