aswi2020vldc-gitlab/templetes/node_modules/snapdragon/lib/position.js @ 5fded919
1 |
'use strict'; |
---|---|
2 |
|
3 |
var define = require('define-property'); |
4 |
|
5 |
/**
|
6 |
* Store position for a node
|
7 |
*/
|
8 |
|
9 |
module.exports = function Position(start, parser) { |
10 |
this.start = start; |
11 |
this.end = { line: parser.line, column: parser.column }; |
12 |
define(this, 'content', parser.orig); |
13 |
define(this, 'source', parser.options.source); |
14 |
};
|