How do I propagate/copy a type tree to multiple declarators of a variable declaration?

Terence Parr

The Java grammar does this. For example, you want to propogate the INT tree node down to the rule that matches declarators like a and b in the following:

int a,b;
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact