2019-04-10 21:26:59 -07:00
|
|
|
// @ts-check
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
2021-11-23 04:40:05 +00:00
|
|
|
let codeBlockAndSpanRanges = null;
|
|
|
|
|
module.exports.codeBlockAndSpanRanges = (value) => {
|
2019-04-10 21:26:59 -07:00
|
|
|
if (value) {
|
2021-11-23 04:40:05 +00:00
|
|
|
codeBlockAndSpanRanges = value;
|
2019-04-10 21:26:59 -07:00
|
|
|
}
|
2021-11-23 04:40:05 +00:00
|
|
|
return codeBlockAndSpanRanges;
|
2019-04-10 21:26:59 -07:00
|
|
|
};
|
|
|
|
|
|
2021-11-23 04:40:05 +00:00
|
|
|
let flattenedLists = null;
|
|
|
|
|
module.exports.flattenedLists = (value) => {
|
2021-06-17 22:01:27 -07:00
|
|
|
if (value) {
|
2021-11-23 04:40:05 +00:00
|
|
|
flattenedLists = value;
|
2021-06-17 22:01:27 -07:00
|
|
|
}
|
2021-11-23 04:40:05 +00:00
|
|
|
return flattenedLists;
|
2021-06-17 22:01:27 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
let lineMetadata = null;
|
|
|
|
|
module.exports.lineMetadata = (value) => {
|
|
|
|
|
if (value) {
|
|
|
|
|
lineMetadata = value;
|
|
|
|
|
}
|
|
|
|
|
return lineMetadata;
|
|
|
|
|
};
|
|
|
|
|
|
2019-04-10 21:26:59 -07:00
|
|
|
module.exports.clear = () => {
|
2021-11-23 04:40:05 +00:00
|
|
|
codeBlockAndSpanRanges = null;
|
2019-04-10 21:26:59 -07:00
|
|
|
flattenedLists = null;
|
2021-06-17 22:01:27 -07:00
|
|
|
lineMetadata = null;
|
2019-04-10 21:26:59 -07:00
|
|
|
};
|