WIP - add extractor, generate snippet_data

This commit is contained in:
Stefan Fejes
2019-08-20 15:52:05 +02:00
parent 88084d3d30
commit cc8f1d8a7a
37396 changed files with 4588842 additions and 133 deletions

22
node_modules/unist-util-position/index.js generated vendored Normal file
View File

@ -0,0 +1,22 @@
'use strict'
var position = exports
position.start = factory('start')
position.end = factory('end')
function factory(type) {
point.displayName = type
return point
function point(node) {
var point = (node && node.position && node.position[type]) || {}
return {
line: point.line || null,
column: point.column || null,
offset: isNaN(point.offset) ? null : point.offset
}
}
}