xref: /aosp_15_r20/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/TreeRuleReturnScope.js (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1/** This is identical to the ParserRuleReturnScope except that
2 *  the start property is a tree nodes not Token object
3 *  when you are parsing trees.  To be generic the tree node types
4 *  have to be Object.
5 */
6org.antlr.runtime.tree.TreeRuleReturnScope = function(){};
7
8org.antlr.lang.extend(org.antlr.runtime.tree.TreeRuleReturnScope,
9                      org.antlr.runtime.RuleReturnScope,
10{
11    getStart: function() { return this.start; }
12});
13