UNPKG

php-parser

Version:

Parse PHP code from JS and returns its AST

23 lines (20 loc) 528 B
/** * Copyright (C) 2018 Glayzzle (BSD3 License) * @authors https://github.com/glayzzle/php-parser/graphs/contributors * @url http://glayzzle.com */ "use strict"; const Lookup = require("./lookup"); const KIND = "propertylookup"; /** * Lookup to an object property * @memberOf module:php-parser * @constructor PropertyLookup * @extends {Lookup} */ module.exports = Lookup.extends( KIND, function PropertyLookup(what, offset, docs, location) { Lookup.apply(this, [KIND, what, offset, docs, location]); }, );