sass-embedded 1.62.0 → 1.63.6
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/README.md +2 -2
- package/dist/lib/index.mjs +154 -0
- package/dist/lib/src/async-compiler.js +1 -1
- package/dist/lib/src/async-compiler.js.map +1 -1
- package/dist/lib/src/compile.js +7 -2
- package/dist/lib/src/compile.js.map +1 -1
- package/dist/lib/src/compiler-path.js +4 -4
- package/dist/lib/src/compiler-path.js.map +1 -1
- package/dist/lib/src/dispatcher.js +37 -37
- package/dist/lib/src/dispatcher.js.map +1 -1
- package/dist/lib/src/message-transformer.js +25 -8
- package/dist/lib/src/message-transformer.js.map +1 -1
- package/dist/lib/src/sync-compiler.js +1 -1
- package/dist/lib/src/sync-compiler.js.map +1 -1
- package/dist/lib/src/value/boolean.js +1 -1
- package/dist/lib/src/value/boolean.js.map +1 -1
- package/dist/lib/src/value/null.js +1 -1
- package/dist/lib/src/value/null.js.map +1 -1
- package/dist/lib/src/vendor/embedded_sass_pb.js +93 -160
- package/dist/lib/src/vendor/embedded_sass_pb.js.map +1 -1
- package/dist/package.json +21 -16
- package/dist/tool/get-embedded-compiler.js +13 -24
- package/dist/tool/get-embedded-compiler.js.map +1 -1
- package/dist/tool/get-language-repo.js +40 -0
- package/dist/tool/get-language-repo.js.map +1 -0
- package/dist/tool/init.js +13 -36
- package/dist/tool/init.js.map +1 -1
- package/dist/tool/prepare-optional-release.js +3 -4
- package/dist/tool/prepare-optional-release.js.map +1 -1
- package/dist/tool/prepare-release.js +3 -4
- package/dist/tool/prepare-release.js.map +1 -1
- package/dist/tool/utils.js +20 -2
- package/dist/tool/utils.js.map +1 -1
- package/dist/types/compile.d.ts +25 -24
- package/dist/types/exception.d.ts +7 -7
- package/dist/types/importer.d.ts +58 -54
- package/dist/types/legacy/exception.d.ts +13 -12
- package/dist/types/legacy/function.d.ts +59 -58
- package/dist/types/legacy/importer.d.ts +31 -30
- package/dist/types/legacy/options.d.ts +65 -65
- package/dist/types/legacy/plugin_this.d.ts +18 -17
- package/dist/types/legacy/render.d.ts +21 -21
- package/dist/types/logger/index.d.ts +4 -4
- package/dist/types/logger/source_location.d.ts +2 -2
- package/dist/types/logger/source_span.d.ts +3 -3
- package/dist/types/options.d.ts +74 -70
- package/dist/types/util/promise_or.d.ts +4 -4
- package/dist/types/value/argument_list.d.ts +6 -6
- package/dist/types/value/function.d.ts +1 -1
- package/dist/types/value/index.d.ts +13 -13
- package/dist/types/value/list.d.ts +1 -1
- package/dist/types/value/map.d.ts +3 -3
- package/dist/types/value/number.d.ts +49 -49
- package/dist/types/value/string.d.ts +1 -1
- package/package.json +21 -16
- package/dist/tool/get-embedded-protocol.js +0 -41
- package/dist/tool/get-embedded-protocol.js.map +0 -1
- package/dist/tool/get-js-api.js +0 -33
- package/dist/tool/get-js-api.js.map +0 -1
|
@@ -27,7 +27,7 @@ var OutputStyle;
|
|
|
27
27
|
* @generated from enum value: COMPRESSED = 1;
|
|
28
28
|
*/
|
|
29
29
|
OutputStyle[OutputStyle["COMPRESSED"] = 1] = "COMPRESSED";
|
|
30
|
-
})(OutputStyle
|
|
30
|
+
})(OutputStyle || (exports.OutputStyle = OutputStyle = {}));
|
|
31
31
|
// Retrieve enum metadata with: proto3.getEnumType(OutputStyle)
|
|
32
32
|
protobuf_1.proto3.util.setEnumType(OutputStyle, "sass.embedded_protocol.OutputStyle", [
|
|
33
33
|
{ no: 0, name: "EXPANDED" },
|
|
@@ -58,7 +58,7 @@ var Syntax;
|
|
|
58
58
|
* @generated from enum value: CSS = 2;
|
|
59
59
|
*/
|
|
60
60
|
Syntax[Syntax["CSS"] = 2] = "CSS";
|
|
61
|
-
})(Syntax
|
|
61
|
+
})(Syntax || (exports.Syntax = Syntax = {}));
|
|
62
62
|
// Retrieve enum metadata with: proto3.getEnumType(Syntax)
|
|
63
63
|
protobuf_1.proto3.util.setEnumType(Syntax, "sass.embedded_protocol.Syntax", [
|
|
64
64
|
{ no: 0, name: "SCSS" },
|
|
@@ -94,7 +94,7 @@ var LogEventType;
|
|
|
94
94
|
* @generated from enum value: DEBUG = 2;
|
|
95
95
|
*/
|
|
96
96
|
LogEventType[LogEventType["DEBUG"] = 2] = "DEBUG";
|
|
97
|
-
})(LogEventType
|
|
97
|
+
})(LogEventType || (exports.LogEventType = LogEventType = {}));
|
|
98
98
|
// Retrieve enum metadata with: proto3.getEnumType(LogEventType)
|
|
99
99
|
protobuf_1.proto3.util.setEnumType(LogEventType, "sass.embedded_protocol.LogEventType", [
|
|
100
100
|
{ no: 0, name: "WARNING" },
|
|
@@ -128,7 +128,7 @@ var ProtocolErrorType;
|
|
|
128
128
|
* @generated from enum value: INTERNAL = 2;
|
|
129
129
|
*/
|
|
130
130
|
ProtocolErrorType[ProtocolErrorType["INTERNAL"] = 2] = "INTERNAL";
|
|
131
|
-
})(ProtocolErrorType
|
|
131
|
+
})(ProtocolErrorType || (exports.ProtocolErrorType = ProtocolErrorType = {}));
|
|
132
132
|
// Retrieve enum metadata with: proto3.getEnumType(ProtocolErrorType)
|
|
133
133
|
protobuf_1.proto3.util.setEnumType(ProtocolErrorType, "sass.embedded_protocol.ProtocolErrorType", [
|
|
134
134
|
{ no: 0, name: "PARSE" },
|
|
@@ -170,7 +170,7 @@ var ListSeparator;
|
|
|
170
170
|
* @generated from enum value: UNDECIDED = 3;
|
|
171
171
|
*/
|
|
172
172
|
ListSeparator[ListSeparator["UNDECIDED"] = 3] = "UNDECIDED";
|
|
173
|
-
})(ListSeparator
|
|
173
|
+
})(ListSeparator || (exports.ListSeparator = ListSeparator = {}));
|
|
174
174
|
// Retrieve enum metadata with: proto3.getEnumType(ListSeparator)
|
|
175
175
|
protobuf_1.proto3.util.setEnumType(ListSeparator, "sass.embedded_protocol.ListSeparator", [
|
|
176
176
|
{ no: 0, name: "COMMA" },
|
|
@@ -203,7 +203,7 @@ var SingletonValue;
|
|
|
203
203
|
* @generated from enum value: NULL = 2;
|
|
204
204
|
*/
|
|
205
205
|
SingletonValue[SingletonValue["NULL"] = 2] = "NULL";
|
|
206
|
-
})(SingletonValue
|
|
206
|
+
})(SingletonValue || (exports.SingletonValue = SingletonValue = {}));
|
|
207
207
|
// Retrieve enum metadata with: proto3.getEnumType(SingletonValue)
|
|
208
208
|
protobuf_1.proto3.util.setEnumType(SingletonValue, "sass.embedded_protocol.SingletonValue", [
|
|
209
209
|
{ no: 0, name: "TRUE" },
|
|
@@ -241,7 +241,7 @@ var CalculationOperator;
|
|
|
241
241
|
* @generated from enum value: DIVIDE = 3;
|
|
242
242
|
*/
|
|
243
243
|
CalculationOperator[CalculationOperator["DIVIDE"] = 3] = "DIVIDE";
|
|
244
|
-
})(CalculationOperator
|
|
244
|
+
})(CalculationOperator || (exports.CalculationOperator = CalculationOperator = {}));
|
|
245
245
|
// Retrieve enum metadata with: proto3.getEnumType(CalculationOperator)
|
|
246
246
|
protobuf_1.proto3.util.setEnumType(CalculationOperator, "sass.embedded_protocol.CalculationOperator", [
|
|
247
247
|
{ no: 0, name: "PLUS" },
|
|
@@ -280,6 +280,7 @@ class InboundMessage extends protobuf_1.Message {
|
|
|
280
280
|
return protobuf_1.proto3.util.equals(InboundMessage, a, b);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
+
exports.InboundMessage = InboundMessage;
|
|
283
284
|
InboundMessage.runtime = protobuf_1.proto3;
|
|
284
285
|
InboundMessage.typeName = "sass.embedded_protocol.InboundMessage";
|
|
285
286
|
InboundMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -290,7 +291,6 @@ InboundMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
290
291
|
{ no: 6, name: "function_call_response", kind: "message", T: InboundMessage_FunctionCallResponse, oneof: "message" },
|
|
291
292
|
{ no: 7, name: "version_request", kind: "message", T: InboundMessage_VersionRequest, oneof: "message" },
|
|
292
293
|
]);
|
|
293
|
-
exports.InboundMessage = InboundMessage;
|
|
294
294
|
/**
|
|
295
295
|
* A request for information about the version of the embedded compiler. The
|
|
296
296
|
* host can use this to provide diagnostic information to the user, to check
|
|
@@ -303,7 +303,7 @@ class InboundMessage_VersionRequest extends protobuf_1.Message {
|
|
|
303
303
|
constructor(data) {
|
|
304
304
|
super();
|
|
305
305
|
/**
|
|
306
|
-
* This version request's id.
|
|
306
|
+
* This version request's id.
|
|
307
307
|
*
|
|
308
308
|
* @generated from field: uint32 id = 1;
|
|
309
309
|
*/
|
|
@@ -323,12 +323,12 @@ class InboundMessage_VersionRequest extends protobuf_1.Message {
|
|
|
323
323
|
return protobuf_1.proto3.util.equals(InboundMessage_VersionRequest, a, b);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
+
exports.InboundMessage_VersionRequest = InboundMessage_VersionRequest;
|
|
326
327
|
InboundMessage_VersionRequest.runtime = protobuf_1.proto3;
|
|
327
328
|
InboundMessage_VersionRequest.typeName = "sass.embedded_protocol.InboundMessage.VersionRequest";
|
|
328
329
|
InboundMessage_VersionRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
329
330
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
330
331
|
]);
|
|
331
|
-
exports.InboundMessage_VersionRequest = InboundMessage_VersionRequest;
|
|
332
332
|
/**
|
|
333
333
|
* A request that compiles an entrypoint to CSS.
|
|
334
334
|
*
|
|
@@ -337,13 +337,6 @@ exports.InboundMessage_VersionRequest = InboundMessage_VersionRequest;
|
|
|
337
337
|
class InboundMessage_CompileRequest extends protobuf_1.Message {
|
|
338
338
|
constructor(data) {
|
|
339
339
|
super();
|
|
340
|
-
/**
|
|
341
|
-
* This compilation's request id. This is included in messages sent from the
|
|
342
|
-
* compiler to the host. Mandatory.
|
|
343
|
-
*
|
|
344
|
-
* @generated from field: uint32 id = 1;
|
|
345
|
-
*/
|
|
346
|
-
this.id = 0;
|
|
347
340
|
/**
|
|
348
341
|
* The input stylesheet to parse. Mandatory.
|
|
349
342
|
*
|
|
@@ -442,10 +435,10 @@ class InboundMessage_CompileRequest extends protobuf_1.Message {
|
|
|
442
435
|
return protobuf_1.proto3.util.equals(InboundMessage_CompileRequest, a, b);
|
|
443
436
|
}
|
|
444
437
|
}
|
|
438
|
+
exports.InboundMessage_CompileRequest = InboundMessage_CompileRequest;
|
|
445
439
|
InboundMessage_CompileRequest.runtime = protobuf_1.proto3;
|
|
446
440
|
InboundMessage_CompileRequest.typeName = "sass.embedded_protocol.InboundMessage.CompileRequest";
|
|
447
441
|
InboundMessage_CompileRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
448
|
-
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
449
442
|
{ no: 2, name: "string", kind: "message", T: InboundMessage_CompileRequest_StringInput, oneof: "input" },
|
|
450
443
|
{ no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
|
|
451
444
|
{ no: 4, name: "style", kind: "enum", T: protobuf_1.proto3.getEnumType(OutputStyle) },
|
|
@@ -459,7 +452,6 @@ InboundMessage_CompileRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
459
452
|
{ no: 12, name: "source_map_include_sources", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
460
453
|
{ no: 13, name: "charset", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
461
454
|
]);
|
|
462
|
-
exports.InboundMessage_CompileRequest = InboundMessage_CompileRequest;
|
|
463
455
|
/**
|
|
464
456
|
* An input stylesheet provided as plain text, rather than loaded from the
|
|
465
457
|
* filesystem.
|
|
@@ -505,6 +497,7 @@ class InboundMessage_CompileRequest_StringInput extends protobuf_1.Message {
|
|
|
505
497
|
return protobuf_1.proto3.util.equals(InboundMessage_CompileRequest_StringInput, a, b);
|
|
506
498
|
}
|
|
507
499
|
}
|
|
500
|
+
exports.InboundMessage_CompileRequest_StringInput = InboundMessage_CompileRequest_StringInput;
|
|
508
501
|
InboundMessage_CompileRequest_StringInput.runtime = protobuf_1.proto3;
|
|
509
502
|
InboundMessage_CompileRequest_StringInput.typeName = "sass.embedded_protocol.InboundMessage.CompileRequest.StringInput";
|
|
510
503
|
InboundMessage_CompileRequest_StringInput.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -513,7 +506,6 @@ InboundMessage_CompileRequest_StringInput.fields = protobuf_1.proto3.util.newFie
|
|
|
513
506
|
{ no: 3, name: "syntax", kind: "enum", T: protobuf_1.proto3.getEnumType(Syntax) },
|
|
514
507
|
{ no: 4, name: "importer", kind: "message", T: InboundMessage_CompileRequest_Importer },
|
|
515
508
|
]);
|
|
516
|
-
exports.InboundMessage_CompileRequest_StringInput = InboundMessage_CompileRequest_StringInput;
|
|
517
509
|
/**
|
|
518
510
|
* A wrapper message that represents either a user-defined importer or a
|
|
519
511
|
* load path on disk. This must be a wrapper because `oneof` types can't be
|
|
@@ -545,6 +537,7 @@ class InboundMessage_CompileRequest_Importer extends protobuf_1.Message {
|
|
|
545
537
|
return protobuf_1.proto3.util.equals(InboundMessage_CompileRequest_Importer, a, b);
|
|
546
538
|
}
|
|
547
539
|
}
|
|
540
|
+
exports.InboundMessage_CompileRequest_Importer = InboundMessage_CompileRequest_Importer;
|
|
548
541
|
InboundMessage_CompileRequest_Importer.runtime = protobuf_1.proto3;
|
|
549
542
|
InboundMessage_CompileRequest_Importer.typeName = "sass.embedded_protocol.InboundMessage.CompileRequest.Importer";
|
|
550
543
|
InboundMessage_CompileRequest_Importer.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -552,7 +545,6 @@ InboundMessage_CompileRequest_Importer.fields = protobuf_1.proto3.util.newFieldL
|
|
|
552
545
|
{ no: 2, name: "importer_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "importer" },
|
|
553
546
|
{ no: 3, name: "file_importer_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "importer" },
|
|
554
547
|
]);
|
|
555
|
-
exports.InboundMessage_CompileRequest_Importer = InboundMessage_CompileRequest_Importer;
|
|
556
548
|
/**
|
|
557
549
|
* A response indicating the result of canonicalizing an imported URL.
|
|
558
550
|
*
|
|
@@ -566,9 +558,9 @@ class InboundMessage_CanonicalizeResponse extends protobuf_1.Message {
|
|
|
566
558
|
*/
|
|
567
559
|
this.id = 0;
|
|
568
560
|
/**
|
|
569
|
-
* The result of canonicalization.
|
|
570
|
-
*
|
|
571
|
-
*
|
|
561
|
+
* The result of canonicalization. If this is unset, it indicates that the
|
|
562
|
+
* importer either did not recognize the URL, or could not find a stylesheet
|
|
563
|
+
* at the location it referred to. Optional.
|
|
572
564
|
*
|
|
573
565
|
* @generated from oneof sass.embedded_protocol.InboundMessage.CanonicalizeResponse.result
|
|
574
566
|
*/
|
|
@@ -588,6 +580,7 @@ class InboundMessage_CanonicalizeResponse extends protobuf_1.Message {
|
|
|
588
580
|
return protobuf_1.proto3.util.equals(InboundMessage_CanonicalizeResponse, a, b);
|
|
589
581
|
}
|
|
590
582
|
}
|
|
583
|
+
exports.InboundMessage_CanonicalizeResponse = InboundMessage_CanonicalizeResponse;
|
|
591
584
|
InboundMessage_CanonicalizeResponse.runtime = protobuf_1.proto3;
|
|
592
585
|
InboundMessage_CanonicalizeResponse.typeName = "sass.embedded_protocol.InboundMessage.CanonicalizeResponse";
|
|
593
586
|
InboundMessage_CanonicalizeResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -595,7 +588,6 @@ InboundMessage_CanonicalizeResponse.fields = protobuf_1.proto3.util.newFieldList
|
|
|
595
588
|
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "result" },
|
|
596
589
|
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "result" },
|
|
597
590
|
]);
|
|
598
|
-
exports.InboundMessage_CanonicalizeResponse = InboundMessage_CanonicalizeResponse;
|
|
599
591
|
/**
|
|
600
592
|
* A response indicating the result of importing a canonical URL.
|
|
601
593
|
*
|
|
@@ -609,9 +601,9 @@ class InboundMessage_ImportResponse extends protobuf_1.Message {
|
|
|
609
601
|
*/
|
|
610
602
|
this.id = 0;
|
|
611
603
|
/**
|
|
612
|
-
* The result of loading the URL.
|
|
613
|
-
*
|
|
614
|
-
*
|
|
604
|
+
* The result of loading the URL. If this is unset, it indicates that the
|
|
605
|
+
* importer either did not recognize the URL, or could not find a stylesheet
|
|
606
|
+
* at the location it referred to. Optional.
|
|
615
607
|
*
|
|
616
608
|
* @generated from oneof sass.embedded_protocol.InboundMessage.ImportResponse.result
|
|
617
609
|
*/
|
|
@@ -631,6 +623,7 @@ class InboundMessage_ImportResponse extends protobuf_1.Message {
|
|
|
631
623
|
return protobuf_1.proto3.util.equals(InboundMessage_ImportResponse, a, b);
|
|
632
624
|
}
|
|
633
625
|
}
|
|
626
|
+
exports.InboundMessage_ImportResponse = InboundMessage_ImportResponse;
|
|
634
627
|
InboundMessage_ImportResponse.runtime = protobuf_1.proto3;
|
|
635
628
|
InboundMessage_ImportResponse.typeName = "sass.embedded_protocol.InboundMessage.ImportResponse";
|
|
636
629
|
InboundMessage_ImportResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -638,7 +631,6 @@ InboundMessage_ImportResponse.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
638
631
|
{ no: 2, name: "success", kind: "message", T: InboundMessage_ImportResponse_ImportSuccess, oneof: "result" },
|
|
639
632
|
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "result" },
|
|
640
633
|
]);
|
|
641
|
-
exports.InboundMessage_ImportResponse = InboundMessage_ImportResponse;
|
|
642
634
|
/**
|
|
643
635
|
* The stylesheet's contents were loaded successfully.
|
|
644
636
|
*
|
|
@@ -648,31 +640,17 @@ class InboundMessage_ImportResponse_ImportSuccess extends protobuf_1.Message {
|
|
|
648
640
|
constructor(data) {
|
|
649
641
|
super();
|
|
650
642
|
/**
|
|
651
|
-
* The text of the stylesheet.
|
|
643
|
+
* The text of the stylesheet.
|
|
652
644
|
*
|
|
653
645
|
* @generated from field: string contents = 1;
|
|
654
646
|
*/
|
|
655
647
|
this.contents = "";
|
|
656
648
|
/**
|
|
657
|
-
* The syntax of `contents`.
|
|
649
|
+
* The syntax of `contents`.
|
|
658
650
|
*
|
|
659
651
|
* @generated from field: sass.embedded_protocol.Syntax syntax = 2;
|
|
660
652
|
*/
|
|
661
653
|
this.syntax = Syntax.SCSS;
|
|
662
|
-
/**
|
|
663
|
-
* An absolute, browser-accessible URL indicating the resolved location of
|
|
664
|
-
* the imported stylesheet. Optional.
|
|
665
|
-
*
|
|
666
|
-
* This should be a `file:` URL if one is available, but an `http:` URL is
|
|
667
|
-
* acceptable as well. If no URL is supplied, a `data:` URL is generated
|
|
668
|
-
* automatically from `contents`.
|
|
669
|
-
*
|
|
670
|
-
* If this is provided and is not an absolute URL (including scheme) the
|
|
671
|
-
* compiler must treat that as an error thrown by the importer.
|
|
672
|
-
*
|
|
673
|
-
* @generated from field: string source_map_url = 3;
|
|
674
|
-
*/
|
|
675
|
-
this.sourceMapUrl = "";
|
|
676
654
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
677
655
|
}
|
|
678
656
|
static fromBinary(bytes, options) {
|
|
@@ -688,14 +666,14 @@ class InboundMessage_ImportResponse_ImportSuccess extends protobuf_1.Message {
|
|
|
688
666
|
return protobuf_1.proto3.util.equals(InboundMessage_ImportResponse_ImportSuccess, a, b);
|
|
689
667
|
}
|
|
690
668
|
}
|
|
669
|
+
exports.InboundMessage_ImportResponse_ImportSuccess = InboundMessage_ImportResponse_ImportSuccess;
|
|
691
670
|
InboundMessage_ImportResponse_ImportSuccess.runtime = protobuf_1.proto3;
|
|
692
671
|
InboundMessage_ImportResponse_ImportSuccess.typeName = "sass.embedded_protocol.InboundMessage.ImportResponse.ImportSuccess";
|
|
693
672
|
InboundMessage_ImportResponse_ImportSuccess.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
694
673
|
{ no: 1, name: "contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
695
674
|
{ no: 2, name: "syntax", kind: "enum", T: protobuf_1.proto3.getEnumType(Syntax) },
|
|
696
|
-
{ no: 3, name: "source_map_url", kind: "scalar", T: 9 /* ScalarType.STRING
|
|
675
|
+
{ no: 3, name: "source_map_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
697
676
|
]);
|
|
698
|
-
exports.InboundMessage_ImportResponse_ImportSuccess = InboundMessage_ImportResponse_ImportSuccess;
|
|
699
677
|
/**
|
|
700
678
|
* A response indicating the result of redirecting a URL to the filesystem.
|
|
701
679
|
*
|
|
@@ -709,9 +687,9 @@ class InboundMessage_FileImportResponse extends protobuf_1.Message {
|
|
|
709
687
|
*/
|
|
710
688
|
this.id = 0;
|
|
711
689
|
/**
|
|
712
|
-
* The result of loading the URL.
|
|
690
|
+
* The result of loading the URL. An unset result indicates that the
|
|
713
691
|
* importer did not recognize the URL and other importers or load paths
|
|
714
|
-
* should be tried.
|
|
692
|
+
* should be tried. Optional.
|
|
715
693
|
*
|
|
716
694
|
* @generated from oneof sass.embedded_protocol.InboundMessage.FileImportResponse.result
|
|
717
695
|
*/
|
|
@@ -731,6 +709,7 @@ class InboundMessage_FileImportResponse extends protobuf_1.Message {
|
|
|
731
709
|
return protobuf_1.proto3.util.equals(InboundMessage_FileImportResponse, a, b);
|
|
732
710
|
}
|
|
733
711
|
}
|
|
712
|
+
exports.InboundMessage_FileImportResponse = InboundMessage_FileImportResponse;
|
|
734
713
|
InboundMessage_FileImportResponse.runtime = protobuf_1.proto3;
|
|
735
714
|
InboundMessage_FileImportResponse.typeName = "sass.embedded_protocol.InboundMessage.FileImportResponse";
|
|
736
715
|
InboundMessage_FileImportResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -738,7 +717,6 @@ InboundMessage_FileImportResponse.fields = protobuf_1.proto3.util.newFieldList((
|
|
|
738
717
|
{ no: 2, name: "file_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "result" },
|
|
739
718
|
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "result" },
|
|
740
719
|
]);
|
|
741
|
-
exports.InboundMessage_FileImportResponse = InboundMessage_FileImportResponse;
|
|
742
720
|
/**
|
|
743
721
|
* A response indicating the result of calling a custom Sass function defined
|
|
744
722
|
* in the host.
|
|
@@ -760,9 +738,9 @@ class InboundMessage_FunctionCallResponse extends protobuf_1.Message {
|
|
|
760
738
|
this.result = { case: undefined };
|
|
761
739
|
/**
|
|
762
740
|
* The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
|
|
763
|
-
* whose keywords were accessed. See `Value.ArgumentList` for details.
|
|
764
|
-
*
|
|
765
|
-
*
|
|
741
|
+
* whose keywords were accessed. See `Value.ArgumentList` for details. This
|
|
742
|
+
* may not include the special value `0` and it may not include multiple
|
|
743
|
+
* instances of the same ID.
|
|
766
744
|
*
|
|
767
745
|
* @generated from field: repeated uint32 accessed_argument_lists = 4;
|
|
768
746
|
*/
|
|
@@ -782,6 +760,7 @@ class InboundMessage_FunctionCallResponse extends protobuf_1.Message {
|
|
|
782
760
|
return protobuf_1.proto3.util.equals(InboundMessage_FunctionCallResponse, a, b);
|
|
783
761
|
}
|
|
784
762
|
}
|
|
763
|
+
exports.InboundMessage_FunctionCallResponse = InboundMessage_FunctionCallResponse;
|
|
785
764
|
InboundMessage_FunctionCallResponse.runtime = protobuf_1.proto3;
|
|
786
765
|
InboundMessage_FunctionCallResponse.typeName = "sass.embedded_protocol.InboundMessage.FunctionCallResponse";
|
|
787
766
|
InboundMessage_FunctionCallResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -790,7 +769,6 @@ InboundMessage_FunctionCallResponse.fields = protobuf_1.proto3.util.newFieldList
|
|
|
790
769
|
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "result" },
|
|
791
770
|
{ no: 4, name: "accessed_argument_lists", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
792
771
|
]);
|
|
793
|
-
exports.InboundMessage_FunctionCallResponse = InboundMessage_FunctionCallResponse;
|
|
794
772
|
/**
|
|
795
773
|
* The wrapper type for all messages sent from the compiler to the host. This
|
|
796
774
|
* provides a `oneof` that makes it possible to determine the type of each
|
|
@@ -822,6 +800,7 @@ class OutboundMessage extends protobuf_1.Message {
|
|
|
822
800
|
return protobuf_1.proto3.util.equals(OutboundMessage, a, b);
|
|
823
801
|
}
|
|
824
802
|
}
|
|
803
|
+
exports.OutboundMessage = OutboundMessage;
|
|
825
804
|
OutboundMessage.runtime = protobuf_1.proto3;
|
|
826
805
|
OutboundMessage.typeName = "sass.embedded_protocol.OutboundMessage";
|
|
827
806
|
OutboundMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -834,7 +813,6 @@ OutboundMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
834
813
|
{ no: 7, name: "function_call_request", kind: "message", T: OutboundMessage_FunctionCallRequest, oneof: "message" },
|
|
835
814
|
{ no: 8, name: "version_response", kind: "message", T: OutboundMessage_VersionResponse, oneof: "message" },
|
|
836
815
|
]);
|
|
837
|
-
exports.OutboundMessage = OutboundMessage;
|
|
838
816
|
/**
|
|
839
817
|
* A response that contains the version of the embedded compiler.
|
|
840
818
|
*
|
|
@@ -844,7 +822,7 @@ class OutboundMessage_VersionResponse extends protobuf_1.Message {
|
|
|
844
822
|
constructor(data) {
|
|
845
823
|
super();
|
|
846
824
|
/**
|
|
847
|
-
* This version request's id.
|
|
825
|
+
* This version request's id.
|
|
848
826
|
*
|
|
849
827
|
* @generated from field: uint32 id = 5;
|
|
850
828
|
*/
|
|
@@ -891,6 +869,7 @@ class OutboundMessage_VersionResponse extends protobuf_1.Message {
|
|
|
891
869
|
return protobuf_1.proto3.util.equals(OutboundMessage_VersionResponse, a, b);
|
|
892
870
|
}
|
|
893
871
|
}
|
|
872
|
+
exports.OutboundMessage_VersionResponse = OutboundMessage_VersionResponse;
|
|
894
873
|
OutboundMessage_VersionResponse.runtime = protobuf_1.proto3;
|
|
895
874
|
OutboundMessage_VersionResponse.typeName = "sass.embedded_protocol.OutboundMessage.VersionResponse";
|
|
896
875
|
OutboundMessage_VersionResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -900,7 +879,6 @@ OutboundMessage_VersionResponse.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
900
879
|
{ no: 3, name: "implementation_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
901
880
|
{ no: 4, name: "implementation_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
902
881
|
]);
|
|
903
|
-
exports.OutboundMessage_VersionResponse = OutboundMessage_VersionResponse;
|
|
904
882
|
/**
|
|
905
883
|
* A response that contains the result of a compilation.
|
|
906
884
|
*
|
|
@@ -909,18 +887,23 @@ exports.OutboundMessage_VersionResponse = OutboundMessage_VersionResponse;
|
|
|
909
887
|
class OutboundMessage_CompileResponse extends protobuf_1.Message {
|
|
910
888
|
constructor(data) {
|
|
911
889
|
super();
|
|
912
|
-
/**
|
|
913
|
-
* The compilation's request id. Mandatory.
|
|
914
|
-
*
|
|
915
|
-
* @generated from field: uint32 id = 1;
|
|
916
|
-
*/
|
|
917
|
-
this.id = 0;
|
|
918
890
|
/**
|
|
919
891
|
* The success or failure result of the compilation. Mandatory.
|
|
920
892
|
*
|
|
921
893
|
* @generated from oneof sass.embedded_protocol.OutboundMessage.CompileResponse.result
|
|
922
894
|
*/
|
|
923
895
|
this.result = { case: undefined };
|
|
896
|
+
/**
|
|
897
|
+
* The canonical URLs of all source files loaded during the compilation.
|
|
898
|
+
*
|
|
899
|
+
* The compiler must ensure that each canonical URL appears only once in
|
|
900
|
+
* this list. This must include the entrypoint file's URL if either
|
|
901
|
+
* `CompileRequest.input.path` or `CompileRequest.StringInput.url` was
|
|
902
|
+
* passed.
|
|
903
|
+
*
|
|
904
|
+
* @generated from field: repeated string loaded_urls = 4;
|
|
905
|
+
*/
|
|
906
|
+
this.loadedUrls = [];
|
|
924
907
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
925
908
|
}
|
|
926
909
|
static fromBinary(bytes, options) {
|
|
@@ -936,14 +919,14 @@ class OutboundMessage_CompileResponse extends protobuf_1.Message {
|
|
|
936
919
|
return protobuf_1.proto3.util.equals(OutboundMessage_CompileResponse, a, b);
|
|
937
920
|
}
|
|
938
921
|
}
|
|
922
|
+
exports.OutboundMessage_CompileResponse = OutboundMessage_CompileResponse;
|
|
939
923
|
OutboundMessage_CompileResponse.runtime = protobuf_1.proto3;
|
|
940
924
|
OutboundMessage_CompileResponse.typeName = "sass.embedded_protocol.OutboundMessage.CompileResponse";
|
|
941
925
|
OutboundMessage_CompileResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
942
|
-
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
943
926
|
{ no: 2, name: "success", kind: "message", T: OutboundMessage_CompileResponse_CompileSuccess, oneof: "result" },
|
|
944
927
|
{ no: 3, name: "failure", kind: "message", T: OutboundMessage_CompileResponse_CompileFailure, oneof: "result" },
|
|
928
|
+
{ no: 4, name: "loaded_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
945
929
|
]);
|
|
946
|
-
exports.OutboundMessage_CompileResponse = OutboundMessage_CompileResponse;
|
|
947
930
|
/**
|
|
948
931
|
* A message indicating that the Sass file was successfully compiled to CSS.
|
|
949
932
|
*
|
|
@@ -969,17 +952,6 @@ class OutboundMessage_CompileResponse_CompileSuccess extends protobuf_1.Message
|
|
|
969
952
|
* @generated from field: string source_map = 2;
|
|
970
953
|
*/
|
|
971
954
|
this.sourceMap = "";
|
|
972
|
-
/**
|
|
973
|
-
* The canonical URLs of all source files loaded during the compilation.
|
|
974
|
-
*
|
|
975
|
-
* The compiler must ensure that each canonical URL appears only once in
|
|
976
|
-
* this list. This must include the entrypoint file's URL if either
|
|
977
|
-
* `CompileRequest.input.path` or `CompileRequest.StringInput.url` was
|
|
978
|
-
* passed.
|
|
979
|
-
*
|
|
980
|
-
* @generated from field: repeated string loaded_urls = 3;
|
|
981
|
-
*/
|
|
982
|
-
this.loadedUrls = [];
|
|
983
955
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
984
956
|
}
|
|
985
957
|
static fromBinary(bytes, options) {
|
|
@@ -995,14 +967,13 @@ class OutboundMessage_CompileResponse_CompileSuccess extends protobuf_1.Message
|
|
|
995
967
|
return protobuf_1.proto3.util.equals(OutboundMessage_CompileResponse_CompileSuccess, a, b);
|
|
996
968
|
}
|
|
997
969
|
}
|
|
970
|
+
exports.OutboundMessage_CompileResponse_CompileSuccess = OutboundMessage_CompileResponse_CompileSuccess;
|
|
998
971
|
OutboundMessage_CompileResponse_CompileSuccess.runtime = protobuf_1.proto3;
|
|
999
972
|
OutboundMessage_CompileResponse_CompileSuccess.typeName = "sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess";
|
|
1000
973
|
OutboundMessage_CompileResponse_CompileSuccess.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1001
974
|
{ no: 1, name: "css", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1002
975
|
{ no: 2, name: "source_map", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1003
|
-
{ no: 3, name: "loaded_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1004
976
|
]);
|
|
1005
|
-
exports.OutboundMessage_CompileResponse_CompileSuccess = OutboundMessage_CompileResponse_CompileSuccess;
|
|
1006
977
|
/**
|
|
1007
978
|
* A message indicating that the Sass file could not be successfully
|
|
1008
979
|
* compiled to CSS.
|
|
@@ -1051,6 +1022,7 @@ class OutboundMessage_CompileResponse_CompileFailure extends protobuf_1.Message
|
|
|
1051
1022
|
return protobuf_1.proto3.util.equals(OutboundMessage_CompileResponse_CompileFailure, a, b);
|
|
1052
1023
|
}
|
|
1053
1024
|
}
|
|
1025
|
+
exports.OutboundMessage_CompileResponse_CompileFailure = OutboundMessage_CompileResponse_CompileFailure;
|
|
1054
1026
|
OutboundMessage_CompileResponse_CompileFailure.runtime = protobuf_1.proto3;
|
|
1055
1027
|
OutboundMessage_CompileResponse_CompileFailure.typeName = "sass.embedded_protocol.OutboundMessage.CompileResponse.CompileFailure";
|
|
1056
1028
|
OutboundMessage_CompileResponse_CompileFailure.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1059,7 +1031,6 @@ OutboundMessage_CompileResponse_CompileFailure.fields = protobuf_1.proto3.util.n
|
|
|
1059
1031
|
{ no: 3, name: "stack_trace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1060
1032
|
{ no: 4, name: "formatted", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1061
1033
|
]);
|
|
1062
|
-
exports.OutboundMessage_CompileResponse_CompileFailure = OutboundMessage_CompileResponse_CompileFailure;
|
|
1063
1034
|
/**
|
|
1064
1035
|
* An event indicating that a message should be displayed to the user.
|
|
1065
1036
|
*
|
|
@@ -1068,12 +1039,6 @@ exports.OutboundMessage_CompileResponse_CompileFailure = OutboundMessage_Compile
|
|
|
1068
1039
|
class OutboundMessage_LogEvent extends protobuf_1.Message {
|
|
1069
1040
|
constructor(data) {
|
|
1070
1041
|
super();
|
|
1071
|
-
/**
|
|
1072
|
-
* The request id for the compilation that triggered the message. Mandatory.
|
|
1073
|
-
*
|
|
1074
|
-
* @generated from field: uint32 compilation_id = 1;
|
|
1075
|
-
*/
|
|
1076
|
-
this.compilationId = 0;
|
|
1077
1042
|
/**
|
|
1078
1043
|
* @generated from field: sass.embedded_protocol.LogEventType type = 2;
|
|
1079
1044
|
*/
|
|
@@ -1117,17 +1082,16 @@ class OutboundMessage_LogEvent extends protobuf_1.Message {
|
|
|
1117
1082
|
return protobuf_1.proto3.util.equals(OutboundMessage_LogEvent, a, b);
|
|
1118
1083
|
}
|
|
1119
1084
|
}
|
|
1085
|
+
exports.OutboundMessage_LogEvent = OutboundMessage_LogEvent;
|
|
1120
1086
|
OutboundMessage_LogEvent.runtime = protobuf_1.proto3;
|
|
1121
1087
|
OutboundMessage_LogEvent.typeName = "sass.embedded_protocol.OutboundMessage.LogEvent";
|
|
1122
1088
|
OutboundMessage_LogEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1123
|
-
{ no: 1, name: "compilation_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1124
1089
|
{ no: 2, name: "type", kind: "enum", T: protobuf_1.proto3.getEnumType(LogEventType) },
|
|
1125
1090
|
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1126
|
-
{ no: 4, name: "span", kind: "message", T: SourceSpan },
|
|
1091
|
+
{ no: 4, name: "span", kind: "message", T: SourceSpan, opt: true },
|
|
1127
1092
|
{ no: 5, name: "stack_trace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1128
1093
|
{ no: 6, name: "formatted", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1129
1094
|
]);
|
|
1130
|
-
exports.OutboundMessage_LogEvent = OutboundMessage_LogEvent;
|
|
1131
1095
|
/**
|
|
1132
1096
|
* A request for a custom importer to convert an imported URL to its canonical
|
|
1133
1097
|
* format.
|
|
@@ -1194,16 +1158,10 @@ class OutboundMessage_CanonicalizeRequest extends protobuf_1.Message {
|
|
|
1194
1158
|
* @generated from field: uint32 id = 1;
|
|
1195
1159
|
*/
|
|
1196
1160
|
this.id = 0;
|
|
1197
|
-
/**
|
|
1198
|
-
* The request id for the compilation that triggered the message. Mandatory.
|
|
1199
|
-
*
|
|
1200
|
-
* @generated from field: uint32 compilation_id = 2;
|
|
1201
|
-
*/
|
|
1202
|
-
this.compilationId = 0;
|
|
1203
1161
|
/**
|
|
1204
1162
|
* The unique ID of the importer being invoked. This must match an importer
|
|
1205
1163
|
* ID passed to this compilation in `CompileRequest.importers` or
|
|
1206
|
-
* `CompileRequest.input.string.importer`.
|
|
1164
|
+
* `CompileRequest.input.string.importer`.
|
|
1207
1165
|
*
|
|
1208
1166
|
* @generated from field: uint32 importer_id = 3;
|
|
1209
1167
|
*/
|
|
@@ -1250,16 +1208,15 @@ class OutboundMessage_CanonicalizeRequest extends protobuf_1.Message {
|
|
|
1250
1208
|
return protobuf_1.proto3.util.equals(OutboundMessage_CanonicalizeRequest, a, b);
|
|
1251
1209
|
}
|
|
1252
1210
|
}
|
|
1211
|
+
exports.OutboundMessage_CanonicalizeRequest = OutboundMessage_CanonicalizeRequest;
|
|
1253
1212
|
OutboundMessage_CanonicalizeRequest.runtime = protobuf_1.proto3;
|
|
1254
1213
|
OutboundMessage_CanonicalizeRequest.typeName = "sass.embedded_protocol.OutboundMessage.CanonicalizeRequest";
|
|
1255
1214
|
OutboundMessage_CanonicalizeRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1256
1215
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1257
|
-
{ no: 2, name: "compilation_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1258
1216
|
{ no: 3, name: "importer_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1259
1217
|
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1260
1218
|
{ no: 5, name: "from_import", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1261
1219
|
]);
|
|
1262
|
-
exports.OutboundMessage_CanonicalizeRequest = OutboundMessage_CanonicalizeRequest;
|
|
1263
1220
|
/**
|
|
1264
1221
|
* A request for a custom importer to load the contents of a stylesheet.
|
|
1265
1222
|
*
|
|
@@ -1272,17 +1229,10 @@ class OutboundMessage_ImportRequest extends protobuf_1.Message {
|
|
|
1272
1229
|
* @generated from field: uint32 id = 1;
|
|
1273
1230
|
*/
|
|
1274
1231
|
this.id = 0;
|
|
1275
|
-
/**
|
|
1276
|
-
* The request id for the compilation that triggered the message. Mandatory.
|
|
1277
|
-
*
|
|
1278
|
-
* @generated from field: uint32 compilation_id = 2;
|
|
1279
|
-
*/
|
|
1280
|
-
this.compilationId = 0;
|
|
1281
1232
|
/**
|
|
1282
1233
|
* The unique ID of the importer being invoked. This must match an
|
|
1283
1234
|
* `Importer.importer_id` passed to this compilation in
|
|
1284
1235
|
* `CompileRequest.importers` or `CompileRequest.input.string.importer`.
|
|
1285
|
-
* Mandatory.
|
|
1286
1236
|
*
|
|
1287
1237
|
* @generated from field: uint32 importer_id = 3;
|
|
1288
1238
|
*/
|
|
@@ -1309,15 +1259,14 @@ class OutboundMessage_ImportRequest extends protobuf_1.Message {
|
|
|
1309
1259
|
return protobuf_1.proto3.util.equals(OutboundMessage_ImportRequest, a, b);
|
|
1310
1260
|
}
|
|
1311
1261
|
}
|
|
1262
|
+
exports.OutboundMessage_ImportRequest = OutboundMessage_ImportRequest;
|
|
1312
1263
|
OutboundMessage_ImportRequest.runtime = protobuf_1.proto3;
|
|
1313
1264
|
OutboundMessage_ImportRequest.typeName = "sass.embedded_protocol.OutboundMessage.ImportRequest";
|
|
1314
1265
|
OutboundMessage_ImportRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1315
1266
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1316
|
-
{ no: 2, name: "compilation_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1317
1267
|
{ no: 3, name: "importer_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1318
1268
|
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1319
1269
|
]);
|
|
1320
|
-
exports.OutboundMessage_ImportRequest = OutboundMessage_ImportRequest;
|
|
1321
1270
|
/**
|
|
1322
1271
|
* A request for a custom filesystem importer to load the contents of a
|
|
1323
1272
|
* stylesheet.
|
|
@@ -1372,17 +1321,10 @@ class OutboundMessage_FileImportRequest extends protobuf_1.Message {
|
|
|
1372
1321
|
* @generated from field: uint32 id = 1;
|
|
1373
1322
|
*/
|
|
1374
1323
|
this.id = 0;
|
|
1375
|
-
/**
|
|
1376
|
-
* The request id for the compilation that triggered the message. Mandatory.
|
|
1377
|
-
*
|
|
1378
|
-
* @generated from field: uint32 compilation_id = 2;
|
|
1379
|
-
*/
|
|
1380
|
-
this.compilationId = 0;
|
|
1381
1324
|
/**
|
|
1382
1325
|
* The unique ID of the importer being invoked. This must match an
|
|
1383
1326
|
* `Importer.file_importer_id` passed to this compilation in
|
|
1384
1327
|
* `CompileRequest.importers` or `CompileRequest.input.string.importer`.
|
|
1385
|
-
* Mandatory.
|
|
1386
1328
|
*
|
|
1387
1329
|
* @generated from field: uint32 importer_id = 3;
|
|
1388
1330
|
*/
|
|
@@ -1421,16 +1363,15 @@ class OutboundMessage_FileImportRequest extends protobuf_1.Message {
|
|
|
1421
1363
|
return protobuf_1.proto3.util.equals(OutboundMessage_FileImportRequest, a, b);
|
|
1422
1364
|
}
|
|
1423
1365
|
}
|
|
1366
|
+
exports.OutboundMessage_FileImportRequest = OutboundMessage_FileImportRequest;
|
|
1424
1367
|
OutboundMessage_FileImportRequest.runtime = protobuf_1.proto3;
|
|
1425
1368
|
OutboundMessage_FileImportRequest.typeName = "sass.embedded_protocol.OutboundMessage.FileImportRequest";
|
|
1426
1369
|
OutboundMessage_FileImportRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1427
1370
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1428
|
-
{ no: 2, name: "compilation_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1429
1371
|
{ no: 3, name: "importer_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1430
1372
|
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1431
1373
|
{ no: 5, name: "from_import", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1432
1374
|
]);
|
|
1433
|
-
exports.OutboundMessage_FileImportRequest = OutboundMessage_FileImportRequest;
|
|
1434
1375
|
/**
|
|
1435
1376
|
* A request to invoke a custom Sass function and return its result.
|
|
1436
1377
|
*
|
|
@@ -1443,12 +1384,6 @@ class OutboundMessage_FunctionCallRequest extends protobuf_1.Message {
|
|
|
1443
1384
|
* @generated from field: uint32 id = 1;
|
|
1444
1385
|
*/
|
|
1445
1386
|
this.id = 0;
|
|
1446
|
-
/**
|
|
1447
|
-
* The request id for the compilation that triggered the message. Mandatory.
|
|
1448
|
-
*
|
|
1449
|
-
* @generated from field: uint32 compilation_id = 2;
|
|
1450
|
-
*/
|
|
1451
|
-
this.compilationId = 0;
|
|
1452
1387
|
/**
|
|
1453
1388
|
* An identifier that indicates which function to invoke. Mandatory.
|
|
1454
1389
|
*
|
|
@@ -1457,7 +1392,7 @@ class OutboundMessage_FunctionCallRequest extends protobuf_1.Message {
|
|
|
1457
1392
|
this.identifier = { case: undefined };
|
|
1458
1393
|
/**
|
|
1459
1394
|
* The arguments passed to the function, in the order they appear in the
|
|
1460
|
-
* function signature passed to `CompileRequest.global_functions`.
|
|
1395
|
+
* function signature passed to `CompileRequest.global_functions`.
|
|
1461
1396
|
*
|
|
1462
1397
|
* The compiler must ensure that a valid number of arguments are passed for
|
|
1463
1398
|
* the given signature, that default argument values are instantiated
|
|
@@ -1482,16 +1417,15 @@ class OutboundMessage_FunctionCallRequest extends protobuf_1.Message {
|
|
|
1482
1417
|
return protobuf_1.proto3.util.equals(OutboundMessage_FunctionCallRequest, a, b);
|
|
1483
1418
|
}
|
|
1484
1419
|
}
|
|
1420
|
+
exports.OutboundMessage_FunctionCallRequest = OutboundMessage_FunctionCallRequest;
|
|
1485
1421
|
OutboundMessage_FunctionCallRequest.runtime = protobuf_1.proto3;
|
|
1486
1422
|
OutboundMessage_FunctionCallRequest.typeName = "sass.embedded_protocol.OutboundMessage.FunctionCallRequest";
|
|
1487
1423
|
OutboundMessage_FunctionCallRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1488
1424
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1489
|
-
{ no: 2, name: "compilation_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1490
1425
|
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identifier" },
|
|
1491
1426
|
{ no: 4, name: "function_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "identifier" },
|
|
1492
1427
|
{ no: 5, name: "arguments", kind: "message", T: Value, repeated: true },
|
|
1493
1428
|
]);
|
|
1494
|
-
exports.OutboundMessage_FunctionCallRequest = OutboundMessage_FunctionCallRequest;
|
|
1495
1429
|
/**
|
|
1496
1430
|
* An error reported when an endpoint violates the embedded Sass protocol.
|
|
1497
1431
|
*
|
|
@@ -1533,6 +1467,7 @@ class ProtocolError extends protobuf_1.Message {
|
|
|
1533
1467
|
return protobuf_1.proto3.util.equals(ProtocolError, a, b);
|
|
1534
1468
|
}
|
|
1535
1469
|
}
|
|
1470
|
+
exports.ProtocolError = ProtocolError;
|
|
1536
1471
|
ProtocolError.runtime = protobuf_1.proto3;
|
|
1537
1472
|
ProtocolError.typeName = "sass.embedded_protocol.ProtocolError";
|
|
1538
1473
|
ProtocolError.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1540,7 +1475,6 @@ ProtocolError.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1540
1475
|
{ no: 2, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1541
1476
|
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1542
1477
|
]);
|
|
1543
|
-
exports.ProtocolError = ProtocolError;
|
|
1544
1478
|
/**
|
|
1545
1479
|
* A chunk of a source file.
|
|
1546
1480
|
*
|
|
@@ -1593,16 +1527,16 @@ class SourceSpan extends protobuf_1.Message {
|
|
|
1593
1527
|
return protobuf_1.proto3.util.equals(SourceSpan, a, b);
|
|
1594
1528
|
}
|
|
1595
1529
|
}
|
|
1530
|
+
exports.SourceSpan = SourceSpan;
|
|
1596
1531
|
SourceSpan.runtime = protobuf_1.proto3;
|
|
1597
1532
|
SourceSpan.typeName = "sass.embedded_protocol.SourceSpan";
|
|
1598
1533
|
SourceSpan.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1599
1534
|
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1600
1535
|
{ no: 2, name: "start", kind: "message", T: SourceSpan_SourceLocation },
|
|
1601
|
-
{ no: 3, name: "end", kind: "message", T: SourceSpan_SourceLocation },
|
|
1536
|
+
{ no: 3, name: "end", kind: "message", T: SourceSpan_SourceLocation, opt: true },
|
|
1602
1537
|
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1603
1538
|
{ no: 5, name: "context", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1604
1539
|
]);
|
|
1605
|
-
exports.SourceSpan = SourceSpan;
|
|
1606
1540
|
/**
|
|
1607
1541
|
* A single point in a source file.
|
|
1608
1542
|
*
|
|
@@ -1612,20 +1546,19 @@ class SourceSpan_SourceLocation extends protobuf_1.Message {
|
|
|
1612
1546
|
constructor(data) {
|
|
1613
1547
|
super();
|
|
1614
1548
|
/**
|
|
1615
|
-
* The 0-based offset of this location within the source file.
|
|
1549
|
+
* The 0-based offset of this location within the source file.
|
|
1616
1550
|
*
|
|
1617
1551
|
* @generated from field: uint32 offset = 1;
|
|
1618
1552
|
*/
|
|
1619
1553
|
this.offset = 0;
|
|
1620
1554
|
/**
|
|
1621
1555
|
* The 0-based line number of this location within the source file.
|
|
1622
|
-
* Mandatory.
|
|
1623
1556
|
*
|
|
1624
1557
|
* @generated from field: uint32 line = 2;
|
|
1625
1558
|
*/
|
|
1626
1559
|
this.line = 0;
|
|
1627
1560
|
/**
|
|
1628
|
-
* The 0-based column number of this location within its line.
|
|
1561
|
+
* The 0-based column number of this location within its line.
|
|
1629
1562
|
*
|
|
1630
1563
|
* @generated from field: uint32 column = 3;
|
|
1631
1564
|
*/
|
|
@@ -1645,6 +1578,7 @@ class SourceSpan_SourceLocation extends protobuf_1.Message {
|
|
|
1645
1578
|
return protobuf_1.proto3.util.equals(SourceSpan_SourceLocation, a, b);
|
|
1646
1579
|
}
|
|
1647
1580
|
}
|
|
1581
|
+
exports.SourceSpan_SourceLocation = SourceSpan_SourceLocation;
|
|
1648
1582
|
SourceSpan_SourceLocation.runtime = protobuf_1.proto3;
|
|
1649
1583
|
SourceSpan_SourceLocation.typeName = "sass.embedded_protocol.SourceSpan.SourceLocation";
|
|
1650
1584
|
SourceSpan_SourceLocation.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1652,7 +1586,6 @@ SourceSpan_SourceLocation.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1652
1586
|
{ no: 2, name: "line", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1653
1587
|
{ no: 3, name: "column", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1654
1588
|
]);
|
|
1655
|
-
exports.SourceSpan_SourceLocation = SourceSpan_SourceLocation;
|
|
1656
1589
|
/**
|
|
1657
1590
|
* A SassScript value, passed to and returned by functions.
|
|
1658
1591
|
*
|
|
@@ -1685,6 +1618,7 @@ class Value extends protobuf_1.Message {
|
|
|
1685
1618
|
return protobuf_1.proto3.util.equals(Value, a, b);
|
|
1686
1619
|
}
|
|
1687
1620
|
}
|
|
1621
|
+
exports.Value = Value;
|
|
1688
1622
|
Value.runtime = protobuf_1.proto3;
|
|
1689
1623
|
Value.typeName = "sass.embedded_protocol.Value";
|
|
1690
1624
|
Value.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1701,7 +1635,6 @@ Value.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1701
1635
|
{ no: 11, name: "hwb_color", kind: "message", T: Value_HwbColor, oneof: "value" },
|
|
1702
1636
|
{ no: 12, name: "calculation", kind: "message", T: Value_Calculation, oneof: "value" },
|
|
1703
1637
|
]);
|
|
1704
|
-
exports.Value = Value;
|
|
1705
1638
|
/**
|
|
1706
1639
|
* A SassScript string value.
|
|
1707
1640
|
*
|
|
@@ -1711,13 +1644,13 @@ class Value_String extends protobuf_1.Message {
|
|
|
1711
1644
|
constructor(data) {
|
|
1712
1645
|
super();
|
|
1713
1646
|
/**
|
|
1714
|
-
* The contents of the string.
|
|
1647
|
+
* The contents of the string.
|
|
1715
1648
|
*
|
|
1716
1649
|
* @generated from field: string text = 1;
|
|
1717
1650
|
*/
|
|
1718
1651
|
this.text = "";
|
|
1719
1652
|
/**
|
|
1720
|
-
* Whether the string is quoted or unquoted.
|
|
1653
|
+
* Whether the string is quoted or unquoted.
|
|
1721
1654
|
*
|
|
1722
1655
|
* @generated from field: bool quoted = 2;
|
|
1723
1656
|
*/
|
|
@@ -1737,13 +1670,13 @@ class Value_String extends protobuf_1.Message {
|
|
|
1737
1670
|
return protobuf_1.proto3.util.equals(Value_String, a, b);
|
|
1738
1671
|
}
|
|
1739
1672
|
}
|
|
1673
|
+
exports.Value_String = Value_String;
|
|
1740
1674
|
Value_String.runtime = protobuf_1.proto3;
|
|
1741
1675
|
Value_String.typeName = "sass.embedded_protocol.Value.String";
|
|
1742
1676
|
Value_String.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1743
1677
|
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1744
1678
|
{ no: 2, name: "quoted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1745
1679
|
]);
|
|
1746
|
-
exports.Value_String = Value_String;
|
|
1747
1680
|
/**
|
|
1748
1681
|
* A SassScript number value.
|
|
1749
1682
|
*
|
|
@@ -1753,7 +1686,7 @@ class Value_Number extends protobuf_1.Message {
|
|
|
1753
1686
|
constructor(data) {
|
|
1754
1687
|
super();
|
|
1755
1688
|
/**
|
|
1756
|
-
* The number's numeric value.
|
|
1689
|
+
* The number's numeric value.
|
|
1757
1690
|
*
|
|
1758
1691
|
* @generated from field: double value = 1;
|
|
1759
1692
|
*/
|
|
@@ -1792,6 +1725,7 @@ class Value_Number extends protobuf_1.Message {
|
|
|
1792
1725
|
return protobuf_1.proto3.util.equals(Value_Number, a, b);
|
|
1793
1726
|
}
|
|
1794
1727
|
}
|
|
1728
|
+
exports.Value_Number = Value_Number;
|
|
1795
1729
|
Value_Number.runtime = protobuf_1.proto3;
|
|
1796
1730
|
Value_Number.typeName = "sass.embedded_protocol.Value.Number";
|
|
1797
1731
|
Value_Number.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1799,7 +1733,6 @@ Value_Number.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1799
1733
|
{ no: 2, name: "numerators", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1800
1734
|
{ no: 3, name: "denominators", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1801
1735
|
]);
|
|
1802
|
-
exports.Value_Number = Value_Number;
|
|
1803
1736
|
/**
|
|
1804
1737
|
* A SassScript color value, represented as red, green, and blue channels.
|
|
1805
1738
|
*
|
|
@@ -1814,25 +1747,25 @@ class Value_RgbColor extends protobuf_1.Message {
|
|
|
1814
1747
|
constructor(data) {
|
|
1815
1748
|
super();
|
|
1816
1749
|
/**
|
|
1817
|
-
* The color's red channel.
|
|
1750
|
+
* The color's red channel. May not be above 255.
|
|
1818
1751
|
*
|
|
1819
1752
|
* @generated from field: uint32 red = 1;
|
|
1820
1753
|
*/
|
|
1821
1754
|
this.red = 0;
|
|
1822
1755
|
/**
|
|
1823
|
-
* The color's green channel.
|
|
1756
|
+
* The color's green channel. May not be above 255.
|
|
1824
1757
|
*
|
|
1825
1758
|
* @generated from field: uint32 green = 2;
|
|
1826
1759
|
*/
|
|
1827
1760
|
this.green = 0;
|
|
1828
1761
|
/**
|
|
1829
|
-
* The color's blue channel.
|
|
1762
|
+
* The color's blue channel. May not be above 255.
|
|
1830
1763
|
*
|
|
1831
1764
|
* @generated from field: uint32 blue = 3;
|
|
1832
1765
|
*/
|
|
1833
1766
|
this.blue = 0;
|
|
1834
1767
|
/**
|
|
1835
|
-
* The color's alpha channel.
|
|
1768
|
+
* The color's alpha channel. Must be between 0 and 1,
|
|
1836
1769
|
* inclusive.
|
|
1837
1770
|
*
|
|
1838
1771
|
* @generated from field: double alpha = 4;
|
|
@@ -1853,6 +1786,7 @@ class Value_RgbColor extends protobuf_1.Message {
|
|
|
1853
1786
|
return protobuf_1.proto3.util.equals(Value_RgbColor, a, b);
|
|
1854
1787
|
}
|
|
1855
1788
|
}
|
|
1789
|
+
exports.Value_RgbColor = Value_RgbColor;
|
|
1856
1790
|
Value_RgbColor.runtime = protobuf_1.proto3;
|
|
1857
1791
|
Value_RgbColor.typeName = "sass.embedded_protocol.Value.RgbColor";
|
|
1858
1792
|
Value_RgbColor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1861,7 +1795,6 @@ Value_RgbColor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1861
1795
|
{ no: 3, name: "blue", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1862
1796
|
{ no: 4, name: "alpha", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1863
1797
|
]);
|
|
1864
|
-
exports.Value_RgbColor = Value_RgbColor;
|
|
1865
1798
|
/**
|
|
1866
1799
|
* A SassScript color value, represented as hue, saturation, and lightness channels.
|
|
1867
1800
|
*
|
|
@@ -1871,27 +1804,27 @@ class Value_HslColor extends protobuf_1.Message {
|
|
|
1871
1804
|
constructor(data) {
|
|
1872
1805
|
super();
|
|
1873
1806
|
/**
|
|
1874
|
-
* The color's hue.
|
|
1807
|
+
* The color's hue.
|
|
1875
1808
|
*
|
|
1876
1809
|
* @generated from field: double hue = 1;
|
|
1877
1810
|
*/
|
|
1878
1811
|
this.hue = 0;
|
|
1879
1812
|
/**
|
|
1880
|
-
* The color's percent saturation.
|
|
1813
|
+
* The color's percent saturation. Must be between 0 and 100,
|
|
1881
1814
|
* inclusive.
|
|
1882
1815
|
*
|
|
1883
1816
|
* @generated from field: double saturation = 2;
|
|
1884
1817
|
*/
|
|
1885
1818
|
this.saturation = 0;
|
|
1886
1819
|
/**
|
|
1887
|
-
* The color's percent lightness.
|
|
1820
|
+
* The color's percent lightness. Must be between 0 and 100,
|
|
1888
1821
|
* inclusive.
|
|
1889
1822
|
*
|
|
1890
1823
|
* @generated from field: double lightness = 3;
|
|
1891
1824
|
*/
|
|
1892
1825
|
this.lightness = 0;
|
|
1893
1826
|
/**
|
|
1894
|
-
* The color's alpha channel.
|
|
1827
|
+
* The color's alpha channel. Must be between 0 and 1,
|
|
1895
1828
|
* inclusive.
|
|
1896
1829
|
*
|
|
1897
1830
|
* @generated from field: double alpha = 4;
|
|
@@ -1912,6 +1845,7 @@ class Value_HslColor extends protobuf_1.Message {
|
|
|
1912
1845
|
return protobuf_1.proto3.util.equals(Value_HslColor, a, b);
|
|
1913
1846
|
}
|
|
1914
1847
|
}
|
|
1848
|
+
exports.Value_HslColor = Value_HslColor;
|
|
1915
1849
|
Value_HslColor.runtime = protobuf_1.proto3;
|
|
1916
1850
|
Value_HslColor.typeName = "sass.embedded_protocol.Value.HslColor";
|
|
1917
1851
|
Value_HslColor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1920,7 +1854,6 @@ Value_HslColor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1920
1854
|
{ no: 3, name: "lightness", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1921
1855
|
{ no: 4, name: "alpha", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1922
1856
|
]);
|
|
1923
|
-
exports.Value_HslColor = Value_HslColor;
|
|
1924
1857
|
/**
|
|
1925
1858
|
* A SassScript color value, represented as hue, whiteness, and blackness
|
|
1926
1859
|
* channels.
|
|
@@ -1931,20 +1864,20 @@ class Value_HwbColor extends protobuf_1.Message {
|
|
|
1931
1864
|
constructor(data) {
|
|
1932
1865
|
super();
|
|
1933
1866
|
/**
|
|
1934
|
-
* The color's hue.
|
|
1867
|
+
* The color's hue.
|
|
1935
1868
|
*
|
|
1936
1869
|
* @generated from field: double hue = 1;
|
|
1937
1870
|
*/
|
|
1938
1871
|
this.hue = 0;
|
|
1939
1872
|
/**
|
|
1940
|
-
* The color's percent whiteness.
|
|
1873
|
+
* The color's percent whiteness. Must be between 0 and 100,
|
|
1941
1874
|
* inclusive. The sum of `whiteness` and `blackness` must not exceed 100.
|
|
1942
1875
|
*
|
|
1943
1876
|
* @generated from field: double whiteness = 2;
|
|
1944
1877
|
*/
|
|
1945
1878
|
this.whiteness = 0;
|
|
1946
1879
|
/**
|
|
1947
|
-
* The color's percent blackness.
|
|
1880
|
+
* The color's percent blackness. Must be between 0 and 100,
|
|
1948
1881
|
* inclusive. The sum of `whiteness` and `blackness` must not exceed 100.
|
|
1949
1882
|
*
|
|
1950
1883
|
* @generated from field: double blackness = 3;
|
|
@@ -1972,6 +1905,7 @@ class Value_HwbColor extends protobuf_1.Message {
|
|
|
1972
1905
|
return protobuf_1.proto3.util.equals(Value_HwbColor, a, b);
|
|
1973
1906
|
}
|
|
1974
1907
|
}
|
|
1908
|
+
exports.Value_HwbColor = Value_HwbColor;
|
|
1975
1909
|
Value_HwbColor.runtime = protobuf_1.proto3;
|
|
1976
1910
|
Value_HwbColor.typeName = "sass.embedded_protocol.Value.HwbColor";
|
|
1977
1911
|
Value_HwbColor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -1980,7 +1914,6 @@ Value_HwbColor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1980
1914
|
{ no: 3, name: "blackness", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1981
1915
|
{ no: 4, name: "alpha", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1982
1916
|
]);
|
|
1983
|
-
exports.Value_HwbColor = Value_HwbColor;
|
|
1984
1917
|
/**
|
|
1985
1918
|
* A SassScript list value.
|
|
1986
1919
|
*
|
|
@@ -2022,6 +1955,7 @@ class Value_List extends protobuf_1.Message {
|
|
|
2022
1955
|
return protobuf_1.proto3.util.equals(Value_List, a, b);
|
|
2023
1956
|
}
|
|
2024
1957
|
}
|
|
1958
|
+
exports.Value_List = Value_List;
|
|
2025
1959
|
Value_List.runtime = protobuf_1.proto3;
|
|
2026
1960
|
Value_List.typeName = "sass.embedded_protocol.Value.List";
|
|
2027
1961
|
Value_List.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -2029,7 +1963,6 @@ Value_List.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
2029
1963
|
{ no: 2, name: "has_brackets", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2030
1964
|
{ no: 3, name: "contents", kind: "message", T: Value, repeated: true },
|
|
2031
1965
|
]);
|
|
2032
|
-
exports.Value_List = Value_List;
|
|
2033
1966
|
/**
|
|
2034
1967
|
* A SassScript map value.
|
|
2035
1968
|
*
|
|
@@ -2060,12 +1993,12 @@ class Value_Map extends protobuf_1.Message {
|
|
|
2060
1993
|
return protobuf_1.proto3.util.equals(Value_Map, a, b);
|
|
2061
1994
|
}
|
|
2062
1995
|
}
|
|
1996
|
+
exports.Value_Map = Value_Map;
|
|
2063
1997
|
Value_Map.runtime = protobuf_1.proto3;
|
|
2064
1998
|
Value_Map.typeName = "sass.embedded_protocol.Value.Map";
|
|
2065
1999
|
Value_Map.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2066
2000
|
{ no: 1, name: "entries", kind: "message", T: Value_Map_Entry, repeated: true },
|
|
2067
2001
|
]);
|
|
2068
|
-
exports.Value_Map = Value_Map;
|
|
2069
2002
|
/**
|
|
2070
2003
|
* A single key/value pair in the map.
|
|
2071
2004
|
*
|
|
@@ -2089,13 +2022,13 @@ class Value_Map_Entry extends protobuf_1.Message {
|
|
|
2089
2022
|
return protobuf_1.proto3.util.equals(Value_Map_Entry, a, b);
|
|
2090
2023
|
}
|
|
2091
2024
|
}
|
|
2025
|
+
exports.Value_Map_Entry = Value_Map_Entry;
|
|
2092
2026
|
Value_Map_Entry.runtime = protobuf_1.proto3;
|
|
2093
2027
|
Value_Map_Entry.typeName = "sass.embedded_protocol.Value.Map.Entry";
|
|
2094
2028
|
Value_Map_Entry.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2095
2029
|
{ no: 1, name: "key", kind: "message", T: Value },
|
|
2096
2030
|
{ no: 2, name: "value", kind: "message", T: Value },
|
|
2097
2031
|
]);
|
|
2098
|
-
exports.Value_Map_Entry = Value_Map_Entry;
|
|
2099
2032
|
/**
|
|
2100
2033
|
* A first-class function defined in the compiler. New `CompilerFunction`s may
|
|
2101
2034
|
* only be created by the compiler, but the host may pass `CompilerFunction`s
|
|
@@ -2130,12 +2063,12 @@ class Value_CompilerFunction extends protobuf_1.Message {
|
|
|
2130
2063
|
return protobuf_1.proto3.util.equals(Value_CompilerFunction, a, b);
|
|
2131
2064
|
}
|
|
2132
2065
|
}
|
|
2066
|
+
exports.Value_CompilerFunction = Value_CompilerFunction;
|
|
2133
2067
|
Value_CompilerFunction.runtime = protobuf_1.proto3;
|
|
2134
2068
|
Value_CompilerFunction.typeName = "sass.embedded_protocol.Value.CompilerFunction";
|
|
2135
2069
|
Value_CompilerFunction.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2136
2070
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2137
2071
|
]);
|
|
2138
|
-
exports.Value_CompilerFunction = Value_CompilerFunction;
|
|
2139
2072
|
/**
|
|
2140
2073
|
* An anonymous custom function defined in the host. New `HostFunction`s may
|
|
2141
2074
|
* only be created by the host, and `HostFunction`s may *never* be passed from
|
|
@@ -2189,13 +2122,13 @@ class Value_HostFunction extends protobuf_1.Message {
|
|
|
2189
2122
|
return protobuf_1.proto3.util.equals(Value_HostFunction, a, b);
|
|
2190
2123
|
}
|
|
2191
2124
|
}
|
|
2125
|
+
exports.Value_HostFunction = Value_HostFunction;
|
|
2192
2126
|
Value_HostFunction.runtime = protobuf_1.proto3;
|
|
2193
2127
|
Value_HostFunction.typeName = "sass.embedded_protocol.Value.HostFunction";
|
|
2194
2128
|
Value_HostFunction.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2195
2129
|
{ no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2196
2130
|
{ no: 2, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2197
2131
|
]);
|
|
2198
|
-
exports.Value_HostFunction = Value_HostFunction;
|
|
2199
2132
|
/**
|
|
2200
2133
|
* A SassScript argument list value. This represents rest arguments passed to
|
|
2201
2134
|
* a function's `$arg...` parameter. Unlike a normal `List`, an argument list
|
|
@@ -2268,6 +2201,7 @@ class Value_ArgumentList extends protobuf_1.Message {
|
|
|
2268
2201
|
return protobuf_1.proto3.util.equals(Value_ArgumentList, a, b);
|
|
2269
2202
|
}
|
|
2270
2203
|
}
|
|
2204
|
+
exports.Value_ArgumentList = Value_ArgumentList;
|
|
2271
2205
|
Value_ArgumentList.runtime = protobuf_1.proto3;
|
|
2272
2206
|
Value_ArgumentList.typeName = "sass.embedded_protocol.Value.ArgumentList";
|
|
2273
2207
|
Value_ArgumentList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -2276,7 +2210,6 @@ Value_ArgumentList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
2276
2210
|
{ no: 3, name: "contents", kind: "message", T: Value, repeated: true },
|
|
2277
2211
|
{ no: 4, name: "keywords", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: Value } },
|
|
2278
2212
|
]);
|
|
2279
|
-
exports.Value_ArgumentList = Value_ArgumentList;
|
|
2280
2213
|
/**
|
|
2281
2214
|
* A SassScript calculation value. The compiler must send fully [simplified]
|
|
2282
2215
|
* calculations, meaning that simplifying it again will produce the same
|
|
@@ -2324,13 +2257,13 @@ class Value_Calculation extends protobuf_1.Message {
|
|
|
2324
2257
|
return protobuf_1.proto3.util.equals(Value_Calculation, a, b);
|
|
2325
2258
|
}
|
|
2326
2259
|
}
|
|
2260
|
+
exports.Value_Calculation = Value_Calculation;
|
|
2327
2261
|
Value_Calculation.runtime = protobuf_1.proto3;
|
|
2328
2262
|
Value_Calculation.typeName = "sass.embedded_protocol.Value.Calculation";
|
|
2329
2263
|
Value_Calculation.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2330
2264
|
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2331
2265
|
{ no: 2, name: "arguments", kind: "message", T: Value_Calculation_CalculationValue, repeated: true },
|
|
2332
2266
|
]);
|
|
2333
|
-
exports.Value_Calculation = Value_Calculation;
|
|
2334
2267
|
/**
|
|
2335
2268
|
* A single component of a calculation expression.
|
|
2336
2269
|
*
|
|
@@ -2360,6 +2293,7 @@ class Value_Calculation_CalculationValue extends protobuf_1.Message {
|
|
|
2360
2293
|
return protobuf_1.proto3.util.equals(Value_Calculation_CalculationValue, a, b);
|
|
2361
2294
|
}
|
|
2362
2295
|
}
|
|
2296
|
+
exports.Value_Calculation_CalculationValue = Value_Calculation_CalculationValue;
|
|
2363
2297
|
Value_Calculation_CalculationValue.runtime = protobuf_1.proto3;
|
|
2364
2298
|
Value_Calculation_CalculationValue.typeName = "sass.embedded_protocol.Value.Calculation.CalculationValue";
|
|
2365
2299
|
Value_Calculation_CalculationValue.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -2369,7 +2303,6 @@ Value_Calculation_CalculationValue.fields = protobuf_1.proto3.util.newFieldList(
|
|
|
2369
2303
|
{ no: 4, name: "operation", kind: "message", T: Value_Calculation_CalculationOperation, oneof: "value" },
|
|
2370
2304
|
{ no: 5, name: "calculation", kind: "message", T: Value_Calculation, oneof: "value" },
|
|
2371
2305
|
]);
|
|
2372
|
-
exports.Value_Calculation_CalculationValue = Value_Calculation_CalculationValue;
|
|
2373
2306
|
/**
|
|
2374
2307
|
* A binary operation that appears in a calculation.
|
|
2375
2308
|
*
|
|
@@ -2399,6 +2332,7 @@ class Value_Calculation_CalculationOperation extends protobuf_1.Message {
|
|
|
2399
2332
|
return protobuf_1.proto3.util.equals(Value_Calculation_CalculationOperation, a, b);
|
|
2400
2333
|
}
|
|
2401
2334
|
}
|
|
2335
|
+
exports.Value_Calculation_CalculationOperation = Value_Calculation_CalculationOperation;
|
|
2402
2336
|
Value_Calculation_CalculationOperation.runtime = protobuf_1.proto3;
|
|
2403
2337
|
Value_Calculation_CalculationOperation.typeName = "sass.embedded_protocol.Value.Calculation.CalculationOperation";
|
|
2404
2338
|
Value_Calculation_CalculationOperation.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
@@ -2406,5 +2340,4 @@ Value_Calculation_CalculationOperation.fields = protobuf_1.proto3.util.newFieldL
|
|
|
2406
2340
|
{ no: 2, name: "left", kind: "message", T: Value_Calculation_CalculationValue },
|
|
2407
2341
|
{ no: 3, name: "right", kind: "message", T: Value_Calculation_CalculationValue },
|
|
2408
2342
|
]);
|
|
2409
|
-
exports.Value_Calculation_CalculationOperation = Value_Calculation_CalculationOperation;
|
|
2410
2343
|
//# sourceMappingURL=embedded_sass_pb.js.map
|