You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314
  1. 'use strict';
  2. var define = require('define-property');
  3. /**
  4. * Store position for a node
  5. */
  6. module.exports = function Position(start, parser) {
  7. this.start = start;
  8. this.end = { line: parser.line, column: parser.column };
  9. define(this, 'content', parser.orig);
  10. define(this, 'source', parser.options.source);
  11. };