Class TreeVisitorValidator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(Node node, ProblemReporter reporter)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiConsumer

        andThen
    • Constructor Detail

      • TreeVisitorValidator

        public TreeVisitorValidator​(Validator validator)
    • Method Detail

      • accept

        public final void accept​(Node node,
                                 ProblemReporter reporter)
        Specified by:
        accept in interface java.util.function.BiConsumer<Node,​ProblemReporter>
        Specified by:
        accept in interface TypedValidator<Node>
        Specified by:
        accept in interface Validator
        Parameters:
        node - the node that wants to be validated
        reporter - when found, validation errors can be reported here