generate method

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

Implementation

generate([builder, output]) {
  var nodeVary = builder.getVarFromNode(this, this.getNodeType(builder));
  var name = this.name;

  if (name != null) {
    nodeVary.name = name;
  }

  return builder.getPropertyName(nodeVary);
}