addLibraryDirective method

void addLibraryDirective(
  1. Rule rule
)

Register a rule for visitLibraryDirective method.

Implementation

void addLibraryDirective(Rule rule) {
  _forLibraryDirective.add(VisitorSubscription(rule, _getTimer(rule)));
}