generate method

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

Implementation

generate([builder, output]) {
  var type = this.getNodeType(builder);
  var snipped = this.snipped;

  if (type == 'void') {
    builder.addFlowCode(snipped);
  } else {
    return "( ${snipped} )";
  }
}