Added extra_info as resolve-call site addendum
This commit is contained in:
@@ -20,6 +20,11 @@ export function string_has_contents(str) {
|
||||
return /\S/.test(str);
|
||||
}
|
||||
|
||||
export function parse_csv(str) {
|
||||
// NOTE: This is for simple comma separated values, a future RFC-4180 compatible version would have to be in a different module in this library (or be a third party thing)
|
||||
return str.split(',').map(element => element.trim());
|
||||
}
|
||||
|
||||
|
||||
export function *indented_line_iterator(settings, text) {
|
||||
let line_no = settings.first_line;
|
||||
|
||||
Reference in New Issue
Block a user