Good afternoon. Let us in the effort.
The closest antlr the hard work behind the concept is new to junginde looked improbable.
1. After you create the file, the following syntax to create an input string.
function aaa () {
var a = 10.0, b = 4.0;
var c = 10, d = 4;
var e = a * b;
var a = 5 + (4 * 6) && (5 + 3);
}
2. and has generated Lexer and Parser file tree shown below have been obtained.
miplatformRule_return oRtnParser = oMpScriptParser.miplatformRule ();
oMpScriptAST = (CommonTree) oRtnParser.getTree ();
3. bbbb aaa function names to AST in the output because after changing a single line appears below the results obtained uncomfortable.
function bbbb () {var a = 10.0, b = 4.0; var c = 10, d = 4; var e = a * b; var a = 5 + (4 * 6) && (5 + 3);}
Good afternoon. Let us in the effort.
The closest antlr the hard work behind the concept is new to junginde looked improbable.