.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / snapdragon / lib / position.js
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 };