UNPKG

php-parser

Version:

Parse PHP code from JS and returns its AST

24 lines (21 loc) 556 B
/** * Copyright (C) 2018 Glayzzle (BSD3 License) * @authors https://github.com/glayzzle/php-parser/graphs/contributors * @url http://glayzzle.com */ "use strict"; const Literal = require("./literal"); const KIND = "inline"; /** * Defines inline html output (treated as echo output) * @constructor Inline * @memberOf module:php-parser * @extends {Literal} * @property {string} value */ module.exports = Literal.extends( KIND, function Inline(value, raw, docs, location) { Literal.apply(this, [KIND, value, raw, docs, location]); }, );