• Home
  • Raw
  • Download

Lines Matching refs:extendable

526     var extendable = new proto.jspb.test.HasExtensions(['v1', 'v2', 'v3']);
527 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
528 extendable.setExtension(proto.jspb.test.IndirectExtension.simple,
530 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
531 extendable.setExtension(proto.jspb.test.IndirectExtension.repeatedStrList,
535 extendable.setExtension(
539 extendable.getExtension(proto.jspb.test.IsExtension.extField));
541 extendable.getExtension(proto.jspb.test.IndirectExtension.simple));
543 extendable.getExtension(proto.jspb.test.IndirectExtension.str));
544 assertObjectEquals(['a', 'b'], extendable.getExtension(
546 assertObjectEquals([s1, s2], extendable.getExtension(
549 extendable.setExtension(proto.jspb.test.IndirectExtension.simple, null);
551 extendable.getExtension(proto.jspb.test.IndirectExtension.simple));
552 extendable.setExtension(proto.jspb.test.IndirectExtension.str, null);
553 assertNull(extendable.getExtension(proto.jspb.test.IndirectExtension.str));
563 var extendable = new proto.jspb.test.HasExtensions(['v1', 'v2', 'v3']);
565 extendable.setExtension(proto.jspb.test.simple1, extension);
567 extendable.getExtension(proto.jspb.test.simple1));
571 extendable = new proto.jspb.test.TestExtensionsMessage([16]);
572 extendable.setExtension(proto.jspb.test.floatingMsgField, extension);
573 extendable.setExtension(proto.jspb.test.floatingStrField, 's2');
575 extendable.getExtension(proto.jspb.test.floatingMsgField));
577 extendable.getExtension(proto.jspb.test.floatingStrField));
586 var extendable = new proto.jspb.test.HasExtensions(['v1', 'v2', 'v3']);
587 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
588 extendable.setExtension(proto.jspb.test.IndirectExtension.simple,
590 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
591 extendable.setExtension(proto.jspb.test.IndirectExtension.repeatedStrList,
595 extendable.setExtension(
610 }, extendable.toObject());
618 extendable.getExtension(proto.jspb.test.IsExtension.extField)
625 extendable.getExtension(proto.jspb.test.IndirectExtension.simple)
640 $jspbMessageInstance: extendable
641 }, extendable.toObject(true /* opt_includeInstance */));