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

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

initial commit

  • Property mode set to 100644
File size: 320 bytes
RevLine 
[6a3a178]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.