matchMarginDirectives static method

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

Return the token that matches the margin directive name found.

Implementation

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