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.
22 lines
330 B
22 lines
330 B
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;
|
|
|