php-parser
Version:
Parse PHP code from JS and returns its AST
21 lines (18 loc) • 492 B
JavaScript
/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
;
const Node = require("./node");
const KIND = "nullkeyword";
/**
* Represents the null keyword
* @constructor NullKeyword
* @memberOf module:php-parser
* @extends {Node}
*/
module.exports = Node.extends(KIND, function NullKeyword(raw, docs, location) {
Node.apply(this, [KIND, docs, location]);
this.raw = raw;
});