You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
393 B
20 lines
393 B
4 months ago
|
grammar t053heteroTP;
|
||
|
options {
|
||
|
language=JavaScript;
|
||
|
output=AST;
|
||
|
tokenVocab=t053heteroT;
|
||
|
}
|
||
|
tokens { ROOT; }
|
||
|
@header {
|
||
|
function VX(ttype, tree) {
|
||
|
VX.superclass.constructor.apply(this, arguments);
|
||
|
};
|
||
|
org.antlr.lang.extend(VX, org.antlr.runtime.tree.CommonTree, {
|
||
|
toString: function() {
|
||
|
return VX.superclass.toString.call(this) + "<V>";
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
a : ID<V> ';'<V>;
|
||
|
|