forked from public/fvtt-cthulhu-eternal
Initial import with skill sheet working
This commit is contained in:
13
node_modules/comment-parser/es6/parser/spec-parser.js
generated
vendored
Normal file
13
node_modules/comment-parser/es6/parser/spec-parser.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { seedSpec } from '../util.js';
|
||||
export default function getParser({ tokenizers }) {
|
||||
return function parseSpec(source) {
|
||||
var _a;
|
||||
let spec = seedSpec({ source });
|
||||
for (const tokenize of tokenizers) {
|
||||
spec = tokenize(spec);
|
||||
if ((_a = spec.problems[spec.problems.length - 1]) === null || _a === void 0 ? void 0 : _a.critical)
|
||||
break;
|
||||
}
|
||||
return spec;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user