Files
2025-11-25 22:42:56 +01:00

23 lines
625 B
JavaScript

/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
"use strict";
const Statement = require("./statement");
const KIND = "halt";
/**
* Halts the compiler execution
* @constructor Halt
* @memberOf module:php-parser
* @extends {Statement}
* @property {String} after - String after the halt statement
* @see http://php.net/manual/en/function.halt-compiler.php
*/
module.exports = Statement.extends(KIND, function Halt(after, docs, location) {
Statement.apply(this, [KIND, docs, location]);
this.after = after;
});