sass-embedded 1.0.0-beta.1 → 1.0.0-beta.7
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 +49 -1
- package/README.md +3 -3
- package/dist/.gitignore +2 -1
- package/dist/lib/index.js +29 -2
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/src/{embedded/compiler.js → async-compiler.js} +13 -13
- package/dist/lib/src/async-compiler.js.map +1 -0
- package/dist/lib/src/compile.js +170 -69
- 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/dispatcher.js → dispatcher.js} +63 -57
- 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 +81 -0
- package/dist/lib/src/function-registry.js.map +1 -0
- package/dist/lib/src/legacy.js +133 -0
- package/dist/lib/src/legacy.js.map +1 -0
- package/dist/lib/src/{embedded/message-transformer.js → message-transformer.js} +35 -34
- package/dist/lib/src/message-transformer.js.map +1 -0
- package/dist/lib/src/{embedded/packet-transformer.js → packet-transformer.js} +2 -1
- package/dist/lib/src/packet-transformer.js.map +1 -0
- package/dist/lib/src/protofier.js +205 -0
- package/dist/lib/src/protofier.js.map +1 -0
- package/dist/lib/src/{embedded/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 +64 -42
- package/dist/lib/src/utils.js.map +1 -1
- package/dist/lib/src/value/boolean.js +40 -0
- package/dist/lib/src/value/boolean.js.map +1 -0
- package/dist/lib/src/value/color.js +258 -0
- package/dist/lib/src/value/color.js.map +1 -0
- package/dist/lib/src/value/index.js +147 -0
- 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 +35 -0
- package/dist/lib/src/value/null.js.map +1 -0
- package/dist/lib/src/value/number.js +579 -0
- package/dist/lib/src/value/number.js.map +1 -0
- package/dist/lib/src/value/string.js +117 -0
- package/dist/lib/src/value/string.js.map +1 -0
- package/dist/lib/src/value/utils.js +120 -0
- package/dist/lib/src/value/utils.js.map +1 -0
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.js +1738 -261
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.js.map +1 -1
- package/dist/package.json +63 -0
- package/dist/tool/utils.js +78 -90
- 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 +76 -0
- package/dist/types/legacy/exception.d.ts +54 -0
- package/dist/types/legacy/function.d.ts +652 -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 +70 -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 +408 -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/download-compiler-for-end-user.js +1 -6
- package/package.json +25 -21
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/src/compile.d.ts +0 -20
- package/dist/lib/src/embedded/compiler.d.ts +0 -19
- package/dist/lib/src/embedded/compiler.js.map +0 -1
- package/dist/lib/src/embedded/dispatcher.d.ts +0 -60
- package/dist/lib/src/embedded/dispatcher.js.map +0 -1
- package/dist/lib/src/embedded/message-transformer.d.ts +0 -47
- package/dist/lib/src/embedded/message-transformer.js.map +0 -1
- package/dist/lib/src/embedded/packet-transformer.d.ts +0 -34
- package/dist/lib/src/embedded/packet-transformer.js.map +0 -1
- package/dist/lib/src/embedded/request-tracker.d.ts +0 -20
- package/dist/lib/src/embedded/request-tracker.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 -125
- package/dist/lib/src/node-sass/render.js.map +0 -1
- package/dist/lib/src/utils.d.ts +0 -14
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.d.ts +0 -1
- package/dist/tool/utils.d.ts +0 -29
|
@@ -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);
|
|
@@ -18,7 +19,6 @@ goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CompileRequest',
|
|
|
18
19
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CompileRequest.Importer', null, global);
|
|
19
20
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CompileRequest.Importer.ImporterCase', null, global);
|
|
20
21
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CompileRequest.InputCase', null, global);
|
|
21
|
-
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CompileRequest.OutputStyle', null, global);
|
|
22
22
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput', null, global);
|
|
23
23
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.FileImportResponse', null, global);
|
|
24
24
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.FileImportResponse.ResultCase', null, global);
|
|
@@ -28,8 +28,9 @@ goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.ImportResponse',
|
|
|
28
28
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess', null, global);
|
|
29
29
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.ImportResponse.ResultCase', null, global);
|
|
30
30
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.MessageCase', null, global);
|
|
31
|
-
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.Syntax', null, global);
|
|
32
31
|
goog.exportSymbol('proto.sass.embedded_protocol.InboundMessage.VersionRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.sass.embedded_protocol.ListSeparator', null, global);
|
|
33
|
+
goog.exportSymbol('proto.sass.embedded_protocol.LogEventType', null, global);
|
|
33
34
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage', null, global);
|
|
34
35
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest', null, global);
|
|
35
36
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.CompileResponse', null, global);
|
|
@@ -41,24 +42,30 @@ goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequ
|
|
|
41
42
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest.IdentifierCase', null, global);
|
|
42
43
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.ImportRequest', null, global);
|
|
43
44
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.LogEvent', null, global);
|
|
44
|
-
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.LogEvent.Type', null, global);
|
|
45
45
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.MessageCase', null, global);
|
|
46
46
|
goog.exportSymbol('proto.sass.embedded_protocol.OutboundMessage.VersionResponse', null, global);
|
|
47
|
+
goog.exportSymbol('proto.sass.embedded_protocol.OutputStyle', null, global);
|
|
47
48
|
goog.exportSymbol('proto.sass.embedded_protocol.ProtocolError', null, global);
|
|
48
|
-
goog.exportSymbol('proto.sass.embedded_protocol.
|
|
49
|
+
goog.exportSymbol('proto.sass.embedded_protocol.ProtocolErrorType', null, global);
|
|
50
|
+
goog.exportSymbol('proto.sass.embedded_protocol.SingletonValue', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sass.embedded_protocol.SourceSpan', null, global);
|
|
50
52
|
goog.exportSymbol('proto.sass.embedded_protocol.SourceSpan.SourceLocation', null, global);
|
|
53
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Syntax', null, global);
|
|
51
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);
|
|
52
60
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.CompilerFunction', null, global);
|
|
53
61
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.HostFunction', null, global);
|
|
54
62
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.HslColor', null, global);
|
|
63
|
+
goog.exportSymbol('proto.sass.embedded_protocol.Value.HwbColor', null, global);
|
|
55
64
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.List', null, global);
|
|
56
|
-
goog.exportSymbol('proto.sass.embedded_protocol.Value.List.Separator', null, global);
|
|
57
65
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.Map', null, global);
|
|
58
66
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.Map.Entry', null, global);
|
|
59
67
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.Number', null, global);
|
|
60
68
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.RgbColor', null, global);
|
|
61
|
-
goog.exportSymbol('proto.sass.embedded_protocol.Value.Singleton', null, global);
|
|
62
69
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.String', null, global);
|
|
63
70
|
goog.exportSymbol('proto.sass.embedded_protocol.Value.ValueCase', null, global);
|
|
64
71
|
/**
|
|
@@ -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) {
|
|
@@ -345,7 +352,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
345
352
|
* @constructor
|
|
346
353
|
*/
|
|
347
354
|
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess = function (opt_data) {
|
|
348
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
355
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.repeatedFields_, null);
|
|
349
356
|
};
|
|
350
357
|
goog.inherits(proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess, jspb.Message);
|
|
351
358
|
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
|
|
@@ -768,12 +880,12 @@ proto.sass.embedded_protocol.InboundMessage.oneofGroups_ = [[2, 3, 4, 5, 6, 7]];
|
|
|
768
880
|
*/
|
|
769
881
|
proto.sass.embedded_protocol.InboundMessage.MessageCase = {
|
|
770
882
|
MESSAGE_NOT_SET: 0,
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
883
|
+
COMPILE_REQUEST: 2,
|
|
884
|
+
CANONICALIZE_RESPONSE: 3,
|
|
885
|
+
IMPORT_RESPONSE: 4,
|
|
886
|
+
FILE_IMPORT_RESPONSE: 5,
|
|
887
|
+
FUNCTION_CALL_RESPONSE: 6,
|
|
888
|
+
VERSION_REQUEST: 7
|
|
777
889
|
};
|
|
778
890
|
/**
|
|
779
891
|
* @return {proto.sass.embedded_protocol.InboundMessage.MessageCase}
|
|
@@ -808,12 +920,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
808
920
|
*/
|
|
809
921
|
proto.sass.embedded_protocol.InboundMessage.toObject = function (includeInstance, msg) {
|
|
810
922
|
var f, obj = {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
923
|
+
compileRequest: (f = msg.getCompileRequest()) && proto.sass.embedded_protocol.InboundMessage.CompileRequest.toObject(includeInstance, f),
|
|
924
|
+
canonicalizeResponse: (f = msg.getCanonicalizeResponse()) && proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse.toObject(includeInstance, f),
|
|
925
|
+
importResponse: (f = msg.getImportResponse()) && proto.sass.embedded_protocol.InboundMessage.ImportResponse.toObject(includeInstance, f),
|
|
926
|
+
fileImportResponse: (f = msg.getFileImportResponse()) && proto.sass.embedded_protocol.InboundMessage.FileImportResponse.toObject(includeInstance, f),
|
|
927
|
+
functionCallResponse: (f = msg.getFunctionCallResponse()) && proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.toObject(includeInstance, f),
|
|
928
|
+
versionRequest: (f = msg.getVersionRequest()) && proto.sass.embedded_protocol.InboundMessage.VersionRequest.toObject(includeInstance, f)
|
|
817
929
|
};
|
|
818
930
|
if (includeInstance) {
|
|
819
931
|
obj.$jspbMessageInstance = msg;
|
|
@@ -848,32 +960,32 @@ proto.sass.embedded_protocol.InboundMessage.deserializeBinaryFromReader = functi
|
|
|
848
960
|
case 2:
|
|
849
961
|
var value = new proto.sass.embedded_protocol.InboundMessage.CompileRequest;
|
|
850
962
|
reader.readMessage(value, proto.sass.embedded_protocol.InboundMessage.CompileRequest.deserializeBinaryFromReader);
|
|
851
|
-
msg.
|
|
963
|
+
msg.setCompileRequest(value);
|
|
852
964
|
break;
|
|
853
965
|
case 3:
|
|
854
966
|
var value = new proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse;
|
|
855
967
|
reader.readMessage(value, proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse.deserializeBinaryFromReader);
|
|
856
|
-
msg.
|
|
968
|
+
msg.setCanonicalizeResponse(value);
|
|
857
969
|
break;
|
|
858
970
|
case 4:
|
|
859
971
|
var value = new proto.sass.embedded_protocol.InboundMessage.ImportResponse;
|
|
860
972
|
reader.readMessage(value, proto.sass.embedded_protocol.InboundMessage.ImportResponse.deserializeBinaryFromReader);
|
|
861
|
-
msg.
|
|
973
|
+
msg.setImportResponse(value);
|
|
862
974
|
break;
|
|
863
975
|
case 5:
|
|
864
976
|
var value = new proto.sass.embedded_protocol.InboundMessage.FileImportResponse;
|
|
865
977
|
reader.readMessage(value, proto.sass.embedded_protocol.InboundMessage.FileImportResponse.deserializeBinaryFromReader);
|
|
866
|
-
msg.
|
|
978
|
+
msg.setFileImportResponse(value);
|
|
867
979
|
break;
|
|
868
980
|
case 6:
|
|
869
981
|
var value = new proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse;
|
|
870
982
|
reader.readMessage(value, proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.deserializeBinaryFromReader);
|
|
871
|
-
msg.
|
|
983
|
+
msg.setFunctionCallResponse(value);
|
|
872
984
|
break;
|
|
873
985
|
case 7:
|
|
874
986
|
var value = new proto.sass.embedded_protocol.InboundMessage.VersionRequest;
|
|
875
987
|
reader.readMessage(value, proto.sass.embedded_protocol.InboundMessage.VersionRequest.deserializeBinaryFromReader);
|
|
876
|
-
msg.
|
|
988
|
+
msg.setVersionRequest(value);
|
|
877
989
|
break;
|
|
878
990
|
default:
|
|
879
991
|
reader.skipField();
|
|
@@ -900,39 +1012,31 @@ proto.sass.embedded_protocol.InboundMessage.prototype.serializeBinary = function
|
|
|
900
1012
|
*/
|
|
901
1013
|
proto.sass.embedded_protocol.InboundMessage.serializeBinaryToWriter = function (message, writer) {
|
|
902
1014
|
var f = undefined;
|
|
903
|
-
f = message.
|
|
1015
|
+
f = message.getCompileRequest();
|
|
904
1016
|
if (f != null) {
|
|
905
1017
|
writer.writeMessage(2, f, proto.sass.embedded_protocol.InboundMessage.CompileRequest.serializeBinaryToWriter);
|
|
906
1018
|
}
|
|
907
|
-
f = message.
|
|
1019
|
+
f = message.getCanonicalizeResponse();
|
|
908
1020
|
if (f != null) {
|
|
909
1021
|
writer.writeMessage(3, f, proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse.serializeBinaryToWriter);
|
|
910
1022
|
}
|
|
911
|
-
f = message.
|
|
1023
|
+
f = message.getImportResponse();
|
|
912
1024
|
if (f != null) {
|
|
913
1025
|
writer.writeMessage(4, f, proto.sass.embedded_protocol.InboundMessage.ImportResponse.serializeBinaryToWriter);
|
|
914
1026
|
}
|
|
915
|
-
f = message.
|
|
1027
|
+
f = message.getFileImportResponse();
|
|
916
1028
|
if (f != null) {
|
|
917
1029
|
writer.writeMessage(5, f, proto.sass.embedded_protocol.InboundMessage.FileImportResponse.serializeBinaryToWriter);
|
|
918
1030
|
}
|
|
919
|
-
f = message.
|
|
1031
|
+
f = message.getFunctionCallResponse();
|
|
920
1032
|
if (f != null) {
|
|
921
1033
|
writer.writeMessage(6, f, proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.serializeBinaryToWriter);
|
|
922
1034
|
}
|
|
923
|
-
f = message.
|
|
1035
|
+
f = message.getVersionRequest();
|
|
924
1036
|
if (f != null) {
|
|
925
1037
|
writer.writeMessage(7, f, proto.sass.embedded_protocol.InboundMessage.VersionRequest.serializeBinaryToWriter);
|
|
926
1038
|
}
|
|
927
1039
|
};
|
|
928
|
-
/**
|
|
929
|
-
* @enum {number}
|
|
930
|
-
*/
|
|
931
|
-
proto.sass.embedded_protocol.InboundMessage.Syntax = {
|
|
932
|
-
SCSS: 0,
|
|
933
|
-
INDENTED: 1,
|
|
934
|
-
CSS: 2
|
|
935
|
-
};
|
|
936
1040
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
937
1041
|
/**
|
|
938
1042
|
* Creates an object representation of this proto.
|
|
@@ -959,7 +1063,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
959
1063
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
960
1064
|
*/
|
|
961
1065
|
proto.sass.embedded_protocol.InboundMessage.VersionRequest.toObject = function (includeInstance, msg) {
|
|
962
|
-
var f, obj = {
|
|
1066
|
+
var f, obj = {
|
|
1067
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1068
|
+
};
|
|
963
1069
|
if (includeInstance) {
|
|
964
1070
|
obj.$jspbMessageInstance = msg;
|
|
965
1071
|
}
|
|
@@ -990,6 +1096,10 @@ proto.sass.embedded_protocol.InboundMessage.VersionRequest.deserializeBinaryFrom
|
|
|
990
1096
|
}
|
|
991
1097
|
var field = reader.getFieldNumber();
|
|
992
1098
|
switch (field) {
|
|
1099
|
+
case 1:
|
|
1100
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
1101
|
+
msg.setId(value);
|
|
1102
|
+
break;
|
|
993
1103
|
default:
|
|
994
1104
|
reader.skipField();
|
|
995
1105
|
break;
|
|
@@ -1015,6 +1125,24 @@ proto.sass.embedded_protocol.InboundMessage.VersionRequest.prototype.serializeBi
|
|
|
1015
1125
|
*/
|
|
1016
1126
|
proto.sass.embedded_protocol.InboundMessage.VersionRequest.serializeBinaryToWriter = function (message, writer) {
|
|
1017
1127
|
var f = undefined;
|
|
1128
|
+
f = message.getId();
|
|
1129
|
+
if (f !== 0) {
|
|
1130
|
+
writer.writeUint32(1, f);
|
|
1131
|
+
}
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* optional uint32 id = 1;
|
|
1135
|
+
* @return {number}
|
|
1136
|
+
*/
|
|
1137
|
+
proto.sass.embedded_protocol.InboundMessage.VersionRequest.prototype.getId = function () {
|
|
1138
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1139
|
+
};
|
|
1140
|
+
/**
|
|
1141
|
+
* @param {number} value
|
|
1142
|
+
* @return {!proto.sass.embedded_protocol.InboundMessage.VersionRequest} returns this
|
|
1143
|
+
*/
|
|
1144
|
+
proto.sass.embedded_protocol.InboundMessage.VersionRequest.prototype.setId = function (value) {
|
|
1145
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1018
1146
|
};
|
|
1019
1147
|
/**
|
|
1020
1148
|
* List of repeated fields within this message type.
|
|
@@ -1080,7 +1208,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1080
1208
|
importersList: jspb.Message.toObjectList(msg.getImportersList(), proto.sass.embedded_protocol.InboundMessage.CompileRequest.Importer.toObject, includeInstance),
|
|
1081
1209
|
globalFunctionsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
1082
1210
|
alertColor: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
1083
|
-
alertAscii: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
1211
|
+
alertAscii: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
1212
|
+
verbose: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
1213
|
+
quietDeps: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
1084
1214
|
};
|
|
1085
1215
|
if (includeInstance) {
|
|
1086
1216
|
obj.$jspbMessageInstance = msg;
|
|
@@ -1126,7 +1256,7 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.deserializeBinaryFrom
|
|
|
1126
1256
|
msg.setPath(value);
|
|
1127
1257
|
break;
|
|
1128
1258
|
case 4:
|
|
1129
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
1259
|
+
var value = /** @type {!proto.sass.embedded_protocol.OutputStyle} */ (reader.readEnum());
|
|
1130
1260
|
msg.setStyle(value);
|
|
1131
1261
|
break;
|
|
1132
1262
|
case 5:
|
|
@@ -1150,6 +1280,14 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.deserializeBinaryFrom
|
|
|
1150
1280
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1151
1281
|
msg.setAlertAscii(value);
|
|
1152
1282
|
break;
|
|
1283
|
+
case 10:
|
|
1284
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1285
|
+
msg.setVerbose(value);
|
|
1286
|
+
break;
|
|
1287
|
+
case 11:
|
|
1288
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1289
|
+
msg.setQuietDeps(value);
|
|
1290
|
+
break;
|
|
1153
1291
|
default:
|
|
1154
1292
|
reader.skipField();
|
|
1155
1293
|
break;
|
|
@@ -1211,13 +1349,14 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.serializeBinaryToWrit
|
|
|
1211
1349
|
if (f) {
|
|
1212
1350
|
writer.writeBool(9, f);
|
|
1213
1351
|
}
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1352
|
+
f = message.getVerbose();
|
|
1353
|
+
if (f) {
|
|
1354
|
+
writer.writeBool(10, f);
|
|
1355
|
+
}
|
|
1356
|
+
f = message.getQuietDeps();
|
|
1357
|
+
if (f) {
|
|
1358
|
+
writer.writeBool(11, f);
|
|
1359
|
+
}
|
|
1221
1360
|
};
|
|
1222
1361
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1223
1362
|
/**
|
|
@@ -1290,7 +1429,7 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput.deseriali
|
|
|
1290
1429
|
msg.setUrl(value);
|
|
1291
1430
|
break;
|
|
1292
1431
|
case 3:
|
|
1293
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
1432
|
+
var value = /** @type {!proto.sass.embedded_protocol.Syntax} */ (reader.readEnum());
|
|
1294
1433
|
msg.setSyntax(value);
|
|
1295
1434
|
break;
|
|
1296
1435
|
case 4:
|
|
@@ -1370,13 +1509,13 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput.prototype
|
|
|
1370
1509
|
};
|
|
1371
1510
|
/**
|
|
1372
1511
|
* optional Syntax syntax = 3;
|
|
1373
|
-
* @return {!proto.sass.embedded_protocol.
|
|
1512
|
+
* @return {!proto.sass.embedded_protocol.Syntax}
|
|
1374
1513
|
*/
|
|
1375
1514
|
proto.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput.prototype.getSyntax = function () {
|
|
1376
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
1515
|
+
return /** @type {!proto.sass.embedded_protocol.Syntax} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1377
1516
|
};
|
|
1378
1517
|
/**
|
|
1379
|
-
* @param {!proto.sass.embedded_protocol.
|
|
1518
|
+
* @param {!proto.sass.embedded_protocol.Syntax} value
|
|
1380
1519
|
* @return {!proto.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput} returns this
|
|
1381
1520
|
*/
|
|
1382
1521
|
proto.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput.prototype.setSyntax = function (value) {
|
|
@@ -1701,13 +1840,13 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.hasPath = f
|
|
|
1701
1840
|
};
|
|
1702
1841
|
/**
|
|
1703
1842
|
* optional OutputStyle style = 4;
|
|
1704
|
-
* @return {!proto.sass.embedded_protocol.
|
|
1843
|
+
* @return {!proto.sass.embedded_protocol.OutputStyle}
|
|
1705
1844
|
*/
|
|
1706
1845
|
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.getStyle = function () {
|
|
1707
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
1846
|
+
return /** @type {!proto.sass.embedded_protocol.OutputStyle} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1708
1847
|
};
|
|
1709
1848
|
/**
|
|
1710
|
-
* @param {!proto.sass.embedded_protocol.
|
|
1849
|
+
* @param {!proto.sass.embedded_protocol.OutputStyle} value
|
|
1711
1850
|
* @return {!proto.sass.embedded_protocol.InboundMessage.CompileRequest} returns this
|
|
1712
1851
|
*/
|
|
1713
1852
|
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.setStyle = function (value) {
|
|
@@ -1813,6 +1952,34 @@ proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.getAlertAsc
|
|
|
1813
1952
|
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.setAlertAscii = function (value) {
|
|
1814
1953
|
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
1815
1954
|
};
|
|
1955
|
+
/**
|
|
1956
|
+
* optional bool verbose = 10;
|
|
1957
|
+
* @return {boolean}
|
|
1958
|
+
*/
|
|
1959
|
+
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.getVerbose = function () {
|
|
1960
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
1961
|
+
};
|
|
1962
|
+
/**
|
|
1963
|
+
* @param {boolean} value
|
|
1964
|
+
* @return {!proto.sass.embedded_protocol.InboundMessage.CompileRequest} returns this
|
|
1965
|
+
*/
|
|
1966
|
+
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.setVerbose = function (value) {
|
|
1967
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
1968
|
+
};
|
|
1969
|
+
/**
|
|
1970
|
+
* optional bool quiet_deps = 11;
|
|
1971
|
+
* @return {boolean}
|
|
1972
|
+
*/
|
|
1973
|
+
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.getQuietDeps = function () {
|
|
1974
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
1975
|
+
};
|
|
1976
|
+
/**
|
|
1977
|
+
* @param {boolean} value
|
|
1978
|
+
* @return {!proto.sass.embedded_protocol.InboundMessage.CompileRequest} returns this
|
|
1979
|
+
*/
|
|
1980
|
+
proto.sass.embedded_protocol.InboundMessage.CompileRequest.prototype.setQuietDeps = function (value) {
|
|
1981
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
1982
|
+
};
|
|
1816
1983
|
/**
|
|
1817
1984
|
* Oneof group definitions for this message. Each group defines the field
|
|
1818
1985
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -2181,7 +2348,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2181
2348
|
var f, obj = {
|
|
2182
2349
|
contents: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2183
2350
|
syntax: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2184
|
-
|
|
2351
|
+
sourceMapUrl: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2185
2352
|
};
|
|
2186
2353
|
if (includeInstance) {
|
|
2187
2354
|
obj.$jspbMessageInstance = msg;
|
|
@@ -2218,12 +2385,12 @@ proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.deseria
|
|
|
2218
2385
|
msg.setContents(value);
|
|
2219
2386
|
break;
|
|
2220
2387
|
case 2:
|
|
2221
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
2388
|
+
var value = /** @type {!proto.sass.embedded_protocol.Syntax} */ (reader.readEnum());
|
|
2222
2389
|
msg.setSyntax(value);
|
|
2223
2390
|
break;
|
|
2224
2391
|
case 3:
|
|
2225
2392
|
var value = /** @type {string} */ (reader.readString());
|
|
2226
|
-
msg.
|
|
2393
|
+
msg.setSourceMapUrl(value);
|
|
2227
2394
|
break;
|
|
2228
2395
|
default:
|
|
2229
2396
|
reader.skipField();
|
|
@@ -2258,7 +2425,7 @@ proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.seriali
|
|
|
2258
2425
|
if (f !== 0.0) {
|
|
2259
2426
|
writer.writeEnum(2, f);
|
|
2260
2427
|
}
|
|
2261
|
-
f = message.
|
|
2428
|
+
f = message.getSourceMapUrl();
|
|
2262
2429
|
if (f.length > 0) {
|
|
2263
2430
|
writer.writeString(3, f);
|
|
2264
2431
|
}
|
|
@@ -2279,30 +2446,30 @@ proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototy
|
|
|
2279
2446
|
};
|
|
2280
2447
|
/**
|
|
2281
2448
|
* optional Syntax syntax = 2;
|
|
2282
|
-
* @return {!proto.sass.embedded_protocol.
|
|
2449
|
+
* @return {!proto.sass.embedded_protocol.Syntax}
|
|
2283
2450
|
*/
|
|
2284
2451
|
proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototype.getSyntax = function () {
|
|
2285
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
2452
|
+
return /** @type {!proto.sass.embedded_protocol.Syntax} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2286
2453
|
};
|
|
2287
2454
|
/**
|
|
2288
|
-
* @param {!proto.sass.embedded_protocol.
|
|
2455
|
+
* @param {!proto.sass.embedded_protocol.Syntax} value
|
|
2289
2456
|
* @return {!proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess} returns this
|
|
2290
2457
|
*/
|
|
2291
2458
|
proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototype.setSyntax = function (value) {
|
|
2292
2459
|
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2293
2460
|
};
|
|
2294
2461
|
/**
|
|
2295
|
-
* optional string
|
|
2462
|
+
* optional string source_map_url = 3;
|
|
2296
2463
|
* @return {string}
|
|
2297
2464
|
*/
|
|
2298
|
-
proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototype.
|
|
2465
|
+
proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototype.getSourceMapUrl = function () {
|
|
2299
2466
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2300
2467
|
};
|
|
2301
2468
|
/**
|
|
2302
2469
|
* @param {string} value
|
|
2303
2470
|
* @return {!proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess} returns this
|
|
2304
2471
|
*/
|
|
2305
|
-
proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototype.
|
|
2472
|
+
proto.sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess.prototype.setSourceMapUrl = function (value) {
|
|
2306
2473
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2307
2474
|
};
|
|
2308
2475
|
/**
|
|
@@ -2579,6 +2746,12 @@ proto.sass.embedded_protocol.InboundMessage.FileImportResponse.prototype.clearEr
|
|
|
2579
2746
|
proto.sass.embedded_protocol.InboundMessage.FileImportResponse.prototype.hasError = function () {
|
|
2580
2747
|
return jspb.Message.getField(this, 3) != null;
|
|
2581
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];
|
|
2582
2755
|
/**
|
|
2583
2756
|
* Oneof group definitions for this message. Each group defines the field
|
|
2584
2757
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -2631,7 +2804,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2631
2804
|
var f, obj = {
|
|
2632
2805
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2633
2806
|
success: (f = msg.getSuccess()) && proto.sass.embedded_protocol.Value.toObject(includeInstance, f),
|
|
2634
|
-
error: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2807
|
+
error: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2808
|
+
accessedArgumentListsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
2635
2809
|
};
|
|
2636
2810
|
if (includeInstance) {
|
|
2637
2811
|
obj.$jspbMessageInstance = msg;
|
|
@@ -2676,6 +2850,10 @@ proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.deserializeBina
|
|
|
2676
2850
|
var value = /** @type {string} */ (reader.readString());
|
|
2677
2851
|
msg.setError(value);
|
|
2678
2852
|
break;
|
|
2853
|
+
case 4:
|
|
2854
|
+
var value = /** @type {!Array<number>} */ (reader.readPackedUint32());
|
|
2855
|
+
msg.setAccessedArgumentListsList(value);
|
|
2856
|
+
break;
|
|
2679
2857
|
default:
|
|
2680
2858
|
reader.skipField();
|
|
2681
2859
|
break;
|
|
@@ -2713,6 +2891,10 @@ proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.serializeBinary
|
|
|
2713
2891
|
if (f != null) {
|
|
2714
2892
|
writer.writeString(3, f);
|
|
2715
2893
|
}
|
|
2894
|
+
f = message.getAccessedArgumentListsList();
|
|
2895
|
+
if (f.length > 0) {
|
|
2896
|
+
writer.writePackedUint32(4, f);
|
|
2897
|
+
}
|
|
2716
2898
|
};
|
|
2717
2899
|
/**
|
|
2718
2900
|
* optional uint32 id = 1;
|
|
@@ -2785,171 +2967,200 @@ proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse.prototype.hasEr
|
|
|
2785
2967
|
return jspb.Message.getField(this, 3) != null;
|
|
2786
2968
|
};
|
|
2787
2969
|
/**
|
|
2788
|
-
*
|
|
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
|
+
};
|
|
2998
|
+
/**
|
|
2999
|
+
* optional CompileRequest compile_request = 2;
|
|
2789
3000
|
* @return {?proto.sass.embedded_protocol.InboundMessage.CompileRequest}
|
|
2790
3001
|
*/
|
|
2791
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3002
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.getCompileRequest = function () {
|
|
2792
3003
|
return /** @type{?proto.sass.embedded_protocol.InboundMessage.CompileRequest} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.InboundMessage.CompileRequest, 2));
|
|
2793
3004
|
};
|
|
2794
3005
|
/**
|
|
2795
3006
|
* @param {?proto.sass.embedded_protocol.InboundMessage.CompileRequest|undefined} value
|
|
2796
3007
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2797
3008
|
*/
|
|
2798
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3009
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.setCompileRequest = function (value) {
|
|
2799
3010
|
return jspb.Message.setOneofWrapperField(this, 2, proto.sass.embedded_protocol.InboundMessage.oneofGroups_[0], value);
|
|
2800
3011
|
};
|
|
2801
3012
|
/**
|
|
2802
3013
|
* Clears the message field making it undefined.
|
|
2803
3014
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2804
3015
|
*/
|
|
2805
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
2806
|
-
return this.
|
|
3016
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.clearCompileRequest = function () {
|
|
3017
|
+
return this.setCompileRequest(undefined);
|
|
2807
3018
|
};
|
|
2808
3019
|
/**
|
|
2809
3020
|
* Returns whether this field is set.
|
|
2810
3021
|
* @return {boolean}
|
|
2811
3022
|
*/
|
|
2812
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3023
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.hasCompileRequest = function () {
|
|
2813
3024
|
return jspb.Message.getField(this, 2) != null;
|
|
2814
3025
|
};
|
|
2815
3026
|
/**
|
|
2816
|
-
* optional CanonicalizeResponse
|
|
3027
|
+
* optional CanonicalizeResponse canonicalize_response = 3;
|
|
2817
3028
|
* @return {?proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse}
|
|
2818
3029
|
*/
|
|
2819
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3030
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.getCanonicalizeResponse = function () {
|
|
2820
3031
|
return /** @type{?proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse, 3));
|
|
2821
3032
|
};
|
|
2822
3033
|
/**
|
|
2823
3034
|
* @param {?proto.sass.embedded_protocol.InboundMessage.CanonicalizeResponse|undefined} value
|
|
2824
3035
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2825
3036
|
*/
|
|
2826
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3037
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.setCanonicalizeResponse = function (value) {
|
|
2827
3038
|
return jspb.Message.setOneofWrapperField(this, 3, proto.sass.embedded_protocol.InboundMessage.oneofGroups_[0], value);
|
|
2828
3039
|
};
|
|
2829
3040
|
/**
|
|
2830
3041
|
* Clears the message field making it undefined.
|
|
2831
3042
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2832
3043
|
*/
|
|
2833
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
2834
|
-
return this.
|
|
3044
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.clearCanonicalizeResponse = function () {
|
|
3045
|
+
return this.setCanonicalizeResponse(undefined);
|
|
2835
3046
|
};
|
|
2836
3047
|
/**
|
|
2837
3048
|
* Returns whether this field is set.
|
|
2838
3049
|
* @return {boolean}
|
|
2839
3050
|
*/
|
|
2840
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3051
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.hasCanonicalizeResponse = function () {
|
|
2841
3052
|
return jspb.Message.getField(this, 3) != null;
|
|
2842
3053
|
};
|
|
2843
3054
|
/**
|
|
2844
|
-
* optional ImportResponse
|
|
3055
|
+
* optional ImportResponse import_response = 4;
|
|
2845
3056
|
* @return {?proto.sass.embedded_protocol.InboundMessage.ImportResponse}
|
|
2846
3057
|
*/
|
|
2847
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3058
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.getImportResponse = function () {
|
|
2848
3059
|
return /** @type{?proto.sass.embedded_protocol.InboundMessage.ImportResponse} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.InboundMessage.ImportResponse, 4));
|
|
2849
3060
|
};
|
|
2850
3061
|
/**
|
|
2851
3062
|
* @param {?proto.sass.embedded_protocol.InboundMessage.ImportResponse|undefined} value
|
|
2852
3063
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2853
3064
|
*/
|
|
2854
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3065
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.setImportResponse = function (value) {
|
|
2855
3066
|
return jspb.Message.setOneofWrapperField(this, 4, proto.sass.embedded_protocol.InboundMessage.oneofGroups_[0], value);
|
|
2856
3067
|
};
|
|
2857
3068
|
/**
|
|
2858
3069
|
* Clears the message field making it undefined.
|
|
2859
3070
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2860
3071
|
*/
|
|
2861
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
2862
|
-
return this.
|
|
3072
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.clearImportResponse = function () {
|
|
3073
|
+
return this.setImportResponse(undefined);
|
|
2863
3074
|
};
|
|
2864
3075
|
/**
|
|
2865
3076
|
* Returns whether this field is set.
|
|
2866
3077
|
* @return {boolean}
|
|
2867
3078
|
*/
|
|
2868
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3079
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.hasImportResponse = function () {
|
|
2869
3080
|
return jspb.Message.getField(this, 4) != null;
|
|
2870
3081
|
};
|
|
2871
3082
|
/**
|
|
2872
|
-
* optional FileImportResponse
|
|
3083
|
+
* optional FileImportResponse file_import_response = 5;
|
|
2873
3084
|
* @return {?proto.sass.embedded_protocol.InboundMessage.FileImportResponse}
|
|
2874
3085
|
*/
|
|
2875
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3086
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.getFileImportResponse = function () {
|
|
2876
3087
|
return /** @type{?proto.sass.embedded_protocol.InboundMessage.FileImportResponse} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.InboundMessage.FileImportResponse, 5));
|
|
2877
3088
|
};
|
|
2878
3089
|
/**
|
|
2879
3090
|
* @param {?proto.sass.embedded_protocol.InboundMessage.FileImportResponse|undefined} value
|
|
2880
3091
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2881
3092
|
*/
|
|
2882
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3093
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.setFileImportResponse = function (value) {
|
|
2883
3094
|
return jspb.Message.setOneofWrapperField(this, 5, proto.sass.embedded_protocol.InboundMessage.oneofGroups_[0], value);
|
|
2884
3095
|
};
|
|
2885
3096
|
/**
|
|
2886
3097
|
* Clears the message field making it undefined.
|
|
2887
3098
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2888
3099
|
*/
|
|
2889
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
2890
|
-
return this.
|
|
3100
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.clearFileImportResponse = function () {
|
|
3101
|
+
return this.setFileImportResponse(undefined);
|
|
2891
3102
|
};
|
|
2892
3103
|
/**
|
|
2893
3104
|
* Returns whether this field is set.
|
|
2894
3105
|
* @return {boolean}
|
|
2895
3106
|
*/
|
|
2896
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3107
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.hasFileImportResponse = function () {
|
|
2897
3108
|
return jspb.Message.getField(this, 5) != null;
|
|
2898
3109
|
};
|
|
2899
3110
|
/**
|
|
2900
|
-
* optional FunctionCallResponse
|
|
3111
|
+
* optional FunctionCallResponse function_call_response = 6;
|
|
2901
3112
|
* @return {?proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse}
|
|
2902
3113
|
*/
|
|
2903
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3114
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.getFunctionCallResponse = function () {
|
|
2904
3115
|
return /** @type{?proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse, 6));
|
|
2905
3116
|
};
|
|
2906
3117
|
/**
|
|
2907
3118
|
* @param {?proto.sass.embedded_protocol.InboundMessage.FunctionCallResponse|undefined} value
|
|
2908
3119
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2909
3120
|
*/
|
|
2910
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3121
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.setFunctionCallResponse = function (value) {
|
|
2911
3122
|
return jspb.Message.setOneofWrapperField(this, 6, proto.sass.embedded_protocol.InboundMessage.oneofGroups_[0], value);
|
|
2912
3123
|
};
|
|
2913
3124
|
/**
|
|
2914
3125
|
* Clears the message field making it undefined.
|
|
2915
3126
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2916
3127
|
*/
|
|
2917
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
2918
|
-
return this.
|
|
3128
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.clearFunctionCallResponse = function () {
|
|
3129
|
+
return this.setFunctionCallResponse(undefined);
|
|
2919
3130
|
};
|
|
2920
3131
|
/**
|
|
2921
3132
|
* Returns whether this field is set.
|
|
2922
3133
|
* @return {boolean}
|
|
2923
3134
|
*/
|
|
2924
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3135
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.hasFunctionCallResponse = function () {
|
|
2925
3136
|
return jspb.Message.getField(this, 6) != null;
|
|
2926
3137
|
};
|
|
2927
3138
|
/**
|
|
2928
|
-
* optional VersionRequest
|
|
3139
|
+
* optional VersionRequest version_request = 7;
|
|
2929
3140
|
* @return {?proto.sass.embedded_protocol.InboundMessage.VersionRequest}
|
|
2930
3141
|
*/
|
|
2931
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3142
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.getVersionRequest = function () {
|
|
2932
3143
|
return /** @type{?proto.sass.embedded_protocol.InboundMessage.VersionRequest} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.InboundMessage.VersionRequest, 7));
|
|
2933
3144
|
};
|
|
2934
3145
|
/**
|
|
2935
3146
|
* @param {?proto.sass.embedded_protocol.InboundMessage.VersionRequest|undefined} value
|
|
2936
3147
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2937
3148
|
*/
|
|
2938
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3149
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.setVersionRequest = function (value) {
|
|
2939
3150
|
return jspb.Message.setOneofWrapperField(this, 7, proto.sass.embedded_protocol.InboundMessage.oneofGroups_[0], value);
|
|
2940
3151
|
};
|
|
2941
3152
|
/**
|
|
2942
3153
|
* Clears the message field making it undefined.
|
|
2943
3154
|
* @return {!proto.sass.embedded_protocol.InboundMessage} returns this
|
|
2944
3155
|
*/
|
|
2945
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
2946
|
-
return this.
|
|
3156
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.clearVersionRequest = function () {
|
|
3157
|
+
return this.setVersionRequest(undefined);
|
|
2947
3158
|
};
|
|
2948
3159
|
/**
|
|
2949
3160
|
* Returns whether this field is set.
|
|
2950
3161
|
* @return {boolean}
|
|
2951
3162
|
*/
|
|
2952
|
-
proto.sass.embedded_protocol.InboundMessage.prototype.
|
|
3163
|
+
proto.sass.embedded_protocol.InboundMessage.prototype.hasVersionRequest = function () {
|
|
2953
3164
|
return jspb.Message.getField(this, 7) != null;
|
|
2954
3165
|
};
|
|
2955
3166
|
/**
|
|
@@ -2967,13 +3178,13 @@ proto.sass.embedded_protocol.OutboundMessage.oneofGroups_ = [[1, 2, 3, 4, 5, 6,
|
|
|
2967
3178
|
proto.sass.embedded_protocol.OutboundMessage.MessageCase = {
|
|
2968
3179
|
MESSAGE_NOT_SET: 0,
|
|
2969
3180
|
ERROR: 1,
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
3181
|
+
COMPILE_RESPONSE: 2,
|
|
3182
|
+
LOG_EVENT: 3,
|
|
3183
|
+
CANONICALIZE_REQUEST: 4,
|
|
3184
|
+
IMPORT_REQUEST: 5,
|
|
3185
|
+
FILE_IMPORT_REQUEST: 6,
|
|
3186
|
+
FUNCTION_CALL_REQUEST: 7,
|
|
3187
|
+
VERSION_RESPONSE: 8
|
|
2977
3188
|
};
|
|
2978
3189
|
/**
|
|
2979
3190
|
* @return {proto.sass.embedded_protocol.OutboundMessage.MessageCase}
|
|
@@ -3009,13 +3220,13 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3009
3220
|
proto.sass.embedded_protocol.OutboundMessage.toObject = function (includeInstance, msg) {
|
|
3010
3221
|
var f, obj = {
|
|
3011
3222
|
error: (f = msg.getError()) && proto.sass.embedded_protocol.ProtocolError.toObject(includeInstance, f),
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3223
|
+
compileResponse: (f = msg.getCompileResponse()) && proto.sass.embedded_protocol.OutboundMessage.CompileResponse.toObject(includeInstance, f),
|
|
3224
|
+
logEvent: (f = msg.getLogEvent()) && proto.sass.embedded_protocol.OutboundMessage.LogEvent.toObject(includeInstance, f),
|
|
3225
|
+
canonicalizeRequest: (f = msg.getCanonicalizeRequest()) && proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.toObject(includeInstance, f),
|
|
3226
|
+
importRequest: (f = msg.getImportRequest()) && proto.sass.embedded_protocol.OutboundMessage.ImportRequest.toObject(includeInstance, f),
|
|
3227
|
+
fileImportRequest: (f = msg.getFileImportRequest()) && proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.toObject(includeInstance, f),
|
|
3228
|
+
functionCallRequest: (f = msg.getFunctionCallRequest()) && proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest.toObject(includeInstance, f),
|
|
3229
|
+
versionResponse: (f = msg.getVersionResponse()) && proto.sass.embedded_protocol.OutboundMessage.VersionResponse.toObject(includeInstance, f)
|
|
3019
3230
|
};
|
|
3020
3231
|
if (includeInstance) {
|
|
3021
3232
|
obj.$jspbMessageInstance = msg;
|
|
@@ -3055,37 +3266,37 @@ proto.sass.embedded_protocol.OutboundMessage.deserializeBinaryFromReader = funct
|
|
|
3055
3266
|
case 2:
|
|
3056
3267
|
var value = new proto.sass.embedded_protocol.OutboundMessage.CompileResponse;
|
|
3057
3268
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.CompileResponse.deserializeBinaryFromReader);
|
|
3058
|
-
msg.
|
|
3269
|
+
msg.setCompileResponse(value);
|
|
3059
3270
|
break;
|
|
3060
3271
|
case 3:
|
|
3061
3272
|
var value = new proto.sass.embedded_protocol.OutboundMessage.LogEvent;
|
|
3062
3273
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.LogEvent.deserializeBinaryFromReader);
|
|
3063
|
-
msg.
|
|
3274
|
+
msg.setLogEvent(value);
|
|
3064
3275
|
break;
|
|
3065
3276
|
case 4:
|
|
3066
3277
|
var value = new proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest;
|
|
3067
3278
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.deserializeBinaryFromReader);
|
|
3068
|
-
msg.
|
|
3279
|
+
msg.setCanonicalizeRequest(value);
|
|
3069
3280
|
break;
|
|
3070
3281
|
case 5:
|
|
3071
3282
|
var value = new proto.sass.embedded_protocol.OutboundMessage.ImportRequest;
|
|
3072
3283
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.ImportRequest.deserializeBinaryFromReader);
|
|
3073
|
-
msg.
|
|
3284
|
+
msg.setImportRequest(value);
|
|
3074
3285
|
break;
|
|
3075
3286
|
case 6:
|
|
3076
3287
|
var value = new proto.sass.embedded_protocol.OutboundMessage.FileImportRequest;
|
|
3077
3288
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.deserializeBinaryFromReader);
|
|
3078
|
-
msg.
|
|
3289
|
+
msg.setFileImportRequest(value);
|
|
3079
3290
|
break;
|
|
3080
3291
|
case 7:
|
|
3081
3292
|
var value = new proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest;
|
|
3082
3293
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest.deserializeBinaryFromReader);
|
|
3083
|
-
msg.
|
|
3294
|
+
msg.setFunctionCallRequest(value);
|
|
3084
3295
|
break;
|
|
3085
3296
|
case 8:
|
|
3086
3297
|
var value = new proto.sass.embedded_protocol.OutboundMessage.VersionResponse;
|
|
3087
3298
|
reader.readMessage(value, proto.sass.embedded_protocol.OutboundMessage.VersionResponse.deserializeBinaryFromReader);
|
|
3088
|
-
msg.
|
|
3299
|
+
msg.setVersionResponse(value);
|
|
3089
3300
|
break;
|
|
3090
3301
|
default:
|
|
3091
3302
|
reader.skipField();
|
|
@@ -3116,31 +3327,31 @@ proto.sass.embedded_protocol.OutboundMessage.serializeBinaryToWriter = function
|
|
|
3116
3327
|
if (f != null) {
|
|
3117
3328
|
writer.writeMessage(1, f, proto.sass.embedded_protocol.ProtocolError.serializeBinaryToWriter);
|
|
3118
3329
|
}
|
|
3119
|
-
f = message.
|
|
3330
|
+
f = message.getCompileResponse();
|
|
3120
3331
|
if (f != null) {
|
|
3121
3332
|
writer.writeMessage(2, f, proto.sass.embedded_protocol.OutboundMessage.CompileResponse.serializeBinaryToWriter);
|
|
3122
3333
|
}
|
|
3123
|
-
f = message.
|
|
3334
|
+
f = message.getLogEvent();
|
|
3124
3335
|
if (f != null) {
|
|
3125
3336
|
writer.writeMessage(3, f, proto.sass.embedded_protocol.OutboundMessage.LogEvent.serializeBinaryToWriter);
|
|
3126
3337
|
}
|
|
3127
|
-
f = message.
|
|
3338
|
+
f = message.getCanonicalizeRequest();
|
|
3128
3339
|
if (f != null) {
|
|
3129
3340
|
writer.writeMessage(4, f, proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.serializeBinaryToWriter);
|
|
3130
3341
|
}
|
|
3131
|
-
f = message.
|
|
3342
|
+
f = message.getImportRequest();
|
|
3132
3343
|
if (f != null) {
|
|
3133
3344
|
writer.writeMessage(5, f, proto.sass.embedded_protocol.OutboundMessage.ImportRequest.serializeBinaryToWriter);
|
|
3134
3345
|
}
|
|
3135
|
-
f = message.
|
|
3346
|
+
f = message.getFileImportRequest();
|
|
3136
3347
|
if (f != null) {
|
|
3137
3348
|
writer.writeMessage(6, f, proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.serializeBinaryToWriter);
|
|
3138
3349
|
}
|
|
3139
|
-
f = message.
|
|
3350
|
+
f = message.getFunctionCallRequest();
|
|
3140
3351
|
if (f != null) {
|
|
3141
3352
|
writer.writeMessage(7, f, proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest.serializeBinaryToWriter);
|
|
3142
3353
|
}
|
|
3143
|
-
f = message.
|
|
3354
|
+
f = message.getVersionResponse();
|
|
3144
3355
|
if (f != null) {
|
|
3145
3356
|
writer.writeMessage(8, f, proto.sass.embedded_protocol.OutboundMessage.VersionResponse.serializeBinaryToWriter);
|
|
3146
3357
|
}
|
|
@@ -3172,6 +3383,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3172
3383
|
*/
|
|
3173
3384
|
proto.sass.embedded_protocol.OutboundMessage.VersionResponse.toObject = function (includeInstance, msg) {
|
|
3174
3385
|
var f, obj = {
|
|
3386
|
+
id: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
3175
3387
|
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3176
3388
|
compilerVersion: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3177
3389
|
implementationVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
@@ -3207,6 +3419,10 @@ proto.sass.embedded_protocol.OutboundMessage.VersionResponse.deserializeBinaryFr
|
|
|
3207
3419
|
}
|
|
3208
3420
|
var field = reader.getFieldNumber();
|
|
3209
3421
|
switch (field) {
|
|
3422
|
+
case 5:
|
|
3423
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
3424
|
+
msg.setId(value);
|
|
3425
|
+
break;
|
|
3210
3426
|
case 1:
|
|
3211
3427
|
var value = /** @type {string} */ (reader.readString());
|
|
3212
3428
|
msg.setProtocolVersion(value);
|
|
@@ -3248,6 +3464,10 @@ proto.sass.embedded_protocol.OutboundMessage.VersionResponse.prototype.serialize
|
|
|
3248
3464
|
*/
|
|
3249
3465
|
proto.sass.embedded_protocol.OutboundMessage.VersionResponse.serializeBinaryToWriter = function (message, writer) {
|
|
3250
3466
|
var f = undefined;
|
|
3467
|
+
f = message.getId();
|
|
3468
|
+
if (f !== 0) {
|
|
3469
|
+
writer.writeUint32(5, f);
|
|
3470
|
+
}
|
|
3251
3471
|
f = message.getProtocolVersion();
|
|
3252
3472
|
if (f.length > 0) {
|
|
3253
3473
|
writer.writeString(1, f);
|
|
@@ -3265,6 +3485,20 @@ proto.sass.embedded_protocol.OutboundMessage.VersionResponse.serializeBinaryToWr
|
|
|
3265
3485
|
writer.writeString(4, f);
|
|
3266
3486
|
}
|
|
3267
3487
|
};
|
|
3488
|
+
/**
|
|
3489
|
+
* optional uint32 id = 5;
|
|
3490
|
+
* @return {number}
|
|
3491
|
+
*/
|
|
3492
|
+
proto.sass.embedded_protocol.OutboundMessage.VersionResponse.prototype.getId = function () {
|
|
3493
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
3494
|
+
};
|
|
3495
|
+
/**
|
|
3496
|
+
* @param {number} value
|
|
3497
|
+
* @return {!proto.sass.embedded_protocol.OutboundMessage.VersionResponse} returns this
|
|
3498
|
+
*/
|
|
3499
|
+
proto.sass.embedded_protocol.OutboundMessage.VersionResponse.prototype.setId = function (value) {
|
|
3500
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
3501
|
+
};
|
|
3268
3502
|
/**
|
|
3269
3503
|
* optional string protocol_version = 1;
|
|
3270
3504
|
* @return {string}
|
|
@@ -3457,6 +3691,12 @@ proto.sass.embedded_protocol.OutboundMessage.CompileResponse.serializeBinaryToWr
|
|
|
3457
3691
|
writer.writeMessage(3, f, proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileFailure.serializeBinaryToWriter);
|
|
3458
3692
|
}
|
|
3459
3693
|
};
|
|
3694
|
+
/**
|
|
3695
|
+
* List of repeated fields within this message type.
|
|
3696
|
+
* @private {!Array<number>}
|
|
3697
|
+
* @const
|
|
3698
|
+
*/
|
|
3699
|
+
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.repeatedFields_ = [3];
|
|
3460
3700
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3461
3701
|
/**
|
|
3462
3702
|
* Creates an object representation of this proto.
|
|
@@ -3485,7 +3725,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3485
3725
|
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.toObject = function (includeInstance, msg) {
|
|
3486
3726
|
var f, obj = {
|
|
3487
3727
|
css: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3488
|
-
sourceMap: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3728
|
+
sourceMap: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3729
|
+
loadedUrlsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
3489
3730
|
};
|
|
3490
3731
|
if (includeInstance) {
|
|
3491
3732
|
obj.$jspbMessageInstance = msg;
|
|
@@ -3525,6 +3766,10 @@ proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.dese
|
|
|
3525
3766
|
var value = /** @type {string} */ (reader.readString());
|
|
3526
3767
|
msg.setSourceMap(value);
|
|
3527
3768
|
break;
|
|
3769
|
+
case 3:
|
|
3770
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3771
|
+
msg.addLoadedUrls(value);
|
|
3772
|
+
break;
|
|
3528
3773
|
default:
|
|
3529
3774
|
reader.skipField();
|
|
3530
3775
|
break;
|
|
@@ -3558,6 +3803,10 @@ proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.seri
|
|
|
3558
3803
|
if (f.length > 0) {
|
|
3559
3804
|
writer.writeString(2, f);
|
|
3560
3805
|
}
|
|
3806
|
+
f = message.getLoadedUrlsList();
|
|
3807
|
+
if (f.length > 0) {
|
|
3808
|
+
writer.writeRepeatedString(3, f);
|
|
3809
|
+
}
|
|
3561
3810
|
};
|
|
3562
3811
|
/**
|
|
3563
3812
|
* optional string css = 1;
|
|
@@ -3587,6 +3836,35 @@ proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.prot
|
|
|
3587
3836
|
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.prototype.setSourceMap = function (value) {
|
|
3588
3837
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3589
3838
|
};
|
|
3839
|
+
/**
|
|
3840
|
+
* repeated string loaded_urls = 3;
|
|
3841
|
+
* @return {!Array<string>}
|
|
3842
|
+
*/
|
|
3843
|
+
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.prototype.getLoadedUrlsList = function () {
|
|
3844
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
3845
|
+
};
|
|
3846
|
+
/**
|
|
3847
|
+
* @param {!Array<string>} value
|
|
3848
|
+
* @return {!proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess} returns this
|
|
3849
|
+
*/
|
|
3850
|
+
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.prototype.setLoadedUrlsList = function (value) {
|
|
3851
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
3852
|
+
};
|
|
3853
|
+
/**
|
|
3854
|
+
* @param {string} value
|
|
3855
|
+
* @param {number=} opt_index
|
|
3856
|
+
* @return {!proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess} returns this
|
|
3857
|
+
*/
|
|
3858
|
+
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.prototype.addLoadedUrls = function (value, opt_index) {
|
|
3859
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
3860
|
+
};
|
|
3861
|
+
/**
|
|
3862
|
+
* Clears the list making it empty but non-null.
|
|
3863
|
+
* @return {!proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess} returns this
|
|
3864
|
+
*/
|
|
3865
|
+
proto.sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess.prototype.clearLoadedUrlsList = function () {
|
|
3866
|
+
return this.setLoadedUrlsList([]);
|
|
3867
|
+
};
|
|
3590
3868
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3591
3869
|
/**
|
|
3592
3870
|
* Creates an object representation of this proto.
|
|
@@ -3917,7 +4195,7 @@ proto.sass.embedded_protocol.OutboundMessage.LogEvent.deserializeBinaryFromReade
|
|
|
3917
4195
|
msg.setCompilationId(value);
|
|
3918
4196
|
break;
|
|
3919
4197
|
case 2:
|
|
3920
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
4198
|
+
var value = /** @type {!proto.sass.embedded_protocol.LogEventType} */ (reader.readEnum());
|
|
3921
4199
|
msg.setType(value);
|
|
3922
4200
|
break;
|
|
3923
4201
|
case 3:
|
|
@@ -3987,14 +4265,6 @@ proto.sass.embedded_protocol.OutboundMessage.LogEvent.serializeBinaryToWriter =
|
|
|
3987
4265
|
writer.writeString(6, f);
|
|
3988
4266
|
}
|
|
3989
4267
|
};
|
|
3990
|
-
/**
|
|
3991
|
-
* @enum {number}
|
|
3992
|
-
*/
|
|
3993
|
-
proto.sass.embedded_protocol.OutboundMessage.LogEvent.Type = {
|
|
3994
|
-
WARNING: 0,
|
|
3995
|
-
DEPRECATION_WARNING: 1,
|
|
3996
|
-
DEBUG: 2
|
|
3997
|
-
};
|
|
3998
4268
|
/**
|
|
3999
4269
|
* optional uint32 compilation_id = 1;
|
|
4000
4270
|
* @return {number}
|
|
@@ -4010,14 +4280,14 @@ proto.sass.embedded_protocol.OutboundMessage.LogEvent.prototype.setCompilationId
|
|
|
4010
4280
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4011
4281
|
};
|
|
4012
4282
|
/**
|
|
4013
|
-
* optional
|
|
4014
|
-
* @return {!proto.sass.embedded_protocol.
|
|
4283
|
+
* optional LogEventType type = 2;
|
|
4284
|
+
* @return {!proto.sass.embedded_protocol.LogEventType}
|
|
4015
4285
|
*/
|
|
4016
4286
|
proto.sass.embedded_protocol.OutboundMessage.LogEvent.prototype.getType = function () {
|
|
4017
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
4287
|
+
return /** @type {!proto.sass.embedded_protocol.LogEventType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4018
4288
|
};
|
|
4019
4289
|
/**
|
|
4020
|
-
* @param {!proto.sass.embedded_protocol.
|
|
4290
|
+
* @param {!proto.sass.embedded_protocol.LogEventType} value
|
|
4021
4291
|
* @return {!proto.sass.embedded_protocol.OutboundMessage.LogEvent} returns this
|
|
4022
4292
|
*/
|
|
4023
4293
|
proto.sass.embedded_protocol.OutboundMessage.LogEvent.prototype.setType = function (value) {
|
|
@@ -4123,7 +4393,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4123
4393
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4124
4394
|
compilationId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4125
4395
|
importerId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4126
|
-
url: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4396
|
+
url: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4397
|
+
fromImport: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
4127
4398
|
};
|
|
4128
4399
|
if (includeInstance) {
|
|
4129
4400
|
obj.$jspbMessageInstance = msg;
|
|
@@ -4171,6 +4442,10 @@ proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.deserializeBina
|
|
|
4171
4442
|
var value = /** @type {string} */ (reader.readString());
|
|
4172
4443
|
msg.setUrl(value);
|
|
4173
4444
|
break;
|
|
4445
|
+
case 5:
|
|
4446
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4447
|
+
msg.setFromImport(value);
|
|
4448
|
+
break;
|
|
4174
4449
|
default:
|
|
4175
4450
|
reader.skipField();
|
|
4176
4451
|
break;
|
|
@@ -4212,6 +4487,10 @@ proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.serializeBinary
|
|
|
4212
4487
|
if (f.length > 0) {
|
|
4213
4488
|
writer.writeString(4, f);
|
|
4214
4489
|
}
|
|
4490
|
+
f = message.getFromImport();
|
|
4491
|
+
if (f) {
|
|
4492
|
+
writer.writeBool(5, f);
|
|
4493
|
+
}
|
|
4215
4494
|
};
|
|
4216
4495
|
/**
|
|
4217
4496
|
* optional uint32 id = 1;
|
|
@@ -4269,6 +4548,20 @@ proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.prototype.getUr
|
|
|
4269
4548
|
proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.prototype.setUrl = function (value) {
|
|
4270
4549
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4271
4550
|
};
|
|
4551
|
+
/**
|
|
4552
|
+
* optional bool from_import = 5;
|
|
4553
|
+
* @return {boolean}
|
|
4554
|
+
*/
|
|
4555
|
+
proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.prototype.getFromImport = function () {
|
|
4556
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
4557
|
+
};
|
|
4558
|
+
/**
|
|
4559
|
+
* @param {boolean} value
|
|
4560
|
+
* @return {!proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest} returns this
|
|
4561
|
+
*/
|
|
4562
|
+
proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest.prototype.setFromImport = function (value) {
|
|
4563
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
4564
|
+
};
|
|
4272
4565
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4273
4566
|
/**
|
|
4274
4567
|
* Creates an object representation of this proto.
|
|
@@ -4475,7 +4768,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4475
4768
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4476
4769
|
compilationId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4477
4770
|
importerId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4478
|
-
url: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4771
|
+
url: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4772
|
+
fromImport: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
4479
4773
|
};
|
|
4480
4774
|
if (includeInstance) {
|
|
4481
4775
|
obj.$jspbMessageInstance = msg;
|
|
@@ -4523,7 +4817,11 @@ proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.deserializeBinary
|
|
|
4523
4817
|
var value = /** @type {string} */ (reader.readString());
|
|
4524
4818
|
msg.setUrl(value);
|
|
4525
4819
|
break;
|
|
4526
|
-
|
|
4820
|
+
case 5:
|
|
4821
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4822
|
+
msg.setFromImport(value);
|
|
4823
|
+
break;
|
|
4824
|
+
default:
|
|
4527
4825
|
reader.skipField();
|
|
4528
4826
|
break;
|
|
4529
4827
|
}
|
|
@@ -4564,6 +4862,10 @@ proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.serializeBinaryTo
|
|
|
4564
4862
|
if (f.length > 0) {
|
|
4565
4863
|
writer.writeString(4, f);
|
|
4566
4864
|
}
|
|
4865
|
+
f = message.getFromImport();
|
|
4866
|
+
if (f) {
|
|
4867
|
+
writer.writeBool(5, f);
|
|
4868
|
+
}
|
|
4567
4869
|
};
|
|
4568
4870
|
/**
|
|
4569
4871
|
* optional uint32 id = 1;
|
|
@@ -4621,6 +4923,20 @@ proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.prototype.getUrl
|
|
|
4621
4923
|
proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.prototype.setUrl = function (value) {
|
|
4622
4924
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4623
4925
|
};
|
|
4926
|
+
/**
|
|
4927
|
+
* optional bool from_import = 5;
|
|
4928
|
+
* @return {boolean}
|
|
4929
|
+
*/
|
|
4930
|
+
proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.prototype.getFromImport = function () {
|
|
4931
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
4932
|
+
};
|
|
4933
|
+
/**
|
|
4934
|
+
* @param {boolean} value
|
|
4935
|
+
* @return {!proto.sass.embedded_protocol.OutboundMessage.FileImportRequest} returns this
|
|
4936
|
+
*/
|
|
4937
|
+
proto.sass.embedded_protocol.OutboundMessage.FileImportRequest.prototype.setFromImport = function (value) {
|
|
4938
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
4939
|
+
};
|
|
4624
4940
|
/**
|
|
4625
4941
|
* List of repeated fields within this message type.
|
|
4626
4942
|
* @private {!Array<number>}
|
|
@@ -4922,199 +5238,199 @@ proto.sass.embedded_protocol.OutboundMessage.prototype.hasError = function () {
|
|
|
4922
5238
|
return jspb.Message.getField(this, 1) != null;
|
|
4923
5239
|
};
|
|
4924
5240
|
/**
|
|
4925
|
-
* optional CompileResponse
|
|
5241
|
+
* optional CompileResponse compile_response = 2;
|
|
4926
5242
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.CompileResponse}
|
|
4927
5243
|
*/
|
|
4928
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5244
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getCompileResponse = function () {
|
|
4929
5245
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.CompileResponse} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.CompileResponse, 2));
|
|
4930
5246
|
};
|
|
4931
5247
|
/**
|
|
4932
5248
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.CompileResponse|undefined} value
|
|
4933
5249
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
4934
5250
|
*/
|
|
4935
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5251
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setCompileResponse = function (value) {
|
|
4936
5252
|
return jspb.Message.setOneofWrapperField(this, 2, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
4937
5253
|
};
|
|
4938
5254
|
/**
|
|
4939
5255
|
* Clears the message field making it undefined.
|
|
4940
5256
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
4941
5257
|
*/
|
|
4942
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
4943
|
-
return this.
|
|
5258
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearCompileResponse = function () {
|
|
5259
|
+
return this.setCompileResponse(undefined);
|
|
4944
5260
|
};
|
|
4945
5261
|
/**
|
|
4946
5262
|
* Returns whether this field is set.
|
|
4947
5263
|
* @return {boolean}
|
|
4948
5264
|
*/
|
|
4949
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5265
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasCompileResponse = function () {
|
|
4950
5266
|
return jspb.Message.getField(this, 2) != null;
|
|
4951
5267
|
};
|
|
4952
5268
|
/**
|
|
4953
|
-
* optional LogEvent
|
|
5269
|
+
* optional LogEvent log_event = 3;
|
|
4954
5270
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.LogEvent}
|
|
4955
5271
|
*/
|
|
4956
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5272
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getLogEvent = function () {
|
|
4957
5273
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.LogEvent} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.LogEvent, 3));
|
|
4958
5274
|
};
|
|
4959
5275
|
/**
|
|
4960
5276
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.LogEvent|undefined} value
|
|
4961
5277
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
4962
5278
|
*/
|
|
4963
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5279
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setLogEvent = function (value) {
|
|
4964
5280
|
return jspb.Message.setOneofWrapperField(this, 3, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
4965
5281
|
};
|
|
4966
5282
|
/**
|
|
4967
5283
|
* Clears the message field making it undefined.
|
|
4968
5284
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
4969
5285
|
*/
|
|
4970
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
4971
|
-
return this.
|
|
5286
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearLogEvent = function () {
|
|
5287
|
+
return this.setLogEvent(undefined);
|
|
4972
5288
|
};
|
|
4973
5289
|
/**
|
|
4974
5290
|
* Returns whether this field is set.
|
|
4975
5291
|
* @return {boolean}
|
|
4976
5292
|
*/
|
|
4977
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5293
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasLogEvent = function () {
|
|
4978
5294
|
return jspb.Message.getField(this, 3) != null;
|
|
4979
5295
|
};
|
|
4980
5296
|
/**
|
|
4981
|
-
* optional CanonicalizeRequest
|
|
5297
|
+
* optional CanonicalizeRequest canonicalize_request = 4;
|
|
4982
5298
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest}
|
|
4983
5299
|
*/
|
|
4984
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5300
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getCanonicalizeRequest = function () {
|
|
4985
5301
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest, 4));
|
|
4986
5302
|
};
|
|
4987
5303
|
/**
|
|
4988
5304
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest|undefined} value
|
|
4989
5305
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
4990
5306
|
*/
|
|
4991
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5307
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setCanonicalizeRequest = function (value) {
|
|
4992
5308
|
return jspb.Message.setOneofWrapperField(this, 4, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
4993
5309
|
};
|
|
4994
5310
|
/**
|
|
4995
5311
|
* Clears the message field making it undefined.
|
|
4996
5312
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
4997
5313
|
*/
|
|
4998
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
4999
|
-
return this.
|
|
5314
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearCanonicalizeRequest = function () {
|
|
5315
|
+
return this.setCanonicalizeRequest(undefined);
|
|
5000
5316
|
};
|
|
5001
5317
|
/**
|
|
5002
5318
|
* Returns whether this field is set.
|
|
5003
5319
|
* @return {boolean}
|
|
5004
5320
|
*/
|
|
5005
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5321
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasCanonicalizeRequest = function () {
|
|
5006
5322
|
return jspb.Message.getField(this, 4) != null;
|
|
5007
5323
|
};
|
|
5008
5324
|
/**
|
|
5009
|
-
* optional ImportRequest
|
|
5325
|
+
* optional ImportRequest import_request = 5;
|
|
5010
5326
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.ImportRequest}
|
|
5011
5327
|
*/
|
|
5012
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5328
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getImportRequest = function () {
|
|
5013
5329
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.ImportRequest} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.ImportRequest, 5));
|
|
5014
5330
|
};
|
|
5015
5331
|
/**
|
|
5016
5332
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.ImportRequest|undefined} value
|
|
5017
5333
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5018
5334
|
*/
|
|
5019
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5335
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setImportRequest = function (value) {
|
|
5020
5336
|
return jspb.Message.setOneofWrapperField(this, 5, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
5021
5337
|
};
|
|
5022
5338
|
/**
|
|
5023
5339
|
* Clears the message field making it undefined.
|
|
5024
5340
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5025
5341
|
*/
|
|
5026
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5027
|
-
return this.
|
|
5342
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearImportRequest = function () {
|
|
5343
|
+
return this.setImportRequest(undefined);
|
|
5028
5344
|
};
|
|
5029
5345
|
/**
|
|
5030
5346
|
* Returns whether this field is set.
|
|
5031
5347
|
* @return {boolean}
|
|
5032
5348
|
*/
|
|
5033
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5349
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasImportRequest = function () {
|
|
5034
5350
|
return jspb.Message.getField(this, 5) != null;
|
|
5035
5351
|
};
|
|
5036
5352
|
/**
|
|
5037
|
-
* optional FileImportRequest
|
|
5353
|
+
* optional FileImportRequest file_import_request = 6;
|
|
5038
5354
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.FileImportRequest}
|
|
5039
5355
|
*/
|
|
5040
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5356
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getFileImportRequest = function () {
|
|
5041
5357
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.FileImportRequest} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.FileImportRequest, 6));
|
|
5042
5358
|
};
|
|
5043
5359
|
/**
|
|
5044
5360
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.FileImportRequest|undefined} value
|
|
5045
5361
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5046
5362
|
*/
|
|
5047
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5363
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setFileImportRequest = function (value) {
|
|
5048
5364
|
return jspb.Message.setOneofWrapperField(this, 6, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
5049
5365
|
};
|
|
5050
5366
|
/**
|
|
5051
5367
|
* Clears the message field making it undefined.
|
|
5052
5368
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5053
5369
|
*/
|
|
5054
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5055
|
-
return this.
|
|
5370
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearFileImportRequest = function () {
|
|
5371
|
+
return this.setFileImportRequest(undefined);
|
|
5056
5372
|
};
|
|
5057
5373
|
/**
|
|
5058
5374
|
* Returns whether this field is set.
|
|
5059
5375
|
* @return {boolean}
|
|
5060
5376
|
*/
|
|
5061
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5377
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasFileImportRequest = function () {
|
|
5062
5378
|
return jspb.Message.getField(this, 6) != null;
|
|
5063
5379
|
};
|
|
5064
5380
|
/**
|
|
5065
|
-
* optional FunctionCallRequest
|
|
5381
|
+
* optional FunctionCallRequest function_call_request = 7;
|
|
5066
5382
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest}
|
|
5067
5383
|
*/
|
|
5068
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5384
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getFunctionCallRequest = function () {
|
|
5069
5385
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest, 7));
|
|
5070
5386
|
};
|
|
5071
5387
|
/**
|
|
5072
5388
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.FunctionCallRequest|undefined} value
|
|
5073
5389
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5074
5390
|
*/
|
|
5075
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5391
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setFunctionCallRequest = function (value) {
|
|
5076
5392
|
return jspb.Message.setOneofWrapperField(this, 7, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
5077
5393
|
};
|
|
5078
5394
|
/**
|
|
5079
5395
|
* Clears the message field making it undefined.
|
|
5080
5396
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5081
5397
|
*/
|
|
5082
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5083
|
-
return this.
|
|
5398
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearFunctionCallRequest = function () {
|
|
5399
|
+
return this.setFunctionCallRequest(undefined);
|
|
5084
5400
|
};
|
|
5085
5401
|
/**
|
|
5086
5402
|
* Returns whether this field is set.
|
|
5087
5403
|
* @return {boolean}
|
|
5088
5404
|
*/
|
|
5089
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5405
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasFunctionCallRequest = function () {
|
|
5090
5406
|
return jspb.Message.getField(this, 7) != null;
|
|
5091
5407
|
};
|
|
5092
5408
|
/**
|
|
5093
|
-
* optional VersionResponse
|
|
5409
|
+
* optional VersionResponse version_response = 8;
|
|
5094
5410
|
* @return {?proto.sass.embedded_protocol.OutboundMessage.VersionResponse}
|
|
5095
5411
|
*/
|
|
5096
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5412
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.getVersionResponse = function () {
|
|
5097
5413
|
return /** @type{?proto.sass.embedded_protocol.OutboundMessage.VersionResponse} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.OutboundMessage.VersionResponse, 8));
|
|
5098
5414
|
};
|
|
5099
5415
|
/**
|
|
5100
5416
|
* @param {?proto.sass.embedded_protocol.OutboundMessage.VersionResponse|undefined} value
|
|
5101
5417
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5102
5418
|
*/
|
|
5103
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5419
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.setVersionResponse = function (value) {
|
|
5104
5420
|
return jspb.Message.setOneofWrapperField(this, 8, proto.sass.embedded_protocol.OutboundMessage.oneofGroups_[0], value);
|
|
5105
5421
|
};
|
|
5106
5422
|
/**
|
|
5107
5423
|
* Clears the message field making it undefined.
|
|
5108
5424
|
* @return {!proto.sass.embedded_protocol.OutboundMessage} returns this
|
|
5109
5425
|
*/
|
|
5110
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5111
|
-
return this.
|
|
5426
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.clearVersionResponse = function () {
|
|
5427
|
+
return this.setVersionResponse(undefined);
|
|
5112
5428
|
};
|
|
5113
5429
|
/**
|
|
5114
5430
|
* Returns whether this field is set.
|
|
5115
5431
|
* @return {boolean}
|
|
5116
5432
|
*/
|
|
5117
|
-
proto.sass.embedded_protocol.OutboundMessage.prototype.
|
|
5433
|
+
proto.sass.embedded_protocol.OutboundMessage.prototype.hasVersionResponse = function () {
|
|
5118
5434
|
return jspb.Message.getField(this, 8) != null;
|
|
5119
5435
|
};
|
|
5120
5436
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5179,7 +5495,7 @@ proto.sass.embedded_protocol.ProtocolError.deserializeBinaryFromReader = functio
|
|
|
5179
5495
|
var field = reader.getFieldNumber();
|
|
5180
5496
|
switch (field) {
|
|
5181
5497
|
case 1:
|
|
5182
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
5498
|
+
var value = /** @type {!proto.sass.embedded_protocol.ProtocolErrorType} */ (reader.readEnum());
|
|
5183
5499
|
msg.setType(value);
|
|
5184
5500
|
break;
|
|
5185
5501
|
case 2:
|
|
@@ -5229,22 +5545,14 @@ proto.sass.embedded_protocol.ProtocolError.serializeBinaryToWriter = function (m
|
|
|
5229
5545
|
}
|
|
5230
5546
|
};
|
|
5231
5547
|
/**
|
|
5232
|
-
*
|
|
5233
|
-
|
|
5234
|
-
proto.sass.embedded_protocol.ProtocolError.ErrorType = {
|
|
5235
|
-
PARSE: 0,
|
|
5236
|
-
PARAMS: 1,
|
|
5237
|
-
INTERNAL: 2
|
|
5238
|
-
};
|
|
5239
|
-
/**
|
|
5240
|
-
* optional ErrorType type = 1;
|
|
5241
|
-
* @return {!proto.sass.embedded_protocol.ProtocolError.ErrorType}
|
|
5548
|
+
* optional ProtocolErrorType type = 1;
|
|
5549
|
+
* @return {!proto.sass.embedded_protocol.ProtocolErrorType}
|
|
5242
5550
|
*/
|
|
5243
5551
|
proto.sass.embedded_protocol.ProtocolError.prototype.getType = function () {
|
|
5244
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
5552
|
+
return /** @type {!proto.sass.embedded_protocol.ProtocolErrorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5245
5553
|
};
|
|
5246
5554
|
/**
|
|
5247
|
-
* @param {!proto.sass.embedded_protocol.
|
|
5555
|
+
* @param {!proto.sass.embedded_protocol.ProtocolErrorType} value
|
|
5248
5556
|
* @return {!proto.sass.embedded_protocol.ProtocolError} returns this
|
|
5249
5557
|
*/
|
|
5250
5558
|
proto.sass.embedded_protocol.ProtocolError.prototype.setType = function (value) {
|
|
@@ -5668,7 +5976,7 @@ proto.sass.embedded_protocol.SourceSpan.prototype.setContext = function (value)
|
|
|
5668
5976
|
* @private {!Array<!Array<number>>}
|
|
5669
5977
|
* @const
|
|
5670
5978
|
*/
|
|
5671
|
-
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]];
|
|
5672
5980
|
/**
|
|
5673
5981
|
* @enum {number}
|
|
5674
5982
|
*/
|
|
@@ -5682,7 +5990,10 @@ proto.sass.embedded_protocol.Value.ValueCase = {
|
|
|
5682
5990
|
MAP: 6,
|
|
5683
5991
|
SINGLETON: 7,
|
|
5684
5992
|
COMPILER_FUNCTION: 8,
|
|
5685
|
-
HOST_FUNCTION: 9
|
|
5993
|
+
HOST_FUNCTION: 9,
|
|
5994
|
+
ARGUMENT_LIST: 10,
|
|
5995
|
+
HWB_COLOR: 11,
|
|
5996
|
+
CALCULATION: 12
|
|
5686
5997
|
};
|
|
5687
5998
|
/**
|
|
5688
5999
|
* @return {proto.sass.embedded_protocol.Value.ValueCase}
|
|
@@ -5725,7 +6036,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5725
6036
|
map: (f = msg.getMap()) && proto.sass.embedded_protocol.Value.Map.toObject(includeInstance, f),
|
|
5726
6037
|
singleton: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
5727
6038
|
compilerFunction: (f = msg.getCompilerFunction()) && proto.sass.embedded_protocol.Value.CompilerFunction.toObject(includeInstance, f),
|
|
5728
|
-
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)
|
|
5729
6043
|
};
|
|
5730
6044
|
if (includeInstance) {
|
|
5731
6045
|
obj.$jspbMessageInstance = msg;
|
|
@@ -5788,7 +6102,7 @@ proto.sass.embedded_protocol.Value.deserializeBinaryFromReader = function (msg,
|
|
|
5788
6102
|
msg.setMap(value);
|
|
5789
6103
|
break;
|
|
5790
6104
|
case 7:
|
|
5791
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
6105
|
+
var value = /** @type {!proto.sass.embedded_protocol.SingletonValue} */ (reader.readEnum());
|
|
5792
6106
|
msg.setSingleton(value);
|
|
5793
6107
|
break;
|
|
5794
6108
|
case 8:
|
|
@@ -5801,6 +6115,21 @@ proto.sass.embedded_protocol.Value.deserializeBinaryFromReader = function (msg,
|
|
|
5801
6115
|
reader.readMessage(value, proto.sass.embedded_protocol.Value.HostFunction.deserializeBinaryFromReader);
|
|
5802
6116
|
msg.setHostFunction(value);
|
|
5803
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;
|
|
5804
6133
|
default:
|
|
5805
6134
|
reader.skipField();
|
|
5806
6135
|
break;
|
|
@@ -5850,7 +6179,7 @@ proto.sass.embedded_protocol.Value.serializeBinaryToWriter = function (message,
|
|
|
5850
6179
|
if (f != null) {
|
|
5851
6180
|
writer.writeMessage(6, f, proto.sass.embedded_protocol.Value.Map.serializeBinaryToWriter);
|
|
5852
6181
|
}
|
|
5853
|
-
f = /** @type {!proto.sass.embedded_protocol.
|
|
6182
|
+
f = /** @type {!proto.sass.embedded_protocol.SingletonValue} */ (jspb.Message.getField(message, 7));
|
|
5854
6183
|
if (f != null) {
|
|
5855
6184
|
writer.writeEnum(7, f);
|
|
5856
6185
|
}
|
|
@@ -5862,14 +6191,18 @@ proto.sass.embedded_protocol.Value.serializeBinaryToWriter = function (message,
|
|
|
5862
6191
|
if (f != null) {
|
|
5863
6192
|
writer.writeMessage(9, f, proto.sass.embedded_protocol.Value.HostFunction.serializeBinaryToWriter);
|
|
5864
6193
|
}
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
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
|
+
}
|
|
5873
6206
|
};
|
|
5874
6207
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5875
6208
|
/**
|
|
@@ -6542,6 +6875,182 @@ proto.sass.embedded_protocol.Value.HslColor.prototype.getAlpha = function () {
|
|
|
6542
6875
|
proto.sass.embedded_protocol.Value.HslColor.prototype.setAlpha = function (value) {
|
|
6543
6876
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
6544
6877
|
};
|
|
6878
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6879
|
+
/**
|
|
6880
|
+
* Creates an object representation of this proto.
|
|
6881
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6882
|
+
* Optional fields that are not set will be set to undefined.
|
|
6883
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6884
|
+
* For the list of reserved names please see:
|
|
6885
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6886
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6887
|
+
* JSPB instance for transitional soy proto support:
|
|
6888
|
+
* http://goto/soy-param-migration
|
|
6889
|
+
* @return {!Object}
|
|
6890
|
+
*/
|
|
6891
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.toObject = function (opt_includeInstance) {
|
|
6892
|
+
return proto.sass.embedded_protocol.Value.HwbColor.toObject(opt_includeInstance, this);
|
|
6893
|
+
};
|
|
6894
|
+
/**
|
|
6895
|
+
* Static version of the {@see toObject} method.
|
|
6896
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6897
|
+
* the JSPB instance for transitional soy proto support:
|
|
6898
|
+
* http://goto/soy-param-migration
|
|
6899
|
+
* @param {!proto.sass.embedded_protocol.Value.HwbColor} msg The msg instance to transform.
|
|
6900
|
+
* @return {!Object}
|
|
6901
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6902
|
+
*/
|
|
6903
|
+
proto.sass.embedded_protocol.Value.HwbColor.toObject = function (includeInstance, msg) {
|
|
6904
|
+
var f, obj = {
|
|
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)
|
|
6909
|
+
};
|
|
6910
|
+
if (includeInstance) {
|
|
6911
|
+
obj.$jspbMessageInstance = msg;
|
|
6912
|
+
}
|
|
6913
|
+
return obj;
|
|
6914
|
+
};
|
|
6915
|
+
}
|
|
6916
|
+
/**
|
|
6917
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6918
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6919
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor}
|
|
6920
|
+
*/
|
|
6921
|
+
proto.sass.embedded_protocol.Value.HwbColor.deserializeBinary = function (bytes) {
|
|
6922
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6923
|
+
var msg = new proto.sass.embedded_protocol.Value.HwbColor;
|
|
6924
|
+
return proto.sass.embedded_protocol.Value.HwbColor.deserializeBinaryFromReader(msg, reader);
|
|
6925
|
+
};
|
|
6926
|
+
/**
|
|
6927
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6928
|
+
* given reader into the given message object.
|
|
6929
|
+
* @param {!proto.sass.embedded_protocol.Value.HwbColor} msg The message object to deserialize into.
|
|
6930
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6931
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor}
|
|
6932
|
+
*/
|
|
6933
|
+
proto.sass.embedded_protocol.Value.HwbColor.deserializeBinaryFromReader = function (msg, reader) {
|
|
6934
|
+
while (reader.nextField()) {
|
|
6935
|
+
if (reader.isEndGroup()) {
|
|
6936
|
+
break;
|
|
6937
|
+
}
|
|
6938
|
+
var field = reader.getFieldNumber();
|
|
6939
|
+
switch (field) {
|
|
6940
|
+
case 1:
|
|
6941
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6942
|
+
msg.setHue(value);
|
|
6943
|
+
break;
|
|
6944
|
+
case 2:
|
|
6945
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6946
|
+
msg.setWhiteness(value);
|
|
6947
|
+
break;
|
|
6948
|
+
case 3:
|
|
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);
|
|
6955
|
+
break;
|
|
6956
|
+
default:
|
|
6957
|
+
reader.skipField();
|
|
6958
|
+
break;
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6961
|
+
return msg;
|
|
6962
|
+
};
|
|
6963
|
+
/**
|
|
6964
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6965
|
+
* @return {!Uint8Array}
|
|
6966
|
+
*/
|
|
6967
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.serializeBinary = function () {
|
|
6968
|
+
var writer = new jspb.BinaryWriter();
|
|
6969
|
+
proto.sass.embedded_protocol.Value.HwbColor.serializeBinaryToWriter(this, writer);
|
|
6970
|
+
return writer.getResultBuffer();
|
|
6971
|
+
};
|
|
6972
|
+
/**
|
|
6973
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6974
|
+
* format), writing to the given BinaryWriter.
|
|
6975
|
+
* @param {!proto.sass.embedded_protocol.Value.HwbColor} message
|
|
6976
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6977
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6978
|
+
*/
|
|
6979
|
+
proto.sass.embedded_protocol.Value.HwbColor.serializeBinaryToWriter = function (message, writer) {
|
|
6980
|
+
var f = undefined;
|
|
6981
|
+
f = message.getHue();
|
|
6982
|
+
if (f !== 0.0) {
|
|
6983
|
+
writer.writeDouble(1, f);
|
|
6984
|
+
}
|
|
6985
|
+
f = message.getWhiteness();
|
|
6986
|
+
if (f !== 0.0) {
|
|
6987
|
+
writer.writeDouble(2, f);
|
|
6988
|
+
}
|
|
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);
|
|
6996
|
+
}
|
|
6997
|
+
};
|
|
6998
|
+
/**
|
|
6999
|
+
* optional double hue = 1;
|
|
7000
|
+
* @return {number}
|
|
7001
|
+
*/
|
|
7002
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getHue = function () {
|
|
7003
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
7004
|
+
};
|
|
7005
|
+
/**
|
|
7006
|
+
* @param {number} value
|
|
7007
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
7008
|
+
*/
|
|
7009
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setHue = function (value) {
|
|
7010
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
|
7011
|
+
};
|
|
7012
|
+
/**
|
|
7013
|
+
* optional double whiteness = 2;
|
|
7014
|
+
* @return {number}
|
|
7015
|
+
*/
|
|
7016
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getWhiteness = function () {
|
|
7017
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
7018
|
+
};
|
|
7019
|
+
/**
|
|
7020
|
+
* @param {number} value
|
|
7021
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
7022
|
+
*/
|
|
7023
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setWhiteness = function (value) {
|
|
7024
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
7025
|
+
};
|
|
7026
|
+
/**
|
|
7027
|
+
* optional double blackness = 3;
|
|
7028
|
+
* @return {number}
|
|
7029
|
+
*/
|
|
7030
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getBlackness = function () {
|
|
7031
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
7032
|
+
};
|
|
7033
|
+
/**
|
|
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);
|
|
7039
|
+
};
|
|
7040
|
+
/**
|
|
7041
|
+
* optional double alpha = 4;
|
|
7042
|
+
* @return {number}
|
|
7043
|
+
*/
|
|
7044
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.getAlpha = function () {
|
|
7045
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
7046
|
+
};
|
|
7047
|
+
/**
|
|
7048
|
+
* @param {number} value
|
|
7049
|
+
* @return {!proto.sass.embedded_protocol.Value.HwbColor} returns this
|
|
7050
|
+
*/
|
|
7051
|
+
proto.sass.embedded_protocol.Value.HwbColor.prototype.setAlpha = function (value) {
|
|
7052
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
7053
|
+
};
|
|
6545
7054
|
/**
|
|
6546
7055
|
* List of repeated fields within this message type.
|
|
6547
7056
|
* @private {!Array<number>}
|
|
@@ -6610,7 +7119,7 @@ proto.sass.embedded_protocol.Value.List.deserializeBinaryFromReader = function (
|
|
|
6610
7119
|
var field = reader.getFieldNumber();
|
|
6611
7120
|
switch (field) {
|
|
6612
7121
|
case 1:
|
|
6613
|
-
var value = /** @type {!proto.sass.embedded_protocol.
|
|
7122
|
+
var value = /** @type {!proto.sass.embedded_protocol.ListSeparator} */ (reader.readEnum());
|
|
6614
7123
|
msg.setSeparator(value);
|
|
6615
7124
|
break;
|
|
6616
7125
|
case 2:
|
|
@@ -6661,23 +7170,14 @@ proto.sass.embedded_protocol.Value.List.serializeBinaryToWriter = function (mess
|
|
|
6661
7170
|
}
|
|
6662
7171
|
};
|
|
6663
7172
|
/**
|
|
6664
|
-
*
|
|
6665
|
-
|
|
6666
|
-
proto.sass.embedded_protocol.Value.List.Separator = {
|
|
6667
|
-
COMMA: 0,
|
|
6668
|
-
SPACE: 1,
|
|
6669
|
-
SLASH: 2,
|
|
6670
|
-
UNDECIDED: 3
|
|
6671
|
-
};
|
|
6672
|
-
/**
|
|
6673
|
-
* optional Separator separator = 1;
|
|
6674
|
-
* @return {!proto.sass.embedded_protocol.Value.List.Separator}
|
|
7173
|
+
* optional ListSeparator separator = 1;
|
|
7174
|
+
* @return {!proto.sass.embedded_protocol.ListSeparator}
|
|
6675
7175
|
*/
|
|
6676
7176
|
proto.sass.embedded_protocol.Value.List.prototype.getSeparator = function () {
|
|
6677
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
7177
|
+
return /** @type {!proto.sass.embedded_protocol.ListSeparator} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6678
7178
|
};
|
|
6679
7179
|
/**
|
|
6680
|
-
* @param {!proto.sass.embedded_protocol.
|
|
7180
|
+
* @param {!proto.sass.embedded_protocol.ListSeparator} value
|
|
6681
7181
|
* @return {!proto.sass.embedded_protocol.Value.List} returns this
|
|
6682
7182
|
*/
|
|
6683
7183
|
proto.sass.embedded_protocol.Value.List.prototype.setSeparator = function (value) {
|
|
@@ -7253,38 +7753,874 @@ proto.sass.embedded_protocol.Value.HostFunction.prototype.setSignature = functio
|
|
|
7253
7753
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7254
7754
|
};
|
|
7255
7755
|
/**
|
|
7256
|
-
*
|
|
7257
|
-
* @
|
|
7258
|
-
|
|
7259
|
-
proto.sass.embedded_protocol.Value.prototype.getString = function () {
|
|
7260
|
-
return /** @type{?proto.sass.embedded_protocol.Value.String} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.String, 1));
|
|
7261
|
-
};
|
|
7262
|
-
/**
|
|
7263
|
-
* @param {?proto.sass.embedded_protocol.Value.String|undefined} value
|
|
7264
|
-
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
7265
|
-
*/
|
|
7266
|
-
proto.sass.embedded_protocol.Value.prototype.setString = function (value) {
|
|
7267
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.sass.embedded_protocol.Value.oneofGroups_[0], value);
|
|
7268
|
-
};
|
|
7269
|
-
/**
|
|
7270
|
-
* Clears the message field making it undefined.
|
|
7271
|
-
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
7756
|
+
* List of repeated fields within this message type.
|
|
7757
|
+
* @private {!Array<number>}
|
|
7758
|
+
* @const
|
|
7272
7759
|
*/
|
|
7273
|
-
proto.sass.embedded_protocol.Value.
|
|
7274
|
-
|
|
7275
|
-
|
|
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
|
+
}
|
|
7276
7799
|
/**
|
|
7277
|
-
*
|
|
7278
|
-
* @
|
|
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}
|
|
7279
7803
|
*/
|
|
7280
|
-
proto.sass.embedded_protocol.Value.
|
|
7281
|
-
|
|
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);
|
|
7282
7808
|
};
|
|
7283
7809
|
/**
|
|
7284
|
-
*
|
|
7285
|
-
*
|
|
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}
|
|
7286
7815
|
*/
|
|
7287
|
-
proto.sass.embedded_protocol.Value.
|
|
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;
|
|
7848
|
+
};
|
|
7849
|
+
/**
|
|
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.
|
|
8614
|
+
* @return {boolean}
|
|
8615
|
+
*/
|
|
8616
|
+
proto.sass.embedded_protocol.Value.prototype.hasString = function () {
|
|
8617
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8618
|
+
};
|
|
8619
|
+
/**
|
|
8620
|
+
* optional Number number = 2;
|
|
8621
|
+
* @return {?proto.sass.embedded_protocol.Value.Number}
|
|
8622
|
+
*/
|
|
8623
|
+
proto.sass.embedded_protocol.Value.prototype.getNumber = function () {
|
|
7288
8624
|
return /** @type{?proto.sass.embedded_protocol.Value.Number} */ (jspb.Message.getWrapperField(this, proto.sass.embedded_protocol.Value.Number, 2));
|
|
7289
8625
|
};
|
|
7290
8626
|
/**
|
|
@@ -7421,14 +8757,14 @@ proto.sass.embedded_protocol.Value.prototype.hasMap = function () {
|
|
|
7421
8757
|
return jspb.Message.getField(this, 6) != null;
|
|
7422
8758
|
};
|
|
7423
8759
|
/**
|
|
7424
|
-
* optional
|
|
7425
|
-
* @return {!proto.sass.embedded_protocol.
|
|
8760
|
+
* optional SingletonValue singleton = 7;
|
|
8761
|
+
* @return {!proto.sass.embedded_protocol.SingletonValue}
|
|
7426
8762
|
*/
|
|
7427
8763
|
proto.sass.embedded_protocol.Value.prototype.getSingleton = function () {
|
|
7428
|
-
return /** @type {!proto.sass.embedded_protocol.
|
|
8764
|
+
return /** @type {!proto.sass.embedded_protocol.SingletonValue} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
7429
8765
|
};
|
|
7430
8766
|
/**
|
|
7431
|
-
* @param {!proto.sass.embedded_protocol.
|
|
8767
|
+
* @param {!proto.sass.embedded_protocol.SingletonValue} value
|
|
7432
8768
|
* @return {!proto.sass.embedded_protocol.Value} returns this
|
|
7433
8769
|
*/
|
|
7434
8770
|
proto.sass.embedded_protocol.Value.prototype.setSingleton = function (value) {
|
|
@@ -7504,5 +8840,146 @@ proto.sass.embedded_protocol.Value.prototype.clearHostFunction = function () {
|
|
|
7504
8840
|
proto.sass.embedded_protocol.Value.prototype.hasHostFunction = function () {
|
|
7505
8841
|
return jspb.Message.getField(this, 9) != null;
|
|
7506
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
|
+
};
|
|
8927
|
+
/**
|
|
8928
|
+
* @enum {number}
|
|
8929
|
+
*/
|
|
8930
|
+
proto.sass.embedded_protocol.OutputStyle = {
|
|
8931
|
+
EXPANDED: 0,
|
|
8932
|
+
COMPRESSED: 1
|
|
8933
|
+
};
|
|
8934
|
+
/**
|
|
8935
|
+
* @enum {number}
|
|
8936
|
+
*/
|
|
8937
|
+
proto.sass.embedded_protocol.Syntax = {
|
|
8938
|
+
SCSS: 0,
|
|
8939
|
+
INDENTED: 1,
|
|
8940
|
+
CSS: 2
|
|
8941
|
+
};
|
|
8942
|
+
/**
|
|
8943
|
+
* @enum {number}
|
|
8944
|
+
*/
|
|
8945
|
+
proto.sass.embedded_protocol.LogEventType = {
|
|
8946
|
+
WARNING: 0,
|
|
8947
|
+
DEPRECATION_WARNING: 1,
|
|
8948
|
+
DEBUG: 2
|
|
8949
|
+
};
|
|
8950
|
+
/**
|
|
8951
|
+
* @enum {number}
|
|
8952
|
+
*/
|
|
8953
|
+
proto.sass.embedded_protocol.ProtocolErrorType = {
|
|
8954
|
+
PARSE: 0,
|
|
8955
|
+
PARAMS: 1,
|
|
8956
|
+
INTERNAL: 2
|
|
8957
|
+
};
|
|
8958
|
+
/**
|
|
8959
|
+
* @enum {number}
|
|
8960
|
+
*/
|
|
8961
|
+
proto.sass.embedded_protocol.ListSeparator = {
|
|
8962
|
+
COMMA: 0,
|
|
8963
|
+
SPACE: 1,
|
|
8964
|
+
SLASH: 2,
|
|
8965
|
+
UNDECIDED: 3
|
|
8966
|
+
};
|
|
8967
|
+
/**
|
|
8968
|
+
* @enum {number}
|
|
8969
|
+
*/
|
|
8970
|
+
proto.sass.embedded_protocol.SingletonValue = {
|
|
8971
|
+
TRUE: 0,
|
|
8972
|
+
FALSE: 1,
|
|
8973
|
+
NULL: 2
|
|
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
|
+
};
|
|
7507
8984
|
goog.object.extend(exports, proto.sass.embedded_protocol);
|
|
7508
8985
|
//# sourceMappingURL=embedded_sass_pb.js.map
|