You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
330 B
23 lines
330 B
2 years ago
|
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;
|