source: trip-planner-front/node_modules/snapdragon/lib/position.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 320 bytes
Line 
1'use strict';
2
3var define = require('define-property');
4
5/**
6 * Store position for a node
7 */
8
9module.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};
Note: See TracBrowser for help on using the repository browser.