matchDirectives static method

int matchDirectives(
  1. String text,
  2. int offset,
  3. int length
)

Return the token that matches the directive name found.

Implementation

static int matchDirectives(String text, int offset, int length) {
  return matchList(_DIRECTIVES, 'type', text, offset, length);
}