0
1
Fork 0
hedera-web-mindshore/js/vn/spec.js

46 lines
598 B
JavaScript

var VnObject = require ('./object');
var Type = require ('./type');
/**
* Paramter specification.
*/
module.exports = new Class
({
Extends: VnObject
,Tag: 'vn-spec'
,Properties:
{
/**
* The parameter name.
*/
name:
{
type: String
,set: function (x)
{
this._name = x;
}
,get: function ()
{
return this._name;
}
},
/**
* The parameter type.
*/
type:
{
type: Type
,set: function (x)
{
this._type = x;
}
,get: function ()
{
return this._type;
}
}
}
});