23 lines
330 B
JavaScript
23 lines
330 B
JavaScript
class NodeFunction {
|
|
|
|
constructor( type, inputs, name = '', presicion = '' ) {
|
|
|
|
this.type = type;
|
|
this.inputs = inputs;
|
|
this.name = name;
|
|
this.presicion = presicion;
|
|
|
|
}
|
|
|
|
getCode( /*name = this.name*/ ) {
|
|
|
|
console.warn( 'Abstract function.' );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
NodeFunction.isNodeFunction = true;
|
|
|
|
export default NodeFunction;
|