generate method
dynamic
generate([
- dynamic builder,
- dynamic output
override
Implementation
generate([builder, output]) {
var type = this.getNodeType(builder);
var nodes = this.nodes;
var snippetValues = [];
for (var i = 0; i < nodes.length; i++) {
var input = nodes[i];
var inputSnippet = input.build(builder, 'float');
snippetValues.add(inputSnippet);
}
return "${builder.getType(type)}( ${snippetValues.join(', ')} )";
}