UNPKG

snapdragon

Version:

Easy-to-use plugin system for creating powerful, fast and versatile parsers and compilers, with built-in source-map support.

11 lines (8 loc) 193 B
'use strict'; /** * Store the position for a node */ module.exports = function Position(start, parser) { this.start = start; this.end = { line: parser.line, column: parser.column }; };