public interface NodeValidatorPlugin
Modifier and Type | Method and Description |
---|---|
void |
apply(Shape shape,
Node value,
Model model,
java.util.function.BiConsumer<FromSourceLocation,java.lang.String> emitter)
Applies the plugin to the given shape, node value, and model.
|
static java.util.List<NodeValidatorPlugin> |
getBuiltins() |
void apply(Shape shape, Node value, Model model, java.util.function.BiConsumer<FromSourceLocation,java.lang.String> emitter)
shape
- Shape being checked.value
- Value being evaluated.model
- Model to traverse.emitter
- Consumer to notify of validation event locations and messages.static java.util.List<NodeValidatorPlugin> getBuiltins()