lib/node/function.js
var util = require('util');
var MixedNode = require('./mixed');
/**
* @constructor
* @augments {MixedNode}
* @param {string} key
* @param {MixedNode} parent
*/
function FunctionNode(key, parent) {
FunctionNode.super_.apply(this, [key, parent, {}]);
this.type = 'function';
this.allowed = ['function'];
}
util.inherits(FunctionNode, MixedNode);
module.exports = FunctionNode;