Home | History | Annotate | Download | only in tree
      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  */
      6 org.antlr.runtime.tree.TreeRuleReturnScope = function(){};
      7 
      8 org.antlr.lang.extend(org.antlr.runtime.tree.TreeRuleReturnScope,
      9                       org.antlr.runtime.RuleReturnScope,
     10 {
     11     getStart: function() { return this.start; }
     12 });
     13