Files
Epicnabbo-Catalogus-Updated…/Optimized Atomcms daily updated/node_modules/php-parser/src/ast/location.js
T
2025-11-25 22:42:56 +01:00

23 lines
542 B
JavaScript

/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
"use strict";
/**
* Defines the location of the node (with it's source contents as string)
* @constructor Location
* @memberOf module:php-parser
* @property {string|null} source
* @property {Position} start
* @property {Position} end
*/
const Location = function (source, start, end) {
this.source = source;
this.start = start;
this.end = end;
};
module.exports = Location;