Class TreeRule

    • Method Detail

      • getRules

        public java.util.List<Rule> getRules()
        Gets the rules contained within this tree.
        Returns:
        the rules within this tree.
      • accept

        public <T> T accept​(RuleValueVisitor<T> visitor)
        Description copied from class: Rule
        Invoke the RuleValueVisitor functions for this Rule.
        Specified by:
        accept in class Rule
        Type Parameters:
        T - the visitor return type.
        Parameters:
        visitor - the visitor to be invoked.
        Returns:
        the return value of the visitor.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Rule