Projekt

Obecné

Profil

Stáhnout (320 Bajtů) Statistiky
| Větev: | Revize:
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
};
(3-3/5)