generate method

dynamic generate([
  1. dynamic builder,
  2. dynamic output
])
override

Implementation

generate([builder, output]) {
  var convertTo = this.convertTo;

  var convertToSnippet = builder.getType(convertTo);
  var nodeSnippet = this.node.build(builder, convertTo);

  return "${convertToSnippet}( ${nodeSnippet} )";
}