aboutsummaryrefslogtreecommitdiff
path: root/antlr-3.4/runtime/JavaScript/tests/functional/t051treeRewriteASTnWalker.g
blob: e171829319796524d7baabe46cef2a76238309fe (plain)
1
2
3
4
5
6
7
8
9
10
11
// @@ANTLR Tool Options@@: -trace
tree grammar t051treeRewriteASTnWalker;
options {
    language=JavaScript;
    output=AST;
    ASTLabelType=CommonTree;
    tokenVocab=t051treeRewriteASTn;
}
a : ^(x+=b y+=c) ;
b : ID ;
c : INT ;