SimpleValidator

Runs a validator on all nodes of a certain type, and adds a problem for all nodes that pass a condition.

Constructors

Link copied to clipboard
constructor(type: Class<N>, condition: Predicate<N>, problemSupplier: BiConsumer<N, ProblemReporter>)

Functions

Link copied to clipboard
open fun accept(node: Node, problemReporter: ProblemReporter)
abstract fun accept(node: N, problemReporter: ProblemReporter)
abstract fun accept(p: T, p1: U)
Link copied to clipboard
open fun andThen(after: BiConsumer<in T, in U>): BiConsumer<T, U>
Link copied to clipboard
open fun processor(): Processor