sass-embedded 1.0.0-beta.4 → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/.gitignore +1 -0
- package/dist/lib/index.js +40 -11
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/src/{embedded-compiler/compiler.js → async-compiler.js} +13 -13
- package/dist/lib/src/async-compiler.js.map +1 -0
- package/dist/lib/src/compile.js +187 -85
- package/dist/lib/src/compile.js.map +1 -1
- package/dist/lib/src/compiler-path.js +18 -0
- package/dist/lib/src/compiler-path.js.map +1 -0
- package/dist/lib/src/deprotofy-span.js +51 -0
- package/dist/lib/src/deprotofy-span.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/dispatcher.js → dispatcher.js} +47 -41
- package/dist/lib/src/dispatcher.js.map +1 -0
- package/dist/lib/src/exception.js +20 -0
- package/dist/lib/src/exception.js.map +1 -0
- package/dist/lib/src/function-registry.js +92 -0
- package/dist/lib/src/function-registry.js.map +1 -0
- package/dist/lib/src/importer-registry.js +127 -0
- package/dist/lib/src/importer-registry.js.map +1 -0
- package/dist/lib/src/legacy/importer.js +186 -0
- package/dist/lib/src/legacy/importer.js.map +1 -0
- package/dist/lib/src/legacy/index.js +261 -0
- package/dist/lib/src/legacy/index.js.map +1 -0
- package/dist/lib/src/legacy/resolve-path.js +101 -0
- package/dist/lib/src/legacy/resolve-path.js.map +1 -0
- package/dist/lib/src/legacy/value/base.js +17 -0
- package/dist/lib/src/legacy/value/base.js.map +1 -0
- package/dist/lib/src/legacy/value/color.js +64 -0
- package/dist/lib/src/legacy/value/color.js.map +1 -0
- package/dist/lib/src/legacy/value/index.js +23 -0
- package/dist/lib/src/legacy/value/index.js.map +1 -0
- package/dist/lib/src/legacy/value/list.js +50 -0
- package/dist/lib/src/legacy/value/list.js.map +1 -0
- package/dist/lib/src/legacy/value/map.js +74 -0
- package/dist/lib/src/legacy/value/map.js.map +1 -0
- package/dist/lib/src/legacy/value/number.js +60 -0
- package/dist/lib/src/legacy/value/number.js.map +1 -0
- package/dist/lib/src/legacy/value/string.js +27 -0
- package/dist/lib/src/legacy/value/string.js.map +1 -0
- package/dist/lib/src/legacy/value/wrap.js +83 -0
- package/dist/lib/src/legacy/value/wrap.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/message-transformer.js → message-transformer.js} +11 -10
- package/dist/lib/src/message-transformer.js.map +1 -0
- package/dist/lib/src/{embedded-compiler/packet-transformer.js → packet-transformer.js} +2 -1
- package/dist/lib/src/packet-transformer.js.map +1 -0
- package/dist/lib/src/protofier.js +272 -0
- package/dist/lib/src/protofier.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/request-tracker.js → request-tracker.js} +1 -0
- package/dist/lib/src/request-tracker.js.map +1 -0
- package/dist/lib/src/sync-compiler.js +52 -0
- package/dist/lib/src/sync-compiler.js.map +1 -0
- package/dist/lib/src/{exception/span.js → sync-process/event.js} +2 -2
- package/dist/lib/src/sync-process/event.js.map +1 -0
- package/dist/lib/src/sync-process/index.js +122 -0
- package/dist/lib/src/sync-process/index.js.map +1 -0
- package/dist/lib/src/sync-process/sync-message-port.js +128 -0
- package/dist/lib/src/sync-process/sync-message-port.js.map +1 -0
- package/dist/lib/src/sync-process/worker.js +51 -0
- package/dist/lib/src/sync-process/worker.js.map +1 -0
- package/dist/lib/src/utils.js +96 -1
- package/dist/lib/src/utils.js.map +1 -1
- package/dist/lib/src/value/argument-list.js +31 -0
- package/dist/lib/src/value/argument-list.js.map +1 -0
- package/dist/lib/src/value/boolean.js +22 -5
- package/dist/lib/src/value/boolean.js.map +1 -1
- package/dist/lib/src/value/color.js +258 -0
- package/dist/lib/src/value/color.js.map +1 -0
- package/dist/lib/src/value/function.js +34 -0
- package/dist/lib/src/value/function.js.map +1 -0
- package/dist/lib/src/value/{value.js → index.js} +28 -14
- package/dist/lib/src/value/index.js.map +1 -0
- package/dist/lib/src/value/list.js +99 -0
- package/dist/lib/src/value/list.js.map +1 -0
- package/dist/lib/src/value/map.js +91 -0
- package/dist/lib/src/value/map.js.map +1 -0
- package/dist/lib/src/value/null.js +16 -3
- package/dist/lib/src/value/null.js.map +1 -1
- package/dist/lib/src/value/number.js +41 -46
- package/dist/lib/src/value/number.js.map +1 -1
- package/dist/lib/src/value/string.js +18 -12
- package/dist/lib/src/value/string.js.map +1 -1
- package/dist/lib/src/value/utils.js +27 -2
- package/dist/lib/src/value/utils.js.map +1 -1
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.js +1395 -101
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.js.map +1 -1
- package/dist/package.json +23 -20
- package/dist/tool/utils.js +50 -18
- package/dist/tool/utils.js.map +1 -1
- package/dist/types/compile.d.ts +152 -0
- package/dist/types/exception.d.ts +41 -0
- package/dist/types/importer.d.ts +294 -0
- package/dist/types/index.d.ts +80 -0
- package/dist/types/legacy/exception.d.ts +54 -0
- package/dist/types/legacy/function.d.ts +756 -0
- package/dist/types/legacy/importer.d.ts +168 -0
- package/dist/types/legacy/options.d.ts +642 -0
- package/dist/types/legacy/plugin_this.d.ts +73 -0
- package/dist/types/legacy/render.d.ts +139 -0
- package/dist/types/logger/index.d.ts +94 -0
- package/dist/types/logger/source_location.d.ts +21 -0
- package/dist/types/logger/source_span.d.ts +34 -0
- package/dist/types/options.d.ts +418 -0
- package/dist/types/util/promise_or.d.ts +17 -0
- package/dist/types/value/argument_list.d.ts +47 -0
- package/dist/types/value/boolean.d.ts +29 -0
- package/dist/types/value/color.d.ts +107 -0
- package/dist/types/value/function.d.ts +22 -0
- package/dist/types/value/index.d.ts +173 -0
- package/dist/types/value/list.d.ts +54 -0
- package/dist/types/value/map.d.ts +41 -0
- package/dist/types/value/number.d.ts +305 -0
- package/dist/types/value/string.d.ts +84 -0
- package/package.json +23 -20
- package/dist/lib/index.d.ts +0 -7
- package/dist/lib/src/compile.d.ts +0 -20
- package/dist/lib/src/embedded-compiler/compiler.d.ts +0 -19
- package/dist/lib/src/embedded-compiler/compiler.js.map +0 -1
- package/dist/lib/src/embedded-compiler/packet-transformer.d.ts +0 -34
- package/dist/lib/src/embedded-compiler/packet-transformer.js.map +0 -1
- package/dist/lib/src/embedded-protocol/dispatcher.d.ts +0 -60
- package/dist/lib/src/embedded-protocol/dispatcher.js.map +0 -1
- package/dist/lib/src/embedded-protocol/message-transformer.d.ts +0 -47
- package/dist/lib/src/embedded-protocol/message-transformer.js.map +0 -1
- package/dist/lib/src/embedded-protocol/request-tracker.d.ts +0 -20
- package/dist/lib/src/embedded-protocol/request-tracker.js.map +0 -1
- package/dist/lib/src/embedded-protocol/utils.d.ts +0 -7
- package/dist/lib/src/embedded-protocol/utils.js +0 -52
- package/dist/lib/src/embedded-protocol/utils.js.map +0 -1
- package/dist/lib/src/exception/exception.d.ts +0 -19
- package/dist/lib/src/exception/exception.js +0 -36
- package/dist/lib/src/exception/exception.js.map +0 -1
- package/dist/lib/src/exception/location.d.ts +0 -11
- package/dist/lib/src/exception/location.js +0 -6
- package/dist/lib/src/exception/location.js.map +0 -1
- package/dist/lib/src/exception/span.d.ts +0 -29
- package/dist/lib/src/exception/span.js.map +0 -1
- package/dist/lib/src/node-sass/render.d.ts +0 -60
- package/dist/lib/src/node-sass/render.js +0 -126
- package/dist/lib/src/node-sass/render.js.map +0 -1
- package/dist/lib/src/utils.d.ts +0 -12
- package/dist/lib/src/value/boolean.d.ts +0 -25
- package/dist/lib/src/value/null.d.ts +0 -12
- package/dist/lib/src/value/number.d.ts +0 -189
- package/dist/lib/src/value/string.d.ts +0 -56
- package/dist/lib/src/value/utils.d.ts +0 -36
- package/dist/lib/src/value/value.d.ts +0 -103
- package/dist/lib/src/value/value.js.map +0 -1
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.d.ts +0 -1
- package/dist/tool/utils.d.ts +0 -32
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
var jspb = require('google-protobuf');
|
|
12
12
|
var goog = jspb;
|
|
13
13
|
var global = Function('return this')();
|
|
14
|
+
goog.exportSymbol('proto.sass.embedded_protocol.CalculationOperator', null, global);
|
|
14
15
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage', null, global);
|
|
15
16
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse', null, global);
|
|
16
17
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse.ResultCase', null, global);
|
|
@@ -51,9 +52,15 @@ goog.exportSymbol('proto.sass.embedded_protocol.SourceSpan', null, global);
|
|
|
51
52
|
goog.exportSymbol('proto.sass.embedded_protocol.SourceSpan.SourceLocation', null, global);
|
|
52
53
|
goog.exportSymbol('proto.sass.embedded_protocol.Syntax', null, global);
|
|
53
54
|
goog.exportSymbol('proto.sass.embedded_protocol.Value', null, global);
|
|
55
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.ArgumentList', null, global);
|
|
56
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.Calculation', null, global);
|
|
57
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.Calculation.CalculationOperation', null, global);
|
|
58
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.Calculation.CalculationValue', null, global);
|
|
59
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.Calculation.CalculationValue.ValueCase', null, global);
|
|
54
60
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.CompilerFunction', null, global);
|
|
55
61
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.HostFunction', null, global);
|
|
56
62
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.HslColor', null, global);
|
|
63
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.HwbColor', null, global);
|
|
57
64
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.List', null, global);
|
|
58
65
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.Map', null, global);
|
|
59
66
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.Map.Entry', null, global);
|
|
@@ -261,7 +268,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
261
268
|
* @constructor
|
|
262
269
|
*/
|
|
263
270
|
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse = function (opt_data) {
|
|
264
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
271
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.repeatedFields_, proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.oneofGroups_);
|
|
265
272
|
};
|
|
266
273
|
goog.inherits(proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse, jspb.Message);
|
|
267
274
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -649,6 +656,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
649
656
|
*/
|
|
650
657
|
proto.sass.embedded_protocol.Value.HslColor.displayName = 'proto.sass.embedded_protocol.Value.HslColor';
|
|
651
658
|
}
|
|
659
|
+
/**
|
|
660
|
+
* Generated by JsPbCodeGenerator.
|
|
661
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
662
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
663
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
664
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
665
|
+
* valid.
|
|
666
|
+
* @extends {jspb.Message}
|
|
667
|
+
* @constructor
|
|
668
|
+
*/
|
|
669
|
+
proto.sass.embedded_protocol.Value.HwbColor = function (opt_data) {
|
|
670
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
671
|
+
};
|
|
672
|
+
goog.inherits(proto.sass.embedded_protocol.Value.HwbColor, jspb.Message);
|
|
673
|
+
if (goog.DEBUG && !COMPILED) {
|
|
674
|
+
/**
|
|
675
|
+
* @public
|
|
676
|
+
* @override
|
|
677
|
+
*/
|
|
678
|
+
proto.sass.embedded_protocol.Value.HwbColor.displayName = 'proto.sass.embedded_protocol.Value.HwbColor';
|
|
679
|
+
}
|
|
652
680
|
/**
|
|
653
681
|
* Generated by JsPbCodeGenerator.
|
|
654
682
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -754,6 +782,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
754
782
|
*/
|
|
755
783
|
proto.sass.embedded_protocol.Value.HostFunction.displayName = 'proto.sass.embedded_protocol.Value.HostFunction';
|
|
756
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
* Generated by JsPbCodeGenerator.
|
|
787
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
788
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
789
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
790
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
791
|
+
* valid.
|
|
792
|
+
* @extends {jspb.Message}
|
|
793
|
+
* @constructor
|
|
794
|
+
*/
|
|
795
|
+
proto.sass.embedded_protocol.Value.ArgumentList = function (opt_data) {
|
|
796
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sass.embedded_protocol.Value.ArgumentList.repeatedFields_, null);
|
|
797
|
+
};
|
|
798
|
+
goog.inherits(proto.sass.embedded_protocol.Value.ArgumentList, jspb.Message);
|
|
799
|
+
if (goog.DEBUG && !COMPILED) {
|
|
800
|
+
/**
|
|
801
|
+
* @public
|
|
802
|
+
* @override
|
|
803
|
+
*/
|
|
804
|
+
proto.sass.embedded_protocol.Value.ArgumentList.displayName = 'proto.sass.embedded_protocol.Value.ArgumentList';
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Generated by JsPbCodeGenerator.
|
|
808
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
809
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
810
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
811
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
812
|
+
* valid.
|
|
813
|
+
* @extends {jspb.Message}
|
|
814
|
+
* @constructor
|
|
815
|
+
*/
|
|
816
|
+
proto.sass.embedded_protocol.Value.Calculation = function (opt_data) {
|
|
817
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sass.embedded_protocol.Value.Calculation.repeatedFields_, null);
|
|
818
|
+
};
|
|
819
|
+
goog.inherits(proto.sass.embedded_protocol.Value.Calculation, jspb.Message);
|
|
820
|
+
if (goog.DEBUG && !COMPILED) {
|
|
821
|
+
/**
|
|
822
|
+
* @public
|
|
823
|
+
* @override
|
|
824
|
+
*/
|
|
825
|
+
proto.sass.embedded_protocol.Value.Calculation.displayName = 'proto.sass.embedded_protocol.Value.Calculation';
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Generated by JsPbCodeGenerator.
|
|
829
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
830
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
831
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
832
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
833
|
+
* valid.
|
|
834
|
+
* @extends {jspb.Message}
|
|
835
|
+
* @constructor
|
|
836
|
+
*/
|
|
837
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue = function (opt_data) {
|
|
838
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_);
|
|
839
|
+
};
|
|
840
|
+
goog.inherits(proto.sass.embedded_protocol.Value.Calculation.CalculationValue, jspb.Message);
|
|
841
|
+
if (goog.DEBUG && !COMPILED) {
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
* @override
|
|
845
|
+
*/
|
|
846
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.displayName = 'proto.sass.embedded_protocol.Value.Calculation.CalculationValue';
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* Generated by JsPbCodeGenerator.
|
|
850
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
851
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
852
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
853
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
854
|
+
* valid.
|
|
855
|
+
* @extends {jspb.Message}
|
|
856
|
+
* @constructor
|
|
857
|
+
*/
|
|
858
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation = function (opt_data) {
|
|
859
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
860
|
+
};
|
|
861
|
+
goog.inherits(proto.sass.embedded_protocol.Value.Calculation.CalculationOperation, jspb.Message);
|
|
862
|
+
if (goog.DEBUG && !COMPILED) {
|
|
863
|
+
/**
|
|
864
|
+
* @public
|
|
865
|
+
* @override
|
|
866
|
+
*/
|
|
867
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.displayName = 'proto.sass.embedded_protocol.Value.Calculation.CalculationOperation';
|
|
868
|
+
}
|
|
757
869
|
/**
|
|
758
870
|
* Oneof group definitions for this message. Each group defines the field
|
|
759
871
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -2634,6 +2746,12 @@ proto.sass.embedded_protocol.InboundMessage.FileImportResponse.prototype.clearEr
|
|
|
2634
2746
|
proto.sass.embedded_protocol.InboundMessage.FileImportResponse.prototype.hasError = function () {
|
|
2635
2747
|
return jspb.Message.getField(this, 3) != null;
|
|
2636
2748
|
};
|
|
2749
|
+
/**
|
|
2750
|
+
* List of repeated fields within this message type.
|
|
2751
|
+
* @private {!Array<number>}
|
|
2752
|
+
* @const
|
|
2753
|
+
*/
|
|
2754
|
+
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.repeatedFields_ = [4];
|
|
2637
2755
|
/**
|
|
2638
2756
|
* Oneof group definitions for this message. Each group defines the field
|
|
2639
2757
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -2686,7 +2804,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2686
2804
|
var f, obj = {
|
|
2687
2805
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2688
2806
|
success: (f = msg.getSuccess()) && proto.sass.embedded_protocol.Value.toObject(includeInstance, f),
|
|
2689
|
-
error: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2807
|
+
error: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2808
|
+
accessedArgumentListsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
2690
2809
|
};
|
|
2691
2810
|
if (includeInstance) {
|
|
2692
2811
|
obj.$jspbMessageInstance = msg;
|
|
@@ -2731,6 +2850,10 @@ proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.deserializeBina
|
|
|
2731
2850
|
var value = /** @type {string} */ (reader.readString());
|
|
2732
2851
|
msg.setError(value);
|
|
2733
2852
|
break;
|
|
2853
|
+
case 4:
|
|
2854
|
+
var value = /** @type {!Array<number>} */ (reader.readPackedUint32());
|
|
2855
|
+
msg.setAccessedArgumentListsList(value);
|
|
2856
|
+
break;
|
|
2734
2857
|
default:
|
|
2735
2858
|
reader.skipField();
|
|
2736
2859
|
break;
|
|
@@ -2768,6 +2891,10 @@ proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.serializeBinary
|
|
|
2768
2891
|
if (f != null) {
|
|
2769
2892
|
writer.writeString(3, f);
|
|
2770
2893
|
}
|
|
2894
|
+
f = message.getAccessedArgumentListsList();
|
|
2895
|
+
if (f.length > 0) {
|
|
2896
|
+
writer.writePackedUint32(4, f);
|
|
2897
|
+
}
|
|
2771
2898
|
};
|
|
2772
2899
|
/**
|
|
2773
2900
|
* optional uint32 id = 1;
|
|
@@ -2839,6 +2966,35 @@ proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.clear
|
|
|
2839
2966
|
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.hasError = function () {
|
|
2840
2967
|
return jspb.Message.getField(this, 3) != null;
|
|
2841
2968
|
};
|
|
2969
|
+
/**
|
|
2970
|
+
* repeated uint32 accessed_argument_lists = 4;
|
|
2971
|
+
* @return {!Array<number>}
|
|
2972
|
+
*/
|
|
2973
|
+
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.getAccessedArgumentListsList = function () {
|
|
2974
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
2975
|
+
};
|
|
2976
|
+
/**
|
|
2977
|
+
* @param {!Array<number>} value
|
|
2978
|
+
* @return {!proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse} returns this
|
|
2979
|
+
*/
|
|
2980
|
+
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.setAccessedArgumentListsList = function (value) {
|
|
2981
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
2982
|
+
};
|
|
2983
|
+
/**
|
|
2984
|
+
* @param {number} value
|
|
2985
|
+
* @param {number=} opt_index
|
|
2986
|
+
* @return {!proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse} returns this
|
|
2987
|
+
*/
|
|
2988
|
+
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.addAccessedArgumentLists = function (value, opt_index) {
|
|
2989
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
2990
|
+
};
|
|
2991
|
+
/**
|
|
2992
|
+
* Clears the list making it empty but non-null.
|
|
2993
|
+
* @return {!proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse} returns this
|
|
2994
|
+
*/
|
|
2995
|
+
proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.clearAccessedArgumentListsList = function () {
|
|
2996
|
+
return this.setAccessedArgumentListsList([]);
|
|
2997
|
+
};
|
|
2842
2998
|
/**
|
|
2843
2999
|
* optional CompileRequest compile_request = 2;
|
|
2844
3000
|
* @return {?proto.sass.embedded_protocol.InboundMessage.CompileRequest}
|
|
@@ -5820,7 +5976,7 @@ proto.sass.embedded_protocol.SourceSpan.prototype.setContext = function (value)
|
|
|
5820
5976
|
* @private {!Array<!Array<number>>}
|
|
5821
5977
|
* @const
|
|
5822
5978
|
*/
|
|
5823
|
-
proto.sass.embedded_protocol.Value.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9]];
|
|
5979
|
+
proto.sass.embedded_protocol.Value.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]];
|
|
5824
5980
|
/**
|
|
5825
5981
|
* @enum {number}
|
|
5826
5982
|
*/
|
|
@@ -5834,7 +5990,10 @@ proto.sass.embedded_protocol.Value.ValueCase = {
|
|
|
5834
5990
|
MAP: 6,
|
|
5835
5991
|
SINGLETON: 7,
|
|
5836
5992
|
COMPILER_FUNCTION: 8,
|
|
5837
|
-
HOST_FUNCTION: 9
|
|
5993
|
+
HOST_FUNCTION: 9,
|
|
5994
|
+
ARGUMENT_LIST: 10,
|
|
5995
|
+
HWB_COLOR: 11,
|
|
5996
|
+
CALCULATION: 12
|
|
5838
5997
|
};
|
|
5839
5998
|
/**
|
|
5840
5999
|
* @return {proto.sass.embedded_protocol.Value.ValueCase}
|
|
@@ -5877,7 +6036,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5877
6036
|
map: (f = msg.getMap()) && proto.sass.embedded_protocol.Value.Map.toObject(includeInstance, f),
|
|
5878
6037
|
singleton: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
5879
6038
|
compilerFunction: (f = msg.getCompilerFunction()) && proto.sass.embedded_protocol.Value.CompilerFunction.toObject(includeInstance, f),
|
|
5880
|
-
hostFunction: (f = msg.getHostFunction()) && proto.sass.embedded_protocol.Value.HostFunction.toObject(includeInstance, f)
|
|
6039
|
+
hostFunction: (f = msg.getHostFunction()) && proto.sass.embedded_protocol.Value.HostFunction.toObject(includeInstance, f),
|
|
6040
|
+
argumentList: (f = msg.getArgumentList()) && proto.sass.embedded_protocol.Value.ArgumentList.toObject(includeInstance, f),
|
|
6041
|
+
hwbColor: (f = msg.getHwbColor()) && proto.sass.embedded_protocol.Value.HwbColor.toObject(includeInstance, f),
|
|
6042
|
+
calculation: (f = msg.getCalculation()) && proto.sass.embedded_protocol.Value.Calculation.toObject(includeInstance, f)
|
|
5881
6043
|
};
|
|
5882
6044
|
if (includeInstance) {
|
|
5883
6045
|
obj.$jspbMessageInstance = msg;
|
|
@@ -5953,6 +6115,21 @@ proto.sass.embedded_protocol.Value.deserializeBinaryFromReader = function (msg,
|
|
|
5953
6115
|
reader.readMessage(value, proto.sass.embedded_protocol.Value.HostFunction.deserializeBinaryFromReader);
|
|
5954
6116
|
msg.setHostFunction(value);
|
|
5955
6117
|
break;
|
|
6118
|
+
case 10:
|
|
6119
|
+
var value = new proto.sass.embedded_protocol.Value.ArgumentList;
|
|
6120
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.ArgumentList.deserializeBinaryFromReader);
|
|
6121
|
+
msg.setArgumentList(value);
|
|
6122
|
+
break;
|
|
6123
|
+
case 11:
|
|
6124
|
+
var value = new proto.sass.embedded_protocol.Value.HwbColor;
|
|
6125
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.HwbColor.deserializeBinaryFromReader);
|
|
6126
|
+
msg.setHwbColor(value);
|
|
6127
|
+
break;
|
|
6128
|
+
case 12:
|
|
6129
|
+
var value = new proto.sass.embedded_protocol.Value.Calculation;
|
|
6130
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Calculation.deserializeBinaryFromReader);
|
|
6131
|
+
msg.setCalculation(value);
|
|
6132
|
+
break;
|
|
5956
6133
|
default:
|
|
5957
6134
|
reader.skipField();
|
|
5958
6135
|
break;
|
|
@@ -6014,6 +6191,18 @@ proto.sass.embedded_protocol.Value.serializeBinaryToWriter = function (message,
|
|
|
6014
6191
|
if (f != null) {
|
|
6015
6192
|
writer.writeMessage(9, f, proto.sass.embedded_protocol.Value.HostFunction.serializeBinaryToWriter);
|
|
6016
6193
|
}
|
|
6194
|
+
f = message.getArgumentList();
|
|
6195
|
+
if (f != null) {
|
|
6196
|
+
writer.writeMessage(10, f, proto.sass.embedded_protocol.Value.ArgumentList.serializeBinaryToWriter);
|
|
6197
|
+
}
|
|
6198
|
+
f = message.getHwbColor();
|
|
6199
|
+
if (f != null) {
|
|
6200
|
+
writer.writeMessage(11, f, proto.sass.embedded_protocol.Value.HwbColor.serializeBinaryToWriter);
|
|
6201
|
+
}
|
|
6202
|
+
f = message.getCalculation();
|
|
6203
|
+
if (f != null) {
|
|
6204
|
+
writer.writeMessage(12, f, proto.sass.embedded_protocol.Value.Calculation.serializeBinaryToWriter);
|
|
6205
|
+
}
|
|
6017
6206
|
};
|
|
6018
6207
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6019
6208
|
/**
|
|
@@ -6686,12 +6875,6 @@ proto.sass.embedded_protocol.Value.HslColor.prototype.getAlpha = function () {
|
|
|
6686
6875
|
proto.sass.embedded_protocol.Value.HslColor.prototype.setAlpha = function (value) {
|
|
6687
6876
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
6688
6877
|
};
|
|
6689
|
-
/**
|
|
6690
|
-
* List of repeated fields within this message type.
|
|
6691
|
-
* @private {!Array<number>}
|
|
6692
|
-
* @const
|
|
6693
|
-
*/
|
|
6694
|
-
proto.sass.embedded_protocol.Value.List.repeatedFields_ = [3];
|
|
6695
6878
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6696
6879
|
/**
|
|
6697
6880
|
* Creates an object representation of this proto.
|
|
@@ -6705,23 +6888,24 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6705
6888
|
* http://goto/soy-param-migration
|
|
6706
6889
|
* @return {!Object}
|
|
6707
6890
|
*/
|
|
6708
|
-
proto.sass.embedded_protocol.Value.
|
|
6709
|
-
return proto.sass.embedded_protocol.Value.
|
|
6891
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.toObject = function (opt_includeInstance) {
|
|
6892
|
+
return proto.sass.embedded_protocol.Value.HwbColor.toObject(opt_includeInstance, this);
|
|
6710
6893
|
};
|
|
6711
6894
|
/**
|
|
6712
6895
|
* Static version of the {@see toObject} method.
|
|
6713
6896
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6714
6897
|
* the JSPB instance for transitional soy proto support:
|
|
6715
6898
|
* http://goto/soy-param-migration
|
|
6716
|
-
* @param {!proto.sass.embedded_protocol.Value.
|
|
6899
|
+
* @param {!proto.sass.embedded_protocol.Value.HwbColor} msg The msg instance to transform.
|
|
6717
6900
|
* @return {!Object}
|
|
6718
6901
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6719
6902
|
*/
|
|
6720
|
-
proto.sass.embedded_protocol.Value.
|
|
6903
|
+
proto.sass.embedded_protocol.Value.HwbColor.toObject = function (includeInstance, msg) {
|
|
6721
6904
|
var f, obj = {
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6905
|
+
hue: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
6906
|
+
whiteness: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
6907
|
+
blackness: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
6908
|
+
alpha: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
6725
6909
|
};
|
|
6726
6910
|
if (includeInstance) {
|
|
6727
6911
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6732,21 +6916,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6732
6916
|
/**
|
|
6733
6917
|
* Deserializes binary data (in protobuf wire format).
|
|
6734
6918
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6735
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
6919
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor}
|
|
6736
6920
|
*/
|
|
6737
|
-
proto.sass.embedded_protocol.Value.
|
|
6921
|
+
proto.sass.embedded_protocol.Value.HwbColor.deserializeBinary = function (bytes) {
|
|
6738
6922
|
var reader = new jspb.BinaryReader(bytes);
|
|
6739
|
-
var msg = new proto.sass.embedded_protocol.Value.
|
|
6740
|
-
return proto.sass.embedded_protocol.Value.
|
|
6923
|
+
var msg = new proto.sass.embedded_protocol.Value.HwbColor;
|
|
6924
|
+
return proto.sass.embedded_protocol.Value.HwbColor.deserializeBinaryFromReader(msg, reader);
|
|
6741
6925
|
};
|
|
6742
6926
|
/**
|
|
6743
6927
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6744
6928
|
* given reader into the given message object.
|
|
6745
|
-
* @param {!proto.sass.embedded_protocol.Value.
|
|
6929
|
+
* @param {!proto.sass.embedded_protocol.Value.HwbColor} msg The message object to deserialize into.
|
|
6746
6930
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6747
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
6931
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor}
|
|
6748
6932
|
*/
|
|
6749
|
-
proto.sass.embedded_protocol.Value.
|
|
6933
|
+
proto.sass.embedded_protocol.Value.HwbColor.deserializeBinaryFromReader = function (msg, reader) {
|
|
6750
6934
|
while (reader.nextField()) {
|
|
6751
6935
|
if (reader.isEndGroup()) {
|
|
6752
6936
|
break;
|
|
@@ -6754,17 +6938,20 @@ proto.sass.embedded_protocol.Value.List.deserializeBinaryFromReader = function (
|
|
|
6754
6938
|
var field = reader.getFieldNumber();
|
|
6755
6939
|
switch (field) {
|
|
6756
6940
|
case 1:
|
|
6757
|
-
var value = /** @type {
|
|
6758
|
-
msg.
|
|
6941
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6942
|
+
msg.setHue(value);
|
|
6759
6943
|
break;
|
|
6760
6944
|
case 2:
|
|
6761
|
-
var value = /** @type {
|
|
6762
|
-
msg.
|
|
6945
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6946
|
+
msg.setWhiteness(value);
|
|
6763
6947
|
break;
|
|
6764
6948
|
case 3:
|
|
6765
|
-
var value =
|
|
6766
|
-
|
|
6767
|
-
|
|
6949
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6950
|
+
msg.setBlackness(value);
|
|
6951
|
+
break;
|
|
6952
|
+
case 4:
|
|
6953
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6954
|
+
msg.setAlpha(value);
|
|
6768
6955
|
break;
|
|
6769
6956
|
default:
|
|
6770
6957
|
reader.skipField();
|
|
@@ -6777,96 +6964,99 @@ proto.sass.embedded_protocol.Value.List.deserializeBinaryFromReader = function (
|
|
|
6777
6964
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6778
6965
|
* @return {!Uint8Array}
|
|
6779
6966
|
*/
|
|
6780
|
-
proto.sass.embedded_protocol.Value.
|
|
6967
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.serializeBinary = function () {
|
|
6781
6968
|
var writer = new jspb.BinaryWriter();
|
|
6782
|
-
proto.sass.embedded_protocol.Value.
|
|
6969
|
+
proto.sass.embedded_protocol.Value.HwbColor.serializeBinaryToWriter(this, writer);
|
|
6783
6970
|
return writer.getResultBuffer();
|
|
6784
6971
|
};
|
|
6785
6972
|
/**
|
|
6786
6973
|
* Serializes the given message to binary data (in protobuf wire
|
|
6787
6974
|
* format), writing to the given BinaryWriter.
|
|
6788
|
-
* @param {!proto.sass.embedded_protocol.Value.
|
|
6975
|
+
* @param {!proto.sass.embedded_protocol.Value.HwbColor} message
|
|
6789
6976
|
* @param {!jspb.BinaryWriter} writer
|
|
6790
6977
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6791
6978
|
*/
|
|
6792
|
-
proto.sass.embedded_protocol.Value.
|
|
6979
|
+
proto.sass.embedded_protocol.Value.HwbColor.serializeBinaryToWriter = function (message, writer) {
|
|
6793
6980
|
var f = undefined;
|
|
6794
|
-
f = message.
|
|
6981
|
+
f = message.getHue();
|
|
6795
6982
|
if (f !== 0.0) {
|
|
6796
|
-
writer.
|
|
6983
|
+
writer.writeDouble(1, f);
|
|
6797
6984
|
}
|
|
6798
|
-
f = message.
|
|
6799
|
-
if (f) {
|
|
6800
|
-
writer.
|
|
6985
|
+
f = message.getWhiteness();
|
|
6986
|
+
if (f !== 0.0) {
|
|
6987
|
+
writer.writeDouble(2, f);
|
|
6801
6988
|
}
|
|
6802
|
-
f = message.
|
|
6803
|
-
if (f
|
|
6804
|
-
writer.
|
|
6989
|
+
f = message.getBlackness();
|
|
6990
|
+
if (f !== 0.0) {
|
|
6991
|
+
writer.writeDouble(3, f);
|
|
6992
|
+
}
|
|
6993
|
+
f = message.getAlpha();
|
|
6994
|
+
if (f !== 0.0) {
|
|
6995
|
+
writer.writeDouble(4, f);
|
|
6805
6996
|
}
|
|
6806
6997
|
};
|
|
6807
6998
|
/**
|
|
6808
|
-
* optional
|
|
6809
|
-
* @return {
|
|
6999
|
+
* optional double hue = 1;
|
|
7000
|
+
* @return {number}
|
|
6810
7001
|
*/
|
|
6811
|
-
proto.sass.embedded_protocol.Value.
|
|
6812
|
-
return /** @type {
|
|
7002
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getHue = function () {
|
|
7003
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
6813
7004
|
};
|
|
6814
7005
|
/**
|
|
6815
|
-
* @param {
|
|
6816
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
7006
|
+
* @param {number} value
|
|
7007
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
6817
7008
|
*/
|
|
6818
|
-
proto.sass.embedded_protocol.Value.
|
|
6819
|
-
return jspb.Message.
|
|
7009
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setHue = function (value) {
|
|
7010
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
|
6820
7011
|
};
|
|
6821
7012
|
/**
|
|
6822
|
-
* optional
|
|
6823
|
-
* @return {
|
|
7013
|
+
* optional double whiteness = 2;
|
|
7014
|
+
* @return {number}
|
|
6824
7015
|
*/
|
|
6825
|
-
proto.sass.embedded_protocol.Value.
|
|
6826
|
-
return /** @type {
|
|
7016
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getWhiteness = function () {
|
|
7017
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
6827
7018
|
};
|
|
6828
7019
|
/**
|
|
6829
|
-
* @param {
|
|
6830
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
7020
|
+
* @param {number} value
|
|
7021
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
6831
7022
|
*/
|
|
6832
|
-
proto.sass.embedded_protocol.Value.
|
|
6833
|
-
return jspb.Message.
|
|
7023
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setWhiteness = function (value) {
|
|
7024
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
6834
7025
|
};
|
|
6835
7026
|
/**
|
|
6836
|
-
*
|
|
6837
|
-
* @return {
|
|
7027
|
+
* optional double blackness = 3;
|
|
7028
|
+
* @return {number}
|
|
6838
7029
|
*/
|
|
6839
|
-
proto.sass.embedded_protocol.Value.
|
|
6840
|
-
return /** @type{
|
|
7030
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getBlackness = function () {
|
|
7031
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
6841
7032
|
};
|
|
6842
7033
|
/**
|
|
6843
|
-
* @param {
|
|
6844
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
6845
|
-
*/
|
|
6846
|
-
proto.sass.embedded_protocol.Value.
|
|
6847
|
-
return jspb.Message.
|
|
7034
|
+
* @param {number} value
|
|
7035
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
7036
|
+
*/
|
|
7037
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setBlackness = function (value) {
|
|
7038
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
6848
7039
|
};
|
|
6849
7040
|
/**
|
|
6850
|
-
*
|
|
6851
|
-
* @
|
|
6852
|
-
* @return {!proto.sass.embedded_protocol.Value}
|
|
7041
|
+
* optional double alpha = 4;
|
|
7042
|
+
* @return {number}
|
|
6853
7043
|
*/
|
|
6854
|
-
proto.sass.embedded_protocol.Value.
|
|
6855
|
-
return jspb.Message.
|
|
7044
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getAlpha = function () {
|
|
7045
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
6856
7046
|
};
|
|
6857
7047
|
/**
|
|
6858
|
-
*
|
|
6859
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
7048
|
+
* @param {number} value
|
|
7049
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
6860
7050
|
*/
|
|
6861
|
-
proto.sass.embedded_protocol.Value.
|
|
6862
|
-
return
|
|
7051
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setAlpha = function (value) {
|
|
7052
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
6863
7053
|
};
|
|
6864
7054
|
/**
|
|
6865
7055
|
* List of repeated fields within this message type.
|
|
6866
7056
|
* @private {!Array<number>}
|
|
6867
7057
|
* @const
|
|
6868
7058
|
*/
|
|
6869
|
-
proto.sass.embedded_protocol.Value.
|
|
7059
|
+
proto.sass.embedded_protocol.Value.List.repeatedFields_ = [3];
|
|
6870
7060
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6871
7061
|
/**
|
|
6872
7062
|
* Creates an object representation of this proto.
|
|
@@ -6880,21 +7070,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6880
7070
|
* http://goto/soy-param-migration
|
|
6881
7071
|
* @return {!Object}
|
|
6882
7072
|
*/
|
|
6883
|
-
proto.sass.embedded_protocol.Value.
|
|
6884
|
-
return proto.sass.embedded_protocol.Value.
|
|
7073
|
+
proto.sass.embedded_protocol.Value.List.prototype.toObject = function (opt_includeInstance) {
|
|
7074
|
+
return proto.sass.embedded_protocol.Value.List.toObject(opt_includeInstance, this);
|
|
6885
7075
|
};
|
|
6886
7076
|
/**
|
|
6887
7077
|
* Static version of the {@see toObject} method.
|
|
6888
7078
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6889
7079
|
* the JSPB instance for transitional soy proto support:
|
|
6890
7080
|
* http://goto/soy-param-migration
|
|
6891
|
-
* @param {!proto.sass.embedded_protocol.Value.
|
|
7081
|
+
* @param {!proto.sass.embedded_protocol.Value.List} msg The msg instance to transform.
|
|
6892
7082
|
* @return {!Object}
|
|
6893
7083
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6894
7084
|
*/
|
|
6895
|
-
proto.sass.embedded_protocol.Value.
|
|
7085
|
+
proto.sass.embedded_protocol.Value.List.toObject = function (includeInstance, msg) {
|
|
6896
7086
|
var f, obj = {
|
|
6897
|
-
|
|
7087
|
+
separator: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7088
|
+
hasBrackets: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
7089
|
+
contentsList: jspb.Message.toObjectList(msg.getContentsList(), proto.sass.embedded_protocol.Value.toObject, includeInstance)
|
|
6898
7090
|
};
|
|
6899
7091
|
if (includeInstance) {
|
|
6900
7092
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6905,9 +7097,182 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6905
7097
|
/**
|
|
6906
7098
|
* Deserializes binary data (in protobuf wire format).
|
|
6907
7099
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6908
|
-
* @return {!proto.sass.embedded_protocol.Value.
|
|
7100
|
+
* @return {!proto.sass.embedded_protocol.Value.List}
|
|
6909
7101
|
*/
|
|
6910
|
-
proto.sass.embedded_protocol.Value.
|
|
7102
|
+
proto.sass.embedded_protocol.Value.List.deserializeBinary = function (bytes) {
|
|
7103
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7104
|
+
var msg = new proto.sass.embedded_protocol.Value.List;
|
|
7105
|
+
return proto.sass.embedded_protocol.Value.List.deserializeBinaryFromReader(msg, reader);
|
|
7106
|
+
};
|
|
7107
|
+
/**
|
|
7108
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7109
|
+
* given reader into the given message object.
|
|
7110
|
+
* @param {!proto.sass.embedded_protocol.Value.List} msg The message object to deserialize into.
|
|
7111
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7112
|
+
* @return {!proto.sass.embedded_protocol.Value.List}
|
|
7113
|
+
*/
|
|
7114
|
+
proto.sass.embedded_protocol.Value.List.deserializeBinaryFromReader = function (msg, reader) {
|
|
7115
|
+
while (reader.nextField()) {
|
|
7116
|
+
if (reader.isEndGroup()) {
|
|
7117
|
+
break;
|
|
7118
|
+
}
|
|
7119
|
+
var field = reader.getFieldNumber();
|
|
7120
|
+
switch (field) {
|
|
7121
|
+
case 1:
|
|
7122
|
+
var value = /** @type {!proto.sass.embedded_protocol.ListSeparator} */ (reader.readEnum());
|
|
7123
|
+
msg.setSeparator(value);
|
|
7124
|
+
break;
|
|
7125
|
+
case 2:
|
|
7126
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
7127
|
+
msg.setHasBrackets(value);
|
|
7128
|
+
break;
|
|
7129
|
+
case 3:
|
|
7130
|
+
var value = new proto.sass.embedded_protocol.Value;
|
|
7131
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.deserializeBinaryFromReader);
|
|
7132
|
+
msg.addContents(value);
|
|
7133
|
+
break;
|
|
7134
|
+
default:
|
|
7135
|
+
reader.skipField();
|
|
7136
|
+
break;
|
|
7137
|
+
}
|
|
7138
|
+
}
|
|
7139
|
+
return msg;
|
|
7140
|
+
};
|
|
7141
|
+
/**
|
|
7142
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7143
|
+
* @return {!Uint8Array}
|
|
7144
|
+
*/
|
|
7145
|
+
proto.sass.embedded_protocol.Value.List.prototype.serializeBinary = function () {
|
|
7146
|
+
var writer = new jspb.BinaryWriter();
|
|
7147
|
+
proto.sass.embedded_protocol.Value.List.serializeBinaryToWriter(this, writer);
|
|
7148
|
+
return writer.getResultBuffer();
|
|
7149
|
+
};
|
|
7150
|
+
/**
|
|
7151
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7152
|
+
* format), writing to the given BinaryWriter.
|
|
7153
|
+
* @param {!proto.sass.embedded_protocol.Value.List} message
|
|
7154
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7155
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7156
|
+
*/
|
|
7157
|
+
proto.sass.embedded_protocol.Value.List.serializeBinaryToWriter = function (message, writer) {
|
|
7158
|
+
var f = undefined;
|
|
7159
|
+
f = message.getSeparator();
|
|
7160
|
+
if (f !== 0.0) {
|
|
7161
|
+
writer.writeEnum(1, f);
|
|
7162
|
+
}
|
|
7163
|
+
f = message.getHasBrackets();
|
|
7164
|
+
if (f) {
|
|
7165
|
+
writer.writeBool(2, f);
|
|
7166
|
+
}
|
|
7167
|
+
f = message.getContentsList();
|
|
7168
|
+
if (f.length > 0) {
|
|
7169
|
+
writer.writeRepeatedMessage(3, f, proto.sass.embedded_protocol.Value.serializeBinaryToWriter);
|
|
7170
|
+
}
|
|
7171
|
+
};
|
|
7172
|
+
/**
|
|
7173
|
+
* optional ListSeparator separator = 1;
|
|
7174
|
+
* @return {!proto.sass.embedded_protocol.ListSeparator}
|
|
7175
|
+
*/
|
|
7176
|
+
proto.sass.embedded_protocol.Value.List.prototype.getSeparator = function () {
|
|
7177
|
+
return /** @type {!proto.sass.embedded_protocol.ListSeparator} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7178
|
+
};
|
|
7179
|
+
/**
|
|
7180
|
+
* @param {!proto.sass.embedded_protocol.ListSeparator} value
|
|
7181
|
+
* @return {!proto.sass.embedded_protocol.Value.List} returns this
|
|
7182
|
+
*/
|
|
7183
|
+
proto.sass.embedded_protocol.Value.List.prototype.setSeparator = function (value) {
|
|
7184
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
7185
|
+
};
|
|
7186
|
+
/**
|
|
7187
|
+
* optional bool has_brackets = 2;
|
|
7188
|
+
* @return {boolean}
|
|
7189
|
+
*/
|
|
7190
|
+
proto.sass.embedded_protocol.Value.List.prototype.getHasBrackets = function () {
|
|
7191
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
7192
|
+
};
|
|
7193
|
+
/**
|
|
7194
|
+
* @param {boolean} value
|
|
7195
|
+
* @return {!proto.sass.embedded_protocol.Value.List} returns this
|
|
7196
|
+
*/
|
|
7197
|
+
proto.sass.embedded_protocol.Value.List.prototype.setHasBrackets = function (value) {
|
|
7198
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
7199
|
+
};
|
|
7200
|
+
/**
|
|
7201
|
+
* repeated Value contents = 3;
|
|
7202
|
+
* @return {!Array<!proto.sass.embedded_protocol.Value>}
|
|
7203
|
+
*/
|
|
7204
|
+
proto.sass.embedded_protocol.Value.List.prototype.getContentsList = function () {
|
|
7205
|
+
return /** @type{!Array<!proto.sass.embedded_protocol.Value>} */ (jspb.Message.getRepeatedWrapperField(this, proto.sass.embedded_protocol.Value, 3));
|
|
7206
|
+
};
|
|
7207
|
+
/**
|
|
7208
|
+
* @param {!Array<!proto.sass.embedded_protocol.Value>} value
|
|
7209
|
+
* @return {!proto.sass.embedded_protocol.Value.List} returns this
|
|
7210
|
+
*/
|
|
7211
|
+
proto.sass.embedded_protocol.Value.List.prototype.setContentsList = function (value) {
|
|
7212
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
7213
|
+
};
|
|
7214
|
+
/**
|
|
7215
|
+
* @param {!proto.sass.embedded_protocol.Value=} opt_value
|
|
7216
|
+
* @param {number=} opt_index
|
|
7217
|
+
* @return {!proto.sass.embedded_protocol.Value}
|
|
7218
|
+
*/
|
|
7219
|
+
proto.sass.embedded_protocol.Value.List.prototype.addContents = function (opt_value, opt_index) {
|
|
7220
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sass.embedded_protocol.Value, opt_index);
|
|
7221
|
+
};
|
|
7222
|
+
/**
|
|
7223
|
+
* Clears the list making it empty but non-null.
|
|
7224
|
+
* @return {!proto.sass.embedded_protocol.Value.List} returns this
|
|
7225
|
+
*/
|
|
7226
|
+
proto.sass.embedded_protocol.Value.List.prototype.clearContentsList = function () {
|
|
7227
|
+
return this.setContentsList([]);
|
|
7228
|
+
};
|
|
7229
|
+
/**
|
|
7230
|
+
* List of repeated fields within this message type.
|
|
7231
|
+
* @private {!Array<number>}
|
|
7232
|
+
* @const
|
|
7233
|
+
*/
|
|
7234
|
+
proto.sass.embedded_protocol.Value.Map.repeatedFields_ = [1];
|
|
7235
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7236
|
+
/**
|
|
7237
|
+
* Creates an object representation of this proto.
|
|
7238
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7239
|
+
* Optional fields that are not set will be set to undefined.
|
|
7240
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7241
|
+
* For the list of reserved names please see:
|
|
7242
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7243
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7244
|
+
* JSPB instance for transitional soy proto support:
|
|
7245
|
+
* http://goto/soy-param-migration
|
|
7246
|
+
* @return {!Object}
|
|
7247
|
+
*/
|
|
7248
|
+
proto.sass.embedded_protocol.Value.Map.prototype.toObject = function (opt_includeInstance) {
|
|
7249
|
+
return proto.sass.embedded_protocol.Value.Map.toObject(opt_includeInstance, this);
|
|
7250
|
+
};
|
|
7251
|
+
/**
|
|
7252
|
+
* Static version of the {@see toObject} method.
|
|
7253
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7254
|
+
* the JSPB instance for transitional soy proto support:
|
|
7255
|
+
* http://goto/soy-param-migration
|
|
7256
|
+
* @param {!proto.sass.embedded_protocol.Value.Map} msg The msg instance to transform.
|
|
7257
|
+
* @return {!Object}
|
|
7258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7259
|
+
*/
|
|
7260
|
+
proto.sass.embedded_protocol.Value.Map.toObject = function (includeInstance, msg) {
|
|
7261
|
+
var f, obj = {
|
|
7262
|
+
entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.sass.embedded_protocol.Value.Map.Entry.toObject, includeInstance)
|
|
7263
|
+
};
|
|
7264
|
+
if (includeInstance) {
|
|
7265
|
+
obj.$jspbMessageInstance = msg;
|
|
7266
|
+
}
|
|
7267
|
+
return obj;
|
|
7268
|
+
};
|
|
7269
|
+
}
|
|
7270
|
+
/**
|
|
7271
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7272
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7273
|
+
* @return {!proto.sass.embedded_protocol.Value.Map}
|
|
7274
|
+
*/
|
|
7275
|
+
proto.sass.embedded_protocol.Value.Map.deserializeBinary = function (bytes) {
|
|
6911
7276
|
var reader = new jspb.BinaryReader(bytes);
|
|
6912
7277
|
var msg = new proto.sass.embedded_protocol.Value.Map;
|
|
6913
7278
|
return proto.sass.embedded_protocol.Value.Map.deserializeBinaryFromReader(msg, reader);
|
|
@@ -7388,28 +7753,864 @@ proto.sass.embedded_protocol.Value.HostFunction.prototype.setSignature = functio
|
|
|
7388
7753
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7389
7754
|
};
|
|
7390
7755
|
/**
|
|
7391
|
-
*
|
|
7392
|
-
* @
|
|
7756
|
+
* List of repeated fields within this message type.
|
|
7757
|
+
* @private {!Array<number>}
|
|
7758
|
+
* @const
|
|
7393
7759
|
*/
|
|
7394
|
-
proto.sass.embedded_protocol.Value.
|
|
7395
|
-
|
|
7396
|
-
|
|
7760
|
+
proto.sass.embedded_protocol.Value.ArgumentList.repeatedFields_ = [3];
|
|
7761
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7762
|
+
/**
|
|
7763
|
+
* Creates an object representation of this proto.
|
|
7764
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7765
|
+
* Optional fields that are not set will be set to undefined.
|
|
7766
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7767
|
+
* For the list of reserved names please see:
|
|
7768
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7769
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7770
|
+
* JSPB instance for transitional soy proto support:
|
|
7771
|
+
* http://goto/soy-param-migration
|
|
7772
|
+
* @return {!Object}
|
|
7773
|
+
*/
|
|
7774
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.toObject = function (opt_includeInstance) {
|
|
7775
|
+
return proto.sass.embedded_protocol.Value.ArgumentList.toObject(opt_includeInstance, this);
|
|
7776
|
+
};
|
|
7777
|
+
/**
|
|
7778
|
+
* Static version of the {@see toObject} method.
|
|
7779
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7780
|
+
* the JSPB instance for transitional soy proto support:
|
|
7781
|
+
* http://goto/soy-param-migration
|
|
7782
|
+
* @param {!proto.sass.embedded_protocol.Value.ArgumentList} msg The msg instance to transform.
|
|
7783
|
+
* @return {!Object}
|
|
7784
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7785
|
+
*/
|
|
7786
|
+
proto.sass.embedded_protocol.Value.ArgumentList.toObject = function (includeInstance, msg) {
|
|
7787
|
+
var f, obj = {
|
|
7788
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7789
|
+
separator: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7790
|
+
contentsList: jspb.Message.toObjectList(msg.getContentsList(), proto.sass.embedded_protocol.Value.toObject, includeInstance),
|
|
7791
|
+
keywordsMap: (f = msg.getKeywordsMap()) ? f.toObject(includeInstance, proto.sass.embedded_protocol.Value.toObject) : []
|
|
7792
|
+
};
|
|
7793
|
+
if (includeInstance) {
|
|
7794
|
+
obj.$jspbMessageInstance = msg;
|
|
7795
|
+
}
|
|
7796
|
+
return obj;
|
|
7797
|
+
};
|
|
7798
|
+
}
|
|
7397
7799
|
/**
|
|
7398
|
-
*
|
|
7399
|
-
* @
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7800
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7801
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7802
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList}
|
|
7803
|
+
*/
|
|
7804
|
+
proto.sass.embedded_protocol.Value.ArgumentList.deserializeBinary = function (bytes) {
|
|
7805
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7806
|
+
var msg = new proto.sass.embedded_protocol.Value.ArgumentList;
|
|
7807
|
+
return proto.sass.embedded_protocol.Value.ArgumentList.deserializeBinaryFromReader(msg, reader);
|
|
7403
7808
|
};
|
|
7404
7809
|
/**
|
|
7405
|
-
*
|
|
7406
|
-
*
|
|
7810
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7811
|
+
* given reader into the given message object.
|
|
7812
|
+
* @param {!proto.sass.embedded_protocol.Value.ArgumentList} msg The message object to deserialize into.
|
|
7813
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7814
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList}
|
|
7407
7815
|
*/
|
|
7408
|
-
proto.sass.embedded_protocol.Value.
|
|
7409
|
-
|
|
7816
|
+
proto.sass.embedded_protocol.Value.ArgumentList.deserializeBinaryFromReader = function (msg, reader) {
|
|
7817
|
+
while (reader.nextField()) {
|
|
7818
|
+
if (reader.isEndGroup()) {
|
|
7819
|
+
break;
|
|
7820
|
+
}
|
|
7821
|
+
var field = reader.getFieldNumber();
|
|
7822
|
+
switch (field) {
|
|
7823
|
+
case 1:
|
|
7824
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
7825
|
+
msg.setId(value);
|
|
7826
|
+
break;
|
|
7827
|
+
case 2:
|
|
7828
|
+
var value = /** @type {!proto.sass.embedded_protocol.ListSeparator} */ (reader.readEnum());
|
|
7829
|
+
msg.setSeparator(value);
|
|
7830
|
+
break;
|
|
7831
|
+
case 3:
|
|
7832
|
+
var value = new proto.sass.embedded_protocol.Value;
|
|
7833
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.deserializeBinaryFromReader);
|
|
7834
|
+
msg.addContents(value);
|
|
7835
|
+
break;
|
|
7836
|
+
case 4:
|
|
7837
|
+
var value = msg.getKeywordsMap();
|
|
7838
|
+
reader.readMessage(value, function (message, reader) {
|
|
7839
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.sass.embedded_protocol.Value.deserializeBinaryFromReader, "", new proto.sass.embedded_protocol.Value());
|
|
7840
|
+
});
|
|
7841
|
+
break;
|
|
7842
|
+
default:
|
|
7843
|
+
reader.skipField();
|
|
7844
|
+
break;
|
|
7845
|
+
}
|
|
7846
|
+
}
|
|
7847
|
+
return msg;
|
|
7410
7848
|
};
|
|
7411
7849
|
/**
|
|
7412
|
-
*
|
|
7850
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7851
|
+
* @return {!Uint8Array}
|
|
7852
|
+
*/
|
|
7853
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.serializeBinary = function () {
|
|
7854
|
+
var writer = new jspb.BinaryWriter();
|
|
7855
|
+
proto.sass.embedded_protocol.Value.ArgumentList.serializeBinaryToWriter(this, writer);
|
|
7856
|
+
return writer.getResultBuffer();
|
|
7857
|
+
};
|
|
7858
|
+
/**
|
|
7859
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7860
|
+
* format), writing to the given BinaryWriter.
|
|
7861
|
+
* @param {!proto.sass.embedded_protocol.Value.ArgumentList} message
|
|
7862
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7863
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7864
|
+
*/
|
|
7865
|
+
proto.sass.embedded_protocol.Value.ArgumentList.serializeBinaryToWriter = function (message, writer) {
|
|
7866
|
+
var f = undefined;
|
|
7867
|
+
f = message.getId();
|
|
7868
|
+
if (f !== 0) {
|
|
7869
|
+
writer.writeUint32(1, f);
|
|
7870
|
+
}
|
|
7871
|
+
f = message.getSeparator();
|
|
7872
|
+
if (f !== 0.0) {
|
|
7873
|
+
writer.writeEnum(2, f);
|
|
7874
|
+
}
|
|
7875
|
+
f = message.getContentsList();
|
|
7876
|
+
if (f.length > 0) {
|
|
7877
|
+
writer.writeRepeatedMessage(3, f, proto.sass.embedded_protocol.Value.serializeBinaryToWriter);
|
|
7878
|
+
}
|
|
7879
|
+
f = message.getKeywordsMap(true);
|
|
7880
|
+
if (f && f.getLength() > 0) {
|
|
7881
|
+
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.sass.embedded_protocol.Value.serializeBinaryToWriter);
|
|
7882
|
+
}
|
|
7883
|
+
};
|
|
7884
|
+
/**
|
|
7885
|
+
* optional uint32 id = 1;
|
|
7886
|
+
* @return {number}
|
|
7887
|
+
*/
|
|
7888
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.getId = function () {
|
|
7889
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7890
|
+
};
|
|
7891
|
+
/**
|
|
7892
|
+
* @param {number} value
|
|
7893
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList} returns this
|
|
7894
|
+
*/
|
|
7895
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.setId = function (value) {
|
|
7896
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7897
|
+
};
|
|
7898
|
+
/**
|
|
7899
|
+
* optional ListSeparator separator = 2;
|
|
7900
|
+
* @return {!proto.sass.embedded_protocol.ListSeparator}
|
|
7901
|
+
*/
|
|
7902
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.getSeparator = function () {
|
|
7903
|
+
return /** @type {!proto.sass.embedded_protocol.ListSeparator} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7904
|
+
};
|
|
7905
|
+
/**
|
|
7906
|
+
* @param {!proto.sass.embedded_protocol.ListSeparator} value
|
|
7907
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList} returns this
|
|
7908
|
+
*/
|
|
7909
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.setSeparator = function (value) {
|
|
7910
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
7911
|
+
};
|
|
7912
|
+
/**
|
|
7913
|
+
* repeated Value contents = 3;
|
|
7914
|
+
* @return {!Array<!proto.sass.embedded_protocol.Value>}
|
|
7915
|
+
*/
|
|
7916
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.getContentsList = function () {
|
|
7917
|
+
return /** @type{!Array<!proto.sass.embedded_protocol.Value>} */ (jspb.Message.getRepeatedWrapperField(this, proto.sass.embedded_protocol.Value, 3));
|
|
7918
|
+
};
|
|
7919
|
+
/**
|
|
7920
|
+
* @param {!Array<!proto.sass.embedded_protocol.Value>} value
|
|
7921
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList} returns this
|
|
7922
|
+
*/
|
|
7923
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.setContentsList = function (value) {
|
|
7924
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
7925
|
+
};
|
|
7926
|
+
/**
|
|
7927
|
+
* @param {!proto.sass.embedded_protocol.Value=} opt_value
|
|
7928
|
+
* @param {number=} opt_index
|
|
7929
|
+
* @return {!proto.sass.embedded_protocol.Value}
|
|
7930
|
+
*/
|
|
7931
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.addContents = function (opt_value, opt_index) {
|
|
7932
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sass.embedded_protocol.Value, opt_index);
|
|
7933
|
+
};
|
|
7934
|
+
/**
|
|
7935
|
+
* Clears the list making it empty but non-null.
|
|
7936
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList} returns this
|
|
7937
|
+
*/
|
|
7938
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.clearContentsList = function () {
|
|
7939
|
+
return this.setContentsList([]);
|
|
7940
|
+
};
|
|
7941
|
+
/**
|
|
7942
|
+
* map<string, Value> keywords = 4;
|
|
7943
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
7944
|
+
* empty, instead returning `undefined`
|
|
7945
|
+
* @return {!jspb.Map<string,!proto.sass.embedded_protocol.Value>}
|
|
7946
|
+
*/
|
|
7947
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.getKeywordsMap = function (opt_noLazyCreate) {
|
|
7948
|
+
return /** @type {!jspb.Map<string,!proto.sass.embedded_protocol.Value>} */ (jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.sass.embedded_protocol.Value));
|
|
7949
|
+
};
|
|
7950
|
+
/**
|
|
7951
|
+
* Clears values from the map. The map will be non-null.
|
|
7952
|
+
* @return {!proto.sass.embedded_protocol.Value.ArgumentList} returns this
|
|
7953
|
+
*/
|
|
7954
|
+
proto.sass.embedded_protocol.Value.ArgumentList.prototype.clearKeywordsMap = function () {
|
|
7955
|
+
this.getKeywordsMap().clear();
|
|
7956
|
+
return this;
|
|
7957
|
+
};
|
|
7958
|
+
/**
|
|
7959
|
+
* List of repeated fields within this message type.
|
|
7960
|
+
* @private {!Array<number>}
|
|
7961
|
+
* @const
|
|
7962
|
+
*/
|
|
7963
|
+
proto.sass.embedded_protocol.Value.Calculation.repeatedFields_ = [2];
|
|
7964
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7965
|
+
/**
|
|
7966
|
+
* Creates an object representation of this proto.
|
|
7967
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7968
|
+
* Optional fields that are not set will be set to undefined.
|
|
7969
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7970
|
+
* For the list of reserved names please see:
|
|
7971
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7972
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7973
|
+
* JSPB instance for transitional soy proto support:
|
|
7974
|
+
* http://goto/soy-param-migration
|
|
7975
|
+
* @return {!Object}
|
|
7976
|
+
*/
|
|
7977
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.toObject = function (opt_includeInstance) {
|
|
7978
|
+
return proto.sass.embedded_protocol.Value.Calculation.toObject(opt_includeInstance, this);
|
|
7979
|
+
};
|
|
7980
|
+
/**
|
|
7981
|
+
* Static version of the {@see toObject} method.
|
|
7982
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7983
|
+
* the JSPB instance for transitional soy proto support:
|
|
7984
|
+
* http://goto/soy-param-migration
|
|
7985
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation} msg The msg instance to transform.
|
|
7986
|
+
* @return {!Object}
|
|
7987
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7988
|
+
*/
|
|
7989
|
+
proto.sass.embedded_protocol.Value.Calculation.toObject = function (includeInstance, msg) {
|
|
7990
|
+
var f, obj = {
|
|
7991
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7992
|
+
argumentsList: jspb.Message.toObjectList(msg.getArgumentsList(), proto.sass.embedded_protocol.Value.Calculation.CalculationValue.toObject, includeInstance)
|
|
7993
|
+
};
|
|
7994
|
+
if (includeInstance) {
|
|
7995
|
+
obj.$jspbMessageInstance = msg;
|
|
7996
|
+
}
|
|
7997
|
+
return obj;
|
|
7998
|
+
};
|
|
7999
|
+
}
|
|
8000
|
+
/**
|
|
8001
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8002
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8003
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation}
|
|
8004
|
+
*/
|
|
8005
|
+
proto.sass.embedded_protocol.Value.Calculation.deserializeBinary = function (bytes) {
|
|
8006
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8007
|
+
var msg = new proto.sass.embedded_protocol.Value.Calculation;
|
|
8008
|
+
return proto.sass.embedded_protocol.Value.Calculation.deserializeBinaryFromReader(msg, reader);
|
|
8009
|
+
};
|
|
8010
|
+
/**
|
|
8011
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8012
|
+
* given reader into the given message object.
|
|
8013
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation} msg The message object to deserialize into.
|
|
8014
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8015
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation}
|
|
8016
|
+
*/
|
|
8017
|
+
proto.sass.embedded_protocol.Value.Calculation.deserializeBinaryFromReader = function (msg, reader) {
|
|
8018
|
+
while (reader.nextField()) {
|
|
8019
|
+
if (reader.isEndGroup()) {
|
|
8020
|
+
break;
|
|
8021
|
+
}
|
|
8022
|
+
var field = reader.getFieldNumber();
|
|
8023
|
+
switch (field) {
|
|
8024
|
+
case 1:
|
|
8025
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8026
|
+
msg.setName(value);
|
|
8027
|
+
break;
|
|
8028
|
+
case 2:
|
|
8029
|
+
var value = new proto.sass.embedded_protocol.Value.Calculation.CalculationValue;
|
|
8030
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.deserializeBinaryFromReader);
|
|
8031
|
+
msg.addArguments(value);
|
|
8032
|
+
break;
|
|
8033
|
+
default:
|
|
8034
|
+
reader.skipField();
|
|
8035
|
+
break;
|
|
8036
|
+
}
|
|
8037
|
+
}
|
|
8038
|
+
return msg;
|
|
8039
|
+
};
|
|
8040
|
+
/**
|
|
8041
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8042
|
+
* @return {!Uint8Array}
|
|
8043
|
+
*/
|
|
8044
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.serializeBinary = function () {
|
|
8045
|
+
var writer = new jspb.BinaryWriter();
|
|
8046
|
+
proto.sass.embedded_protocol.Value.Calculation.serializeBinaryToWriter(this, writer);
|
|
8047
|
+
return writer.getResultBuffer();
|
|
8048
|
+
};
|
|
8049
|
+
/**
|
|
8050
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8051
|
+
* format), writing to the given BinaryWriter.
|
|
8052
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation} message
|
|
8053
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8054
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8055
|
+
*/
|
|
8056
|
+
proto.sass.embedded_protocol.Value.Calculation.serializeBinaryToWriter = function (message, writer) {
|
|
8057
|
+
var f = undefined;
|
|
8058
|
+
f = message.getName();
|
|
8059
|
+
if (f.length > 0) {
|
|
8060
|
+
writer.writeString(1, f);
|
|
8061
|
+
}
|
|
8062
|
+
f = message.getArgumentsList();
|
|
8063
|
+
if (f.length > 0) {
|
|
8064
|
+
writer.writeRepeatedMessage(2, f, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.serializeBinaryToWriter);
|
|
8065
|
+
}
|
|
8066
|
+
};
|
|
8067
|
+
/**
|
|
8068
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
8069
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
8070
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
8071
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
8072
|
+
* @private {!Array<!Array<number>>}
|
|
8073
|
+
* @const
|
|
8074
|
+
*/
|
|
8075
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_ = [[1, 2, 3, 4, 5]];
|
|
8076
|
+
/**
|
|
8077
|
+
* @enum {number}
|
|
8078
|
+
*/
|
|
8079
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.ValueCase = {
|
|
8080
|
+
VALUE_NOT_SET: 0,
|
|
8081
|
+
NUMBER: 1,
|
|
8082
|
+
STRING: 2,
|
|
8083
|
+
INTERPOLATION: 3,
|
|
8084
|
+
OPERATION: 4,
|
|
8085
|
+
CALCULATION: 5
|
|
8086
|
+
};
|
|
8087
|
+
/**
|
|
8088
|
+
* @return {proto.sass.embedded_protocol.Value.Calculation.CalculationValue.ValueCase}
|
|
8089
|
+
*/
|
|
8090
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.getValueCase = function () {
|
|
8091
|
+
return /** @type {proto.sass.embedded_protocol.Value.Calculation.CalculationValue.ValueCase} */ (jspb.Message.computeOneofCase(this, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0]));
|
|
8092
|
+
};
|
|
8093
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8094
|
+
/**
|
|
8095
|
+
* Creates an object representation of this proto.
|
|
8096
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8097
|
+
* Optional fields that are not set will be set to undefined.
|
|
8098
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8099
|
+
* For the list of reserved names please see:
|
|
8100
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8101
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8102
|
+
* JSPB instance for transitional soy proto support:
|
|
8103
|
+
* http://goto/soy-param-migration
|
|
8104
|
+
* @return {!Object}
|
|
8105
|
+
*/
|
|
8106
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.toObject = function (opt_includeInstance) {
|
|
8107
|
+
return proto.sass.embedded_protocol.Value.Calculation.CalculationValue.toObject(opt_includeInstance, this);
|
|
8108
|
+
};
|
|
8109
|
+
/**
|
|
8110
|
+
* Static version of the {@see toObject} method.
|
|
8111
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8112
|
+
* the JSPB instance for transitional soy proto support:
|
|
8113
|
+
* http://goto/soy-param-migration
|
|
8114
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} msg The msg instance to transform.
|
|
8115
|
+
* @return {!Object}
|
|
8116
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8117
|
+
*/
|
|
8118
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.toObject = function (includeInstance, msg) {
|
|
8119
|
+
var f, obj = {
|
|
8120
|
+
number: (f = msg.getNumber()) && proto.sass.embedded_protocol.Value.Number.toObject(includeInstance, f),
|
|
8121
|
+
string: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8122
|
+
interpolation: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8123
|
+
operation: (f = msg.getOperation()) && proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.toObject(includeInstance, f),
|
|
8124
|
+
calculation: (f = msg.getCalculation()) && proto.sass.embedded_protocol.Value.Calculation.toObject(includeInstance, f)
|
|
8125
|
+
};
|
|
8126
|
+
if (includeInstance) {
|
|
8127
|
+
obj.$jspbMessageInstance = msg;
|
|
8128
|
+
}
|
|
8129
|
+
return obj;
|
|
8130
|
+
};
|
|
8131
|
+
}
|
|
8132
|
+
/**
|
|
8133
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8134
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8135
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue}
|
|
8136
|
+
*/
|
|
8137
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.deserializeBinary = function (bytes) {
|
|
8138
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8139
|
+
var msg = new proto.sass.embedded_protocol.Value.Calculation.CalculationValue;
|
|
8140
|
+
return proto.sass.embedded_protocol.Value.Calculation.CalculationValue.deserializeBinaryFromReader(msg, reader);
|
|
8141
|
+
};
|
|
8142
|
+
/**
|
|
8143
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8144
|
+
* given reader into the given message object.
|
|
8145
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} msg The message object to deserialize into.
|
|
8146
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8147
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue}
|
|
8148
|
+
*/
|
|
8149
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.deserializeBinaryFromReader = function (msg, reader) {
|
|
8150
|
+
while (reader.nextField()) {
|
|
8151
|
+
if (reader.isEndGroup()) {
|
|
8152
|
+
break;
|
|
8153
|
+
}
|
|
8154
|
+
var field = reader.getFieldNumber();
|
|
8155
|
+
switch (field) {
|
|
8156
|
+
case 1:
|
|
8157
|
+
var value = new proto.sass.embedded_protocol.Value.Number;
|
|
8158
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Number.deserializeBinaryFromReader);
|
|
8159
|
+
msg.setNumber(value);
|
|
8160
|
+
break;
|
|
8161
|
+
case 2:
|
|
8162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8163
|
+
msg.setString(value);
|
|
8164
|
+
break;
|
|
8165
|
+
case 3:
|
|
8166
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8167
|
+
msg.setInterpolation(value);
|
|
8168
|
+
break;
|
|
8169
|
+
case 4:
|
|
8170
|
+
var value = new proto.sass.embedded_protocol.Value.Calculation.CalculationOperation;
|
|
8171
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.deserializeBinaryFromReader);
|
|
8172
|
+
msg.setOperation(value);
|
|
8173
|
+
break;
|
|
8174
|
+
case 5:
|
|
8175
|
+
var value = new proto.sass.embedded_protocol.Value.Calculation;
|
|
8176
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Calculation.deserializeBinaryFromReader);
|
|
8177
|
+
msg.setCalculation(value);
|
|
8178
|
+
break;
|
|
8179
|
+
default:
|
|
8180
|
+
reader.skipField();
|
|
8181
|
+
break;
|
|
8182
|
+
}
|
|
8183
|
+
}
|
|
8184
|
+
return msg;
|
|
8185
|
+
};
|
|
8186
|
+
/**
|
|
8187
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8188
|
+
* @return {!Uint8Array}
|
|
8189
|
+
*/
|
|
8190
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.serializeBinary = function () {
|
|
8191
|
+
var writer = new jspb.BinaryWriter();
|
|
8192
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.serializeBinaryToWriter(this, writer);
|
|
8193
|
+
return writer.getResultBuffer();
|
|
8194
|
+
};
|
|
8195
|
+
/**
|
|
8196
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8197
|
+
* format), writing to the given BinaryWriter.
|
|
8198
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} message
|
|
8199
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8200
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8201
|
+
*/
|
|
8202
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.serializeBinaryToWriter = function (message, writer) {
|
|
8203
|
+
var f = undefined;
|
|
8204
|
+
f = message.getNumber();
|
|
8205
|
+
if (f != null) {
|
|
8206
|
+
writer.writeMessage(1, f, proto.sass.embedded_protocol.Value.Number.serializeBinaryToWriter);
|
|
8207
|
+
}
|
|
8208
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
8209
|
+
if (f != null) {
|
|
8210
|
+
writer.writeString(2, f);
|
|
8211
|
+
}
|
|
8212
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
8213
|
+
if (f != null) {
|
|
8214
|
+
writer.writeString(3, f);
|
|
8215
|
+
}
|
|
8216
|
+
f = message.getOperation();
|
|
8217
|
+
if (f != null) {
|
|
8218
|
+
writer.writeMessage(4, f, proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.serializeBinaryToWriter);
|
|
8219
|
+
}
|
|
8220
|
+
f = message.getCalculation();
|
|
8221
|
+
if (f != null) {
|
|
8222
|
+
writer.writeMessage(5, f, proto.sass.embedded_protocol.Value.Calculation.serializeBinaryToWriter);
|
|
8223
|
+
}
|
|
8224
|
+
};
|
|
8225
|
+
/**
|
|
8226
|
+
* optional Number number = 1;
|
|
8227
|
+
* @return {?proto.sass.embedded_protocol.Value.Number}
|
|
8228
|
+
*/
|
|
8229
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.getNumber = function () {
|
|
8230
|
+
return /** @type{?proto.sass.embedded_protocol.Value.Number} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Number, 1));
|
|
8231
|
+
};
|
|
8232
|
+
/**
|
|
8233
|
+
* @param {?proto.sass.embedded_protocol.Value.Number|undefined} value
|
|
8234
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8235
|
+
*/
|
|
8236
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.setNumber = function (value) {
|
|
8237
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], value);
|
|
8238
|
+
};
|
|
8239
|
+
/**
|
|
8240
|
+
* Clears the message field making it undefined.
|
|
8241
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8242
|
+
*/
|
|
8243
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.clearNumber = function () {
|
|
8244
|
+
return this.setNumber(undefined);
|
|
8245
|
+
};
|
|
8246
|
+
/**
|
|
8247
|
+
* Returns whether this field is set.
|
|
8248
|
+
* @return {boolean}
|
|
8249
|
+
*/
|
|
8250
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.hasNumber = function () {
|
|
8251
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8252
|
+
};
|
|
8253
|
+
/**
|
|
8254
|
+
* optional string string = 2;
|
|
8255
|
+
* @return {string}
|
|
8256
|
+
*/
|
|
8257
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.getString = function () {
|
|
8258
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8259
|
+
};
|
|
8260
|
+
/**
|
|
8261
|
+
* @param {string} value
|
|
8262
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8263
|
+
*/
|
|
8264
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.setString = function (value) {
|
|
8265
|
+
return jspb.Message.setOneofField(this, 2, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], value);
|
|
8266
|
+
};
|
|
8267
|
+
/**
|
|
8268
|
+
* Clears the field making it undefined.
|
|
8269
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8270
|
+
*/
|
|
8271
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.clearString = function () {
|
|
8272
|
+
return jspb.Message.setOneofField(this, 2, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], undefined);
|
|
8273
|
+
};
|
|
8274
|
+
/**
|
|
8275
|
+
* Returns whether this field is set.
|
|
8276
|
+
* @return {boolean}
|
|
8277
|
+
*/
|
|
8278
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.hasString = function () {
|
|
8279
|
+
return jspb.Message.getField(this, 2) != null;
|
|
8280
|
+
};
|
|
8281
|
+
/**
|
|
8282
|
+
* optional string interpolation = 3;
|
|
8283
|
+
* @return {string}
|
|
8284
|
+
*/
|
|
8285
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.getInterpolation = function () {
|
|
8286
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8287
|
+
};
|
|
8288
|
+
/**
|
|
8289
|
+
* @param {string} value
|
|
8290
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8291
|
+
*/
|
|
8292
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.setInterpolation = function (value) {
|
|
8293
|
+
return jspb.Message.setOneofField(this, 3, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], value);
|
|
8294
|
+
};
|
|
8295
|
+
/**
|
|
8296
|
+
* Clears the field making it undefined.
|
|
8297
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8298
|
+
*/
|
|
8299
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.clearInterpolation = function () {
|
|
8300
|
+
return jspb.Message.setOneofField(this, 3, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], undefined);
|
|
8301
|
+
};
|
|
8302
|
+
/**
|
|
8303
|
+
* Returns whether this field is set.
|
|
8304
|
+
* @return {boolean}
|
|
8305
|
+
*/
|
|
8306
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.hasInterpolation = function () {
|
|
8307
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8308
|
+
};
|
|
8309
|
+
/**
|
|
8310
|
+
* optional CalculationOperation operation = 4;
|
|
8311
|
+
* @return {?proto.sass.embedded_protocol.Value.Calculation.CalculationOperation}
|
|
8312
|
+
*/
|
|
8313
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.getOperation = function () {
|
|
8314
|
+
return /** @type{?proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Calculation.CalculationOperation, 4));
|
|
8315
|
+
};
|
|
8316
|
+
/**
|
|
8317
|
+
* @param {?proto.sass.embedded_protocol.Value.Calculation.CalculationOperation|undefined} value
|
|
8318
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8319
|
+
*/
|
|
8320
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.setOperation = function (value) {
|
|
8321
|
+
return jspb.Message.setOneofWrapperField(this, 4, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], value);
|
|
8322
|
+
};
|
|
8323
|
+
/**
|
|
8324
|
+
* Clears the message field making it undefined.
|
|
8325
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8326
|
+
*/
|
|
8327
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.clearOperation = function () {
|
|
8328
|
+
return this.setOperation(undefined);
|
|
8329
|
+
};
|
|
8330
|
+
/**
|
|
8331
|
+
* Returns whether this field is set.
|
|
8332
|
+
* @return {boolean}
|
|
8333
|
+
*/
|
|
8334
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.hasOperation = function () {
|
|
8335
|
+
return jspb.Message.getField(this, 4) != null;
|
|
8336
|
+
};
|
|
8337
|
+
/**
|
|
8338
|
+
* optional Calculation calculation = 5;
|
|
8339
|
+
* @return {?proto.sass.embedded_protocol.Value.Calculation}
|
|
8340
|
+
*/
|
|
8341
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.getCalculation = function () {
|
|
8342
|
+
return /** @type{?proto.sass.embedded_protocol.Value.Calculation} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Calculation, 5));
|
|
8343
|
+
};
|
|
8344
|
+
/**
|
|
8345
|
+
* @param {?proto.sass.embedded_protocol.Value.Calculation|undefined} value
|
|
8346
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8347
|
+
*/
|
|
8348
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.setCalculation = function (value) {
|
|
8349
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.oneofGroups_[0], value);
|
|
8350
|
+
};
|
|
8351
|
+
/**
|
|
8352
|
+
* Clears the message field making it undefined.
|
|
8353
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue} returns this
|
|
8354
|
+
*/
|
|
8355
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.clearCalculation = function () {
|
|
8356
|
+
return this.setCalculation(undefined);
|
|
8357
|
+
};
|
|
8358
|
+
/**
|
|
8359
|
+
* Returns whether this field is set.
|
|
8360
|
+
* @return {boolean}
|
|
8361
|
+
*/
|
|
8362
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationValue.prototype.hasCalculation = function () {
|
|
8363
|
+
return jspb.Message.getField(this, 5) != null;
|
|
8364
|
+
};
|
|
8365
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8366
|
+
/**
|
|
8367
|
+
* Creates an object representation of this proto.
|
|
8368
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8369
|
+
* Optional fields that are not set will be set to undefined.
|
|
8370
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8371
|
+
* For the list of reserved names please see:
|
|
8372
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8373
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8374
|
+
* JSPB instance for transitional soy proto support:
|
|
8375
|
+
* http://goto/soy-param-migration
|
|
8376
|
+
* @return {!Object}
|
|
8377
|
+
*/
|
|
8378
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.toObject = function (opt_includeInstance) {
|
|
8379
|
+
return proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.toObject(opt_includeInstance, this);
|
|
8380
|
+
};
|
|
8381
|
+
/**
|
|
8382
|
+
* Static version of the {@see toObject} method.
|
|
8383
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8384
|
+
* the JSPB instance for transitional soy proto support:
|
|
8385
|
+
* http://goto/soy-param-migration
|
|
8386
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} msg The msg instance to transform.
|
|
8387
|
+
* @return {!Object}
|
|
8388
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8389
|
+
*/
|
|
8390
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.toObject = function (includeInstance, msg) {
|
|
8391
|
+
var f, obj = {
|
|
8392
|
+
operator: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8393
|
+
left: (f = msg.getLeft()) && proto.sass.embedded_protocol.Value.Calculation.CalculationValue.toObject(includeInstance, f),
|
|
8394
|
+
right: (f = msg.getRight()) && proto.sass.embedded_protocol.Value.Calculation.CalculationValue.toObject(includeInstance, f)
|
|
8395
|
+
};
|
|
8396
|
+
if (includeInstance) {
|
|
8397
|
+
obj.$jspbMessageInstance = msg;
|
|
8398
|
+
}
|
|
8399
|
+
return obj;
|
|
8400
|
+
};
|
|
8401
|
+
}
|
|
8402
|
+
/**
|
|
8403
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8404
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8405
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation}
|
|
8406
|
+
*/
|
|
8407
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.deserializeBinary = function (bytes) {
|
|
8408
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8409
|
+
var msg = new proto.sass.embedded_protocol.Value.Calculation.CalculationOperation;
|
|
8410
|
+
return proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.deserializeBinaryFromReader(msg, reader);
|
|
8411
|
+
};
|
|
8412
|
+
/**
|
|
8413
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8414
|
+
* given reader into the given message object.
|
|
8415
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} msg The message object to deserialize into.
|
|
8416
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8417
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation}
|
|
8418
|
+
*/
|
|
8419
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.deserializeBinaryFromReader = function (msg, reader) {
|
|
8420
|
+
while (reader.nextField()) {
|
|
8421
|
+
if (reader.isEndGroup()) {
|
|
8422
|
+
break;
|
|
8423
|
+
}
|
|
8424
|
+
var field = reader.getFieldNumber();
|
|
8425
|
+
switch (field) {
|
|
8426
|
+
case 1:
|
|
8427
|
+
var value = /** @type {!proto.sass.embedded_protocol.CalculationOperator} */ (reader.readEnum());
|
|
8428
|
+
msg.setOperator(value);
|
|
8429
|
+
break;
|
|
8430
|
+
case 2:
|
|
8431
|
+
var value = new proto.sass.embedded_protocol.Value.Calculation.CalculationValue;
|
|
8432
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.deserializeBinaryFromReader);
|
|
8433
|
+
msg.setLeft(value);
|
|
8434
|
+
break;
|
|
8435
|
+
case 3:
|
|
8436
|
+
var value = new proto.sass.embedded_protocol.Value.Calculation.CalculationValue;
|
|
8437
|
+
reader.readMessage(value, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.deserializeBinaryFromReader);
|
|
8438
|
+
msg.setRight(value);
|
|
8439
|
+
break;
|
|
8440
|
+
default:
|
|
8441
|
+
reader.skipField();
|
|
8442
|
+
break;
|
|
8443
|
+
}
|
|
8444
|
+
}
|
|
8445
|
+
return msg;
|
|
8446
|
+
};
|
|
8447
|
+
/**
|
|
8448
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8449
|
+
* @return {!Uint8Array}
|
|
8450
|
+
*/
|
|
8451
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.serializeBinary = function () {
|
|
8452
|
+
var writer = new jspb.BinaryWriter();
|
|
8453
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.serializeBinaryToWriter(this, writer);
|
|
8454
|
+
return writer.getResultBuffer();
|
|
8455
|
+
};
|
|
8456
|
+
/**
|
|
8457
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8458
|
+
* format), writing to the given BinaryWriter.
|
|
8459
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} message
|
|
8460
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8462
|
+
*/
|
|
8463
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.serializeBinaryToWriter = function (message, writer) {
|
|
8464
|
+
var f = undefined;
|
|
8465
|
+
f = message.getOperator();
|
|
8466
|
+
if (f !== 0.0) {
|
|
8467
|
+
writer.writeEnum(1, f);
|
|
8468
|
+
}
|
|
8469
|
+
f = message.getLeft();
|
|
8470
|
+
if (f != null) {
|
|
8471
|
+
writer.writeMessage(2, f, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.serializeBinaryToWriter);
|
|
8472
|
+
}
|
|
8473
|
+
f = message.getRight();
|
|
8474
|
+
if (f != null) {
|
|
8475
|
+
writer.writeMessage(3, f, proto.sass.embedded_protocol.Value.Calculation.CalculationValue.serializeBinaryToWriter);
|
|
8476
|
+
}
|
|
8477
|
+
};
|
|
8478
|
+
/**
|
|
8479
|
+
* optional CalculationOperator operator = 1;
|
|
8480
|
+
* @return {!proto.sass.embedded_protocol.CalculationOperator}
|
|
8481
|
+
*/
|
|
8482
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.getOperator = function () {
|
|
8483
|
+
return /** @type {!proto.sass.embedded_protocol.CalculationOperator} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
8484
|
+
};
|
|
8485
|
+
/**
|
|
8486
|
+
* @param {!proto.sass.embedded_protocol.CalculationOperator} value
|
|
8487
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} returns this
|
|
8488
|
+
*/
|
|
8489
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.setOperator = function (value) {
|
|
8490
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
8491
|
+
};
|
|
8492
|
+
/**
|
|
8493
|
+
* optional CalculationValue left = 2;
|
|
8494
|
+
* @return {?proto.sass.embedded_protocol.Value.Calculation.CalculationValue}
|
|
8495
|
+
*/
|
|
8496
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.getLeft = function () {
|
|
8497
|
+
return /** @type{?proto.sass.embedded_protocol.Value.Calculation.CalculationValue} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Calculation.CalculationValue, 2));
|
|
8498
|
+
};
|
|
8499
|
+
/**
|
|
8500
|
+
* @param {?proto.sass.embedded_protocol.Value.Calculation.CalculationValue|undefined} value
|
|
8501
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} returns this
|
|
8502
|
+
*/
|
|
8503
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.setLeft = function (value) {
|
|
8504
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
8505
|
+
};
|
|
8506
|
+
/**
|
|
8507
|
+
* Clears the message field making it undefined.
|
|
8508
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} returns this
|
|
8509
|
+
*/
|
|
8510
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.clearLeft = function () {
|
|
8511
|
+
return this.setLeft(undefined);
|
|
8512
|
+
};
|
|
8513
|
+
/**
|
|
8514
|
+
* Returns whether this field is set.
|
|
8515
|
+
* @return {boolean}
|
|
8516
|
+
*/
|
|
8517
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.hasLeft = function () {
|
|
8518
|
+
return jspb.Message.getField(this, 2) != null;
|
|
8519
|
+
};
|
|
8520
|
+
/**
|
|
8521
|
+
* optional CalculationValue right = 3;
|
|
8522
|
+
* @return {?proto.sass.embedded_protocol.Value.Calculation.CalculationValue}
|
|
8523
|
+
*/
|
|
8524
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.getRight = function () {
|
|
8525
|
+
return /** @type{?proto.sass.embedded_protocol.Value.Calculation.CalculationValue} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Calculation.CalculationValue, 3));
|
|
8526
|
+
};
|
|
8527
|
+
/**
|
|
8528
|
+
* @param {?proto.sass.embedded_protocol.Value.Calculation.CalculationValue|undefined} value
|
|
8529
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} returns this
|
|
8530
|
+
*/
|
|
8531
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.setRight = function (value) {
|
|
8532
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
8533
|
+
};
|
|
8534
|
+
/**
|
|
8535
|
+
* Clears the message field making it undefined.
|
|
8536
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationOperation} returns this
|
|
8537
|
+
*/
|
|
8538
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.clearRight = function () {
|
|
8539
|
+
return this.setRight(undefined);
|
|
8540
|
+
};
|
|
8541
|
+
/**
|
|
8542
|
+
* Returns whether this field is set.
|
|
8543
|
+
* @return {boolean}
|
|
8544
|
+
*/
|
|
8545
|
+
proto.sass.embedded_protocol.Value.Calculation.CalculationOperation.prototype.hasRight = function () {
|
|
8546
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8547
|
+
};
|
|
8548
|
+
/**
|
|
8549
|
+
* optional string name = 1;
|
|
8550
|
+
* @return {string}
|
|
8551
|
+
*/
|
|
8552
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.getName = function () {
|
|
8553
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8554
|
+
};
|
|
8555
|
+
/**
|
|
8556
|
+
* @param {string} value
|
|
8557
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation} returns this
|
|
8558
|
+
*/
|
|
8559
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.setName = function (value) {
|
|
8560
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8561
|
+
};
|
|
8562
|
+
/**
|
|
8563
|
+
* repeated CalculationValue arguments = 2;
|
|
8564
|
+
* @return {!Array<!proto.sass.embedded_protocol.Value.Calculation.CalculationValue>}
|
|
8565
|
+
*/
|
|
8566
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.getArgumentsList = function () {
|
|
8567
|
+
return /** @type{!Array<!proto.sass.embedded_protocol.Value.Calculation.CalculationValue>} */ (jspb.Message.getRepeatedWrapperField(this, proto.sass.embedded_protocol.Value.Calculation.CalculationValue, 2));
|
|
8568
|
+
};
|
|
8569
|
+
/**
|
|
8570
|
+
* @param {!Array<!proto.sass.embedded_protocol.Value.Calculation.CalculationValue>} value
|
|
8571
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation} returns this
|
|
8572
|
+
*/
|
|
8573
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.setArgumentsList = function (value) {
|
|
8574
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
8575
|
+
};
|
|
8576
|
+
/**
|
|
8577
|
+
* @param {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue=} opt_value
|
|
8578
|
+
* @param {number=} opt_index
|
|
8579
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation.CalculationValue}
|
|
8580
|
+
*/
|
|
8581
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.addArguments = function (opt_value, opt_index) {
|
|
8582
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sass.embedded_protocol.Value.Calculation.CalculationValue, opt_index);
|
|
8583
|
+
};
|
|
8584
|
+
/**
|
|
8585
|
+
* Clears the list making it empty but non-null.
|
|
8586
|
+
* @return {!proto.sass.embedded_protocol.Value.Calculation} returns this
|
|
8587
|
+
*/
|
|
8588
|
+
proto.sass.embedded_protocol.Value.Calculation.prototype.clearArgumentsList = function () {
|
|
8589
|
+
return this.setArgumentsList([]);
|
|
8590
|
+
};
|
|
8591
|
+
/**
|
|
8592
|
+
* optional String string = 1;
|
|
8593
|
+
* @return {?proto.sass.embedded_protocol.Value.String}
|
|
8594
|
+
*/
|
|
8595
|
+
proto.sass.embedded_protocol.Value.prototype.getString = function () {
|
|
8596
|
+
return /** @type{?proto.sass.embedded_protocol.Value.String} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.String, 1));
|
|
8597
|
+
};
|
|
8598
|
+
/**
|
|
8599
|
+
* @param {?proto.sass.embedded_protocol.Value.String|undefined} value
|
|
8600
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8601
|
+
*/
|
|
8602
|
+
proto.sass.embedded_protocol.Value.prototype.setString = function (value) {
|
|
8603
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.sass.embedded_protocol.Value.oneofGroups_[0], value);
|
|
8604
|
+
};
|
|
8605
|
+
/**
|
|
8606
|
+
* Clears the message field making it undefined.
|
|
8607
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8608
|
+
*/
|
|
8609
|
+
proto.sass.embedded_protocol.Value.prototype.clearString = function () {
|
|
8610
|
+
return this.setString(undefined);
|
|
8611
|
+
};
|
|
8612
|
+
/**
|
|
8613
|
+
* Returns whether this field is set.
|
|
7413
8614
|
* @return {boolean}
|
|
7414
8615
|
*/
|
|
7415
8616
|
proto.sass.embedded_protocol.Value.prototype.hasString = function () {
|
|
@@ -7639,6 +8840,90 @@ proto.sass.embedded_protocol.Value.prototype.clearHostFunction = function () {
|
|
|
7639
8840
|
proto.sass.embedded_protocol.Value.prototype.hasHostFunction = function () {
|
|
7640
8841
|
return jspb.Message.getField(this, 9) != null;
|
|
7641
8842
|
};
|
|
8843
|
+
/**
|
|
8844
|
+
* optional ArgumentList argument_list = 10;
|
|
8845
|
+
* @return {?proto.sass.embedded_protocol.Value.ArgumentList}
|
|
8846
|
+
*/
|
|
8847
|
+
proto.sass.embedded_protocol.Value.prototype.getArgumentList = function () {
|
|
8848
|
+
return /** @type{?proto.sass.embedded_protocol.Value.ArgumentList} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.ArgumentList, 10));
|
|
8849
|
+
};
|
|
8850
|
+
/**
|
|
8851
|
+
* @param {?proto.sass.embedded_protocol.Value.ArgumentList|undefined} value
|
|
8852
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8853
|
+
*/
|
|
8854
|
+
proto.sass.embedded_protocol.Value.prototype.setArgumentList = function (value) {
|
|
8855
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.sass.embedded_protocol.Value.oneofGroups_[0], value);
|
|
8856
|
+
};
|
|
8857
|
+
/**
|
|
8858
|
+
* Clears the message field making it undefined.
|
|
8859
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8860
|
+
*/
|
|
8861
|
+
proto.sass.embedded_protocol.Value.prototype.clearArgumentList = function () {
|
|
8862
|
+
return this.setArgumentList(undefined);
|
|
8863
|
+
};
|
|
8864
|
+
/**
|
|
8865
|
+
* Returns whether this field is set.
|
|
8866
|
+
* @return {boolean}
|
|
8867
|
+
*/
|
|
8868
|
+
proto.sass.embedded_protocol.Value.prototype.hasArgumentList = function () {
|
|
8869
|
+
return jspb.Message.getField(this, 10) != null;
|
|
8870
|
+
};
|
|
8871
|
+
/**
|
|
8872
|
+
* optional HwbColor hwb_color = 11;
|
|
8873
|
+
* @return {?proto.sass.embedded_protocol.Value.HwbColor}
|
|
8874
|
+
*/
|
|
8875
|
+
proto.sass.embedded_protocol.Value.prototype.getHwbColor = function () {
|
|
8876
|
+
return /** @type{?proto.sass.embedded_protocol.Value.HwbColor} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.HwbColor, 11));
|
|
8877
|
+
};
|
|
8878
|
+
/**
|
|
8879
|
+
* @param {?proto.sass.embedded_protocol.Value.HwbColor|undefined} value
|
|
8880
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8881
|
+
*/
|
|
8882
|
+
proto.sass.embedded_protocol.Value.prototype.setHwbColor = function (value) {
|
|
8883
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.sass.embedded_protocol.Value.oneofGroups_[0], value);
|
|
8884
|
+
};
|
|
8885
|
+
/**
|
|
8886
|
+
* Clears the message field making it undefined.
|
|
8887
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8888
|
+
*/
|
|
8889
|
+
proto.sass.embedded_protocol.Value.prototype.clearHwbColor = function () {
|
|
8890
|
+
return this.setHwbColor(undefined);
|
|
8891
|
+
};
|
|
8892
|
+
/**
|
|
8893
|
+
* Returns whether this field is set.
|
|
8894
|
+
* @return {boolean}
|
|
8895
|
+
*/
|
|
8896
|
+
proto.sass.embedded_protocol.Value.prototype.hasHwbColor = function () {
|
|
8897
|
+
return jspb.Message.getField(this, 11) != null;
|
|
8898
|
+
};
|
|
8899
|
+
/**
|
|
8900
|
+
* optional Calculation calculation = 12;
|
|
8901
|
+
* @return {?proto.sass.embedded_protocol.Value.Calculation}
|
|
8902
|
+
*/
|
|
8903
|
+
proto.sass.embedded_protocol.Value.prototype.getCalculation = function () {
|
|
8904
|
+
return /** @type{?proto.sass.embedded_protocol.Value.Calculation} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Calculation, 12));
|
|
8905
|
+
};
|
|
8906
|
+
/**
|
|
8907
|
+
* @param {?proto.sass.embedded_protocol.Value.Calculation|undefined} value
|
|
8908
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8909
|
+
*/
|
|
8910
|
+
proto.sass.embedded_protocol.Value.prototype.setCalculation = function (value) {
|
|
8911
|
+
return jspb.Message.setOneofWrapperField(this, 12, proto.sass.embedded_protocol.Value.oneofGroups_[0], value);
|
|
8912
|
+
};
|
|
8913
|
+
/**
|
|
8914
|
+
* Clears the message field making it undefined.
|
|
8915
|
+
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
8916
|
+
*/
|
|
8917
|
+
proto.sass.embedded_protocol.Value.prototype.clearCalculation = function () {
|
|
8918
|
+
return this.setCalculation(undefined);
|
|
8919
|
+
};
|
|
8920
|
+
/**
|
|
8921
|
+
* Returns whether this field is set.
|
|
8922
|
+
* @return {boolean}
|
|
8923
|
+
*/
|
|
8924
|
+
proto.sass.embedded_protocol.Value.prototype.hasCalculation = function () {
|
|
8925
|
+
return jspb.Message.getField(this, 12) != null;
|
|
8926
|
+
};
|
|
7642
8927
|
/**
|
|
7643
8928
|
* @enum {number}
|
|
7644
8929
|
*/
|
|
@@ -7687,5 +8972,14 @@ proto.sass.embedded_protocol.SingletonValue = {
|
|
|
7687
8972
|
FALSE: 1,
|
|
7688
8973
|
NULL: 2
|
|
7689
8974
|
};
|
|
8975
|
+
/**
|
|
8976
|
+
* @enum {number}
|
|
8977
|
+
*/
|
|
8978
|
+
proto.sass.embedded_protocol.CalculationOperator = {
|
|
8979
|
+
PLUS: 0,
|
|
8980
|
+
MINUS: 1,
|
|
8981
|
+
TIMES: 2,
|
|
8982
|
+
DIVIDE: 3
|
|
8983
|
+
};
|
|
7690
8984
|
goog.object.extend(exports, proto.sass.embedded_protocol);
|
|
7691
8985
|
//# sourceMappingURL=embedded_sass_pb.js.map
|