addDirective method

  1. @preferInline
void addDirective(
  1. void listener(
    1. Directive node
    )
)

Implementation

@preferInline
void addDirective(void Function(Directive node) listener) {
  nodeLintRegistry.addDirective(name, listener);
}