matchMediaOperator static method

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

Return the token that matches the media operator found.

Implementation

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