1grammar t053heteroTP; 2options { 3 language=JavaScript; 4 output=AST; 5 tokenVocab=t053heteroT; 6} 7tokens { ROOT; } 8@header { 9function VX(ttype, tree) { 10 VX.superclass.constructor.apply(this, arguments); 11}; 12org.antlr.lang.extend(VX, org.antlr.runtime.tree.CommonTree, { 13 toString: function() { 14 return VX.superclass.toString.call(this) + "<V>"; 15 } 16}); 17} 18a : ID<V> ';'<V>; 19 20