Rendering a property with textGen

Is it possible to render a string property with nested textGen renderers?

text gen component for concept OutcomeNode { 
 (node)->void { 
   append {new Result(} ; 
   append $list{node.outcomes with ,} ; 
   append {)} ; 
 } 
}

text gen component for concept OutcomeReference { 
 (node)->void { 
   append {"} ; 
   append ${node.target.product} ; 
   append {"} ; 
 } 
}

Yields "new Result("","","")" when the “” should enclose the value or product, however target is null? Perhaps the rendering order is somehow wrong or dislocated?

0

Please sign in to leave a comment.