Class TreeRuleReturnScope


  • public class TreeRuleReturnScope
    extends RuleReturnScope
    This is identical to the ParserRuleReturnScope except that the start property is a tree nodes not Token object when you are parsing trees. To be generic the tree node types have to be Object.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object start
      First node or root node of tree matched for this rule.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getStart()
      Return the start token or tree
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • start

        public java.lang.Object start
        First node or root node of tree matched for this rule.
    • Constructor Detail

      • TreeRuleReturnScope

        public TreeRuleReturnScope()